[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: It's quite a large patch... :) I now own a new laptop that had Windows 7 preinstalled, so I'll try to get set up VC++ Express, and then test the patch. Still I'm nosying Martin as well. For the future, it's much easier to just attach both files

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith, jaraco ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___

[issue6715] xz compressor support

2011-05-16 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: maybe it'd be better to add support for libarchive That wouldn't be better. We want the C dependency as small and low-level as possible, so that the dependency is small and the functionality flexible to implement stuff in Python on top of

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-16 Thread dario frascatani
dario frascatani dgfrascat...@gmail.com added the comment: I have some problem to compile python source code to my server, I can't install make. My problem is only when import the smtplib. -- ___ Python tracker rep...@bugs.python.org

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Radomir Dopieralski
New submission from Radomir Dopieralski python-b...@sheep.art.pl: In the tutorial, at http://docs.python.org/tutorial/classes.html#private-variables you can read: 9.6. Private Variables “Private” instance variables that cannot be accessed except from inside an object don’t exist in

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: docs@python - lukasz.langa nosy: +lukasz.langa stage: - needs patch versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12086

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No warnings, please. See http://docs.python.org/documenting/style.html#affirmative-tone and related sections. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: But at the least, the start of the para might be slightly reworded to something like: If you specifically need to avoid name clashes with subclasses, there is limited support... which avoids the phrase Since there is a valid use-case for

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Radomir Dopieralski
Radomir Dopieralski python-b...@sheep.art.pl added the comment: In the unlikely case that you specifically need to avoid name clashes with subclasses, there is limited support... ;) -- ___ Python tracker rep...@bugs.python.org

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think the main problem here is that they are called private and people coming from other languages assume that the double underscore is the Python way to mark variables as private, whereas the appearance of being private is just a side

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: I'd like to see that section gone altogether. The tutorial is designed to be the first point of contact with the language. In that context name mangling is an obscure detail with an unlikely use case. If anything, the tutorial should simply

[issue6715] xz compressor support

2011-05-16 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Also, if I'm reading the documentation correctly, there isn't any support for incremental in-memory coding, so it wouldn't be possible to implement classes analogous to BZ2Compressor/BZ2Decompressor. -- assignee: - nadeem.vawda

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12077 ___

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748064 ___ ___

[issue12038] assertEqual doesn't display newline differences quite well

2011-05-16 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Yep, ensuring the truncated repr includes at least the *first* difference sounds like the right approach. -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: If PEP 362 is implemented it would either fix or obsolete this issue: http://www.python.org/dev/peps/pep-0362/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748064

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Sorry, *could* fix / obsolete this issue. i.e. builtin functions / methods could support pep 362 - the reference implementation is in pure python and doesn't work for C functions. -- ___

[issue9938] Documentation for argparse interactive use

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: FWIW unittest had a similar issue and it's been solved adding an 'exit' argument to unittest.main() [0]. I think using an attribute here might be fine. The patch contains some trailing whitespace that should be removed, also it might be

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The challenge with C functions is that this becomes *additional* metadata that somehow needs to be provided to the method and function creation process. None of our APIs are set up to accept that information (and obviously no code is set up

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Hagen Fürstenau
New submission from Hagen Fürstenau ha...@zhuliguan.net: With issue 10419 fixed, I've run into the next distutils unicode bug: The command install_egg_info doesn't specify an encoding when opening the .egg-info file for writing. Depending on the locale, this may result in something like the

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: install_egg_info.run() uses f = open(target, 'w') to create the .egg-info file and so the file uses the locale encoding. I don't know which module/program reads the file, so I don't know if the locale encoding is a good choice.

[issue12075] python3.2 memory leak when setting integer key in dictionary

2011-05-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12075 ___ ___ Python-bugs-list mailing list

[issue12081] Remove distributed copy of libffi

2011-05-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12081 ___ ___ Python-bugs-list mailing list

[issue12028] threading._get_ident(): remove it in the doc and make it public

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @pitrou: What do you think Antoine? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12028 ___

[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())

2011-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Just a detail, but with the last version, select is retried with the full timeout (note that the signal you're the most likely to receive is SIGCHLD and since it's ignored by default it won't cause EINTR, so this shouldn't happen too often).

[issue12028] threading._get_ident(): remove it in the doc and make it public

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The threading API changed in Python 3 with the PEP 3108, especially and issue #2875. Extract of the PEP: thread [done] * People should use 'threading' instead. * Rename 'thread' to _thread. * Deprecate dummy_thread and

[issue12028] threading._get_ident(): remove it in the doc and make it public

2011-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think that threading._get_ident() is more reliable than threading.current_thread().ident because Thread.ident can be None in some cases. In which case can it be None? -- ___ Python tracker

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thus, Connection.recv_bytes() will be called: def _recv_bytes(self, maxsize=None): buf = self._recv(4) size, = struct.unpack(=i, buf.getvalue()) if maxsize is not None and size maxsize: return None

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Scott Leerssen
New submission from Scott Leerssen sleers...@gmail.com: I'm opening this as a continuation of issue10761 since it was closed as fixed, and there's a bit more work to do there. The fix for issue10761 was incomplete. It did not handle the case where the symlink being overwritten did not

[issue12028] threading._get_ident(): remove it in the doc and make it public

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: In which case can it be None? Oh, I misunderstood threading.py. current_thread().ident cannot be None. During the bootstrap of a thread, Thread._ident is None, but current_thread().ident is not None because current_thread()

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I looked at your message and the patch, seems okay for the case of testing if the symlink is broken and performing the next steps. I shall commit it soon. -- assignee: - orsenthil nosy: +orsenthil

[issue1615158] POSIX capabilities support

2011-05-16 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Another possibility is to make it a private module _posixcapabilities, which would be used in os module: try: from _posixcapabilities import * except ImportError: pass --

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 44fd95cead7b by Victor Stinner in branch '3.1': Issue #11614: import __hello__ prints Hello World!. Patch written by Andreas http://hg.python.org/cpython/rev/44fd95cead7b New changeset 2c5736e8a221 by Victor Stinner in branch '3.2':

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Thanks Andreas for your fix! Python 3 is now better than Python 2: it prints Hello World! instead of Hello World -- resolution: - fixed status: open - closed ___ Python tracker

[issue1615158] POSIX capabilities support

2011-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: posixcap sounds ok to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1615158 ___ ___

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-16 Thread Alex Lai
Alex Lai alex_...@scotiacapital.com added the comment: I install the Python package compiled by sunfreeware. Alex Lai Senior System Support Specialist TAG-IPM Application Support, Scotia Capital, 720 King St. West, 6th Floor, Toronto, Ontario M5V 2T3 Tel: (416) 607-4789 -Original

[issue12057] HZ codec has no test

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 16503022c4b8 by Victor Stinner in branch '3.1': Issue #12057: Convert CJK encoding testcase BLOB into multiple text files http://hg.python.org/cpython/rev/16503022c4b8 New changeset 370db8da308f by Victor Stinner in branch '3.2':

[issue6727] ImportError when package is symlinked on Windows

2011-05-16 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I've made some progress on this issue. Thanks to Waldemar's findings, I'm able to selectively reproduce the issue by installing/uninstalling the Visual C++ redistributable that includes KB2467174 on a Windows 7 RTM installation. So I added

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 9e1d7cd15d2e by Victor Stinner in branch '3.1': Issue #11614: Fix importlib tests for the new __hello__ module http://hg.python.org/cpython/rev/9e1d7cd15d2e New changeset 6119f6cc9b2d by Victor Stinner in branch '3.2': (Merge 3.1)

[issue4966] Improving Lib Doc Sequence Types Section

2011-05-16 Thread Ana Sofia Paixão
Ana Sofia Paixão anasofiapai...@gmail.com added the comment: I was taking a look into the possibility of splitting this page into several pages, and wondered: could the contents of the Comparisons and the Boolean operations sections just be merged into Python Reference / Expressions, and then

[issue12089] regrtest.py doesn't check for unexpected output anymore?

2011-05-16 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: In Python 3.1, a test fails if it writes to stdout/stderr. It is no more the case in Python 3.2 and 3.3. Why? If we decided to not check for unexpected output in Python 3.2+, the following code should be removed: if verbose:

[issue12057] HZ codec has no test

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 1bd697cdd210 by Victor Stinner in branch '2.7': Issue #12057: Convert CJK encoding testcase BLOB into multiple text files http://hg.python.org/cpython/rev/1bd697cdd210 -- ___ Python

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 9a4d4506680a by Victor Stinner in branch '3.1': Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore http://hg.python.org/cpython/rev/9a4d4506680a New changeset 43cbfacae463 by Victor Stinner in branch '3.2':

[issue12057] HZ codec has no test

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oh, I specified the wrong issue number of my last 3 commits: test_linecache failure is related to this issue. New changeset 9a4d4506680a by Victor Stinner in branch '3.1': Issue #11614: Fix test_linecache, cjkencodings_test.py

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New changeset 9a4d4506680a by Victor Stinner in branch '3.1': Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore Oh, these commits are related to #12057, not this one. --

[issue4966] Improving Lib Doc Sequence Types Section

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think it should be OK. The stdtypes page could then mention type-specific behavior in the types' sections (e.g. , =, =, for sets) and link to the language reference for the general behavior. --

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12087 ___

[issue12089] regrtest.py doesn't check for unexpected output anymore?

2011-05-16 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12089 ___

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Hirokazu contacted me directly with these patches a few days ago but I haven't been able to email him because his host's DNS is apparently down. The tests in this patch do not end up testing anything, so we'll need to start with a proper test.

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The pkg_resources module in setuptools or distribute reads those files. In 3.3, packaging.database reads them too (it’s an implementation of PEP 376 with b/w compat with egg-info). It may work just fine in 3.x (it uses text I/O), but when we

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748064 ___ ___ Python-bugs-list

[issue11949] Make float('nan') unorderable

2011-05-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Sat, May 14, 2011 at 2:50 PM, Mark Dickinson rep...@bugs.python.org wrote: .. On the issue itself, I'm -1 on making comparisons with float('nan') raise: I don't see that there's a real problem here that needs solving.

[issue6727] ImportError when package is symlinked on Windows

2011-05-16 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I decided to investigate further. I created another script to test the call to _wstat to try to recreate the -1 return code, but I was unable to do so. I'm attaching the script, which creates the same 'sample' package, but instead of

[issue12089] regrtest.py doesn't check for unexpected output anymore?

2011-05-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Antoine removed that check as part of the -j support, if I recall correctly. The check for unexpected output was part of the support for the transition between the old pre-unittest test suite and the unittest based test suite, and does

[issue12090] 3.2: build --without-threads fails

2011-05-16 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: The new Fedora buildbot (--without-threads) fails to compile: http://www.python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%203.2/builds/1 I didn't check the release branch yet. -- components: Build

[issue11949] Make float('nan') unorderable

2011-05-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Sat, May 14, 2011 at 3:08 PM, Raymond Hettinger rep...@bugs.python.org wrote: .. Note that the current behaviour does *not* violate IEEE 754, ... I agree with Mark. Do we really need a popular vote to determine what

[issue12090] 3.2: build --without-threads fails

2011-05-16 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: A backport of 79fcd71d0356 fixes the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12090 ___

[issue11949] Make float('nan') unorderable

2011-05-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: A tracker bug has mangled the following paragraph following the IEEE 754 standard quote in my previous post: Table 5.2 referenced above lists 10 operations, four of which (, , =, and =) are given spellings that are

[issue11990] redirected output - stdout writes newline as \n in windows

2011-05-16 Thread James Hutchison
James Hutchison jamesghutchi...@gmail.com added the comment: I would like to add in windows, input now adds a \r at the end which wasn't in 3.1. It doesn't do it in idle. This is using just the regular console window that opens up when you double click. I'm guessing this is related to the

[issue11990] redirected output - stdout writes newline as \n in windows

2011-05-16 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: That's already fixed, it'll be in 3.2.1 -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11990 ___

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-16 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: Steffen, can you explain in layman's terms? On Sun, May 15, 2011 at 8:03 PM, Steffen Daode Nurpmeso rep...@bugs.python.org wrote: @ Charles-François Natali wrote (2011-05-15 01:14+0200): So if we really wanted to be safe, the only solution would

[issue11986] Min/max not symmetric in presence of NaN

2011-05-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: rhettinger Your other tracker item correctly focused on the behavior of rhettinger float('NaN') itself, You closed issue11949 as well, so it won't help. I disagree that this issue would be resolved by resolving

[issue12018] No tests for ntpath.samefile, ntpath.sameopenfile

2011-05-16 Thread Sijin Joseph
Changes by Sijin Joseph sijinjos...@gmail.com: -- nosy: -sijinjoseph ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12018 ___ ___ Python-bugs-list

[issue12045] external shell command executed twice in ctypes.util._get_soname

2011-05-16 Thread Sijin Joseph
Changes by Sijin Joseph sijinjos...@gmail.com: -- nosy: -sijinjoseph ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12045 ___ ___ Python-bugs-list

[issue11882] test_imaplib failed on x86 ubuntu

2011-05-16 Thread Sijin Joseph
Changes by Sijin Joseph sijinjos...@gmail.com: -- nosy: -sijinjoseph ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11882 ___ ___ Python-bugs-list

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2011-05-16 Thread Charles-François Natali
New submission from Charles-François Natali neolo...@free.fr: Multiprocessing's MapResult and ApplyResult use a notification mechanism to signal callers when the underlying value is available. Instead of re-inventing the wheel, we could use threading.Event instead: this leads to cleaner and

[issue12034] check_GetFinalPathNameByHandle() suboptimal

2011-05-16 Thread Sijin Joseph
Sijin Joseph sijinjos...@gmail.com added the comment: Is this related to some other issue? The fix seems trivial, however I am curious as to how you stumbled upon this? Is there more to this issue than just performance? -- ___ Python tracker

[issue12034] check_GetFinalPathNameByHandle() suboptimal

2011-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Yes, it should be trivial to fix. I've stumbled on this simply because I needed to write similar code for another patch, so studied how it was done in posixmodule.c. -- ___ Python tracker

[issue12045] external shell command executed twice in ctypes.util._get_soname

2011-05-16 Thread Sijin Joseph
Sijin Joseph sijinjos...@gmail.com added the comment: Attaching patch. Removed the second call to os.popen and used the dump variable that was read earlier as the argument to re.search. -- keywords: +patch nosy: +sijinjoseph Added file: http://bugs.python.org/file22010/12045.patch

[issue10239] multiprocessing signal defect

2011-05-16 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Closing as duplicate of issue #9205. -- nosy: +neologix resolution: - duplicate status: open - closed superseder: - Parent process hanging in multiprocessing if children terminate unexpectedly

[issue1615158] POSIX capabilities support

2011-05-16 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: posixcap sounds ok to me. Bike-sheddingly, it bothers me that these functions are actually *not* defined by POSIX, but have been withdrawn before becoming standard. So I'd rather call it linuxcap. Using _linuxcap, and exposing them from os

[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: following up http://mail.python.org/pipermail/docs/2011-April/004161.html, it would be nice to have changeset 1811eb03ba00 applied in 2.7 (it's already there in 3.1, 3.2 and default). Added Georg to the nosy list since it's the author of

[issue7443] test.support.unlink issue on Windows platform

2011-05-16 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443 ___ ___ Python-bugs-list

[issue12093] Typo in struct unpacking example

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: following up http://mail.python.org/pipermail/docs/2011-April/004154.html and what was done in 1de718a31004, here's a tiny patch to correct that typo in 2.7 too. -- assignee: docs@python components: Documentation files:

[issue12094] Cannot Launch IDLE

2011-05-16 Thread Nathan
New submission from Nathan nathaniel.j.b...@gmail.com: To Whom it may concern – I have suddenly lost my ability to launch IDLE. I am using 2.6 with windows xp. I was using ipython with PyReadline. I have uninstalled and reinstalled just python 2.6.6 with no luck. I get the following error:

[issue11614] import __hello__ is broken in Python 3

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 47bc3509f76b by Victor Stinner in branch '2.7': Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore http://hg.python.org/cpython/rev/47bc3509f76b -- ___ Python

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Looks like I was referring to a different patch from the email - sorry for any confusion. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue1006238] cross compile patch

2011-05-16 Thread René Schümann
Changes by René Schümann whitet...@gmail.com: -- nosy: +WhiteTiger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238 ___ ___ Python-bugs-list

[issue4709] Mingw-w64 and python on windows x64

2011-05-16 Thread René Schümann
Changes by René Schümann whitet...@gmail.com: -- nosy: +WhiteTiger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___ Python-bugs-list

[issue3754] cross-compilation support for python build

2011-05-16 Thread René Schümann
Changes by René Schümann whitet...@gmail.com: -- nosy: +WhiteTiger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___ ___ Python-bugs-list

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: lukasz.langa - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12086 ___

[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: This is a venerable section of the tutorial that has been exposed to many, many readers and AFAICT it has never caused a problem. So, I see no need to make a change to it. Also as Georg points out, the docs (especially the

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12077 ___

[issue12028] threading._get_ident(): remove it in the doc and make it public

2011-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12028 ___ ___

[issue11986] Min/max not symmetric in presence of NaN

2011-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11986 ___ ___

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b29f0b6fcb76 by Senthil Kumaran in branch '2.7': Fix closes issue #12088 - fixes the tarfile.extractall issue when the http://hg.python.org/cpython/rev/b29f0b6fcb76 -- nosy: +python-dev

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Committed the fix. Thank you, Scott. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12088

[issue12093] Typo in struct unpacking example

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 874309ce6e62 by Ezio Melotti in branch '2.7': #12093: fix typo in struct doc. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/874309ce6e62 -- nosy: +python-dev ___ Python tracker

[issue12093] Typo in struct unpacking example

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patch! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c449d3c3e0da by Ezio Melotti in branch '2.7': #12092: backport rephrasing of a paragraph in the tutorial. http://hg.python.org/cpython/rev/c449d3c3e0da -- nosy: +python-dev ___ Python

[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue12094] Cannot Launch IDLE

2011-05-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I can't test this on Windows, but you could try the following things: 1) check that 'python.exe -V' returns 2.6.6; 2) try using the IDLE shortcut in the start menu; 3) try from abc import ABCMeta from the interactive interpreter; 4)

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-16 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- Removed message: http://bugs.python.org/msg136132 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___

[issue11197] information leakage with SimpleHTTPServer

2011-05-16 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11197 ___

[issue12050] unconsumed_tail of zlib.Decompress is not always cleared on decompress() call

2011-05-16 Thread Takeshi Yoshino
Takeshi Yoshino tyosh...@google.com added the comment: Thank you for the fix! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12050 ___ ___

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12077 ___ ___ Python-bugs-list

[issue12010] Compile fails when sizeof(wchar_t) == 1

2011-05-16 Thread David Coles
David Coles coles.da...@gmail.com added the comment: Attached is a patch that updates configure.in to make sure that wchar.h is present and that wchar_t is at least 16 bits wide. On android-8 this patch causes the configure step to fail since SIZEOF_WCHAR_T == 1. On android-9 and my Linux