[issue12307] Inconsistent formatting of section titles in PEP 0

2011-06-10 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: The formatting for the title of the Index by Category section is different from the formatting for the title of the Numerical Index section. Not sure if there is a reason behind this, but here's a patch: diff --git a/pep0/output.py

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Thanks! -- resolution: - accepted stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9344

[issue12308] Add link to PEP 0 for topical index in wiki

2011-06-10 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: A couple of months back I started a page on the wiki for a topical index of PEPs from PEP 0 [1]. I got tired of reading through PEPs trying to see if one related to what I was working on. I found myself wishing there was a topical

[issue12273] Change ast.__version__ calculation to provide consistent ordering

2011-06-10 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: sys.version_info and sys._mercurial provide all the info needed for someone (like me for mnfy) to know if their code will work against the AST nodes used by the running interpreter. I say drop __version__. --

[issue12304] expose signalfd(2) in the signal module

2011-06-10 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12304 ___ ___

[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-10 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12306 ___ ___

[issue1294232] Error in metaclass search order

2011-06-10 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294232 ___ ___

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-06-10 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: From a cursory look at reference/datamodel and library/operator, I see no other instances of this error. I didn't read every word, however (just grepped for possible operator/operand mismatches). Also, AFAICS this error is only in 2.7 - the

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3bb5400f5bea by Eli Bendersky in branch '2.7': Issue #12223: Typo fix in datamodel docs http://hg.python.org/cpython/rev/3bb5400f5bea -- nosy: +python-dev ___ Python tracker

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-10 Thread Ion Scerbatiuc
Ion Scerbatiuc delinha...@gmail.com added the comment: Hello, I would like to subscribe to the issue. The problem seems to indeed exist in Python 2.7. What I'm doing is to proxy HTTP requests (using Django) and the PUT / POST requests are working fine on Python 2.6 but are failing on 2.7

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: On Linux, it works well with more than one thread. I added a test using a thread, we will see if it works on buildbots. The test hangs on FreeBSD 8.2: [235/356] test_signal Timeout (1:00:00)! Thread 0x000800e041c0: File

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: [ 20/356] test_packaging (...) Warning -- os.environ was modified by test_packaging Seen on x86 Tiger buildbot: http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/2723/steps/test/logs/stdio There is also a

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-10 Thread Ion Scerbatiuc
Ion Scerbatiuc delinha...@gmail.com added the comment: Hello again, After some digging I found that the real problem was because the provided URL was a unicode string and the concatenation was failing. Maybe this is not a big deal, but I think we should least do a proper assertion for the

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12309 ___ ___

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: test_multiprocessing segfaults in a loop. The crash occurs in _Condition.release() on waiter.release(), called from Queue._finalize_close(). Possible related changes: - a5c8b6ebe895: new sigwait() test using thread (issue

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The test hangs on FreeBSD 8.2: (...) See also #12310 which may be related. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8407

[issue12311] memory leak with self-referencing dict

2011-06-10 Thread Albert Zeyer
New submission from Albert Zeyer alb...@googlemail.com: The attached Python script leaks memory. It is clear that there is a reference circle (`__dict__` references `self`) but `gc.collect()` should find this. -- components: Interpreter Core files: py_dict_refcount_test.py messages:

[issue12311] memory leak with self-referencing dict

2011-06-10 Thread Albert Zeyer
Albert Zeyer alb...@googlemail.com added the comment: Whoops, looks like a duplicate of #1469629. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12311

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: a5c8b6ebe895: new sigwait() test using thread (issue #8407) 6d6099f7fe89: add sentinels to multiprocessing (issue #9205) The first segfaults occured in build #2719 (cedceeb45030):

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

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_multiprocessing crashs ~700 times on Mac OS X Tiger, regression likely introduced by this issue (6d6099f7fe89): I created issue #12310 for that. -- ___ Python tracker

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I just noticed something funny: signal_sigwait doesn't release the GIL, which means that it's pretty much useless :-) sigwait() is not useless: the signal is not necessary send by another thread. The signal can be send by

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Victor, how can there be hundreds of crashes? Isn't the process supposed to terminate when a crash occurs? There are several crashes in test_signal, so it's not only test_multiprocessing: Thread 0xa000d000: File

[issue12009] netrc module crashes if netrc file has comment lines

2011-06-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: lexer.instream.readline(): no, we can't just call that without the seek, because reading the token that started with # may have caused the line to be consumed already. I've expanded the comment to explain this. cygwin: I'd add a

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, how can there be hundreds of crashes? Isn't the process supposed to terminate when a crash occurs? Yes, a process does terminate on SIGSEGV, but multiprocessing creates subprocesses: I suppose that crashes occur in child

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Attached is an improved patch: 1. It's against the 3.2 branch, rather than default. 2. It has an added multiple load test in test_marshal.py. 3. There's more error checking for an EOF condition. 4. I've removed tab chars and used /* C89

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-10 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___

[issue11416] netrc module does not handle multiple entries for a single host

2011-06-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This should not be applied until after the patch for #12009 is applied, at which point the test will need to be adjusted. #12009 completely refactors the netrc test suite. I wonder if the 'hosts' attribute should be deprecated, but

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a17710e27ea2 by Victor Stinner in branch 'default': Issue #8407: Make signal.sigwait() tests more reliable http://hg.python.org/cpython/rev/a17710e27ea2 -- ___ Python tracker

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: neologix Patch attached. I wrote a different patch based on your patch. The main change is that I chose to keep signal.alarm(1) instead of sending the signal from the parent process to the child process, because I don't think that

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Le vendredi 10 juin 2011 à 09:40 +, Antoine Pitrou a écrit : There are several crashes in test_signal Commit a17710e27ea2 should fix some (all?) test_signal crashes. -- ___ Python

[issue12287] ossaudiodev: stack corruption with FD = FD_SETSIZE

2011-06-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I don't understand if socket file descriptors are different than (classic) file descriptors. On Windows, sockets are completely independent from file descriptors. A socket id can be large (typically over 1000), fortunately a fd_set

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 37a87b709403 by Victor Stinner in branch 'default': Issue #8407: write error message on sigwait test failure http://hg.python.org/cpython/rev/37a87b709403 -- ___ Python tracker

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 60b1ab4d0cd4 by Victor Stinner in branch 'default': Issue #8407: skip sigwait() tests if pthread_sigmask() is missing http://hg.python.org/cpython/rev/60b1ab4d0cd4 -- ___ Python tracker

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Version 2 of my patch (mbcs2.patch): - patch also the encoder: fix ignore/replace depending on the Windows version, support any error handler: encode character per character if encoding in strict mode fails - Add

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Example on Windows Vista with ANSI=cp932: import codecs codecs.code_page_encode(1252, '\xe9') (b'\xe9', 1) codecs.mbcs_encode('\xe9') ... UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Decode examples, ANSI=cp932: codecs.code_page_decode(1252, b'\x80') ('\u20ac', 1) codecs.code_page_decode(932, b'\x82') ... UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping for the Unicode

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 33b7428e65b4 by Victor Stinner in branch '3.1': Issue #10801: Fix test_unicode_filenames() of test_zipfile http://hg.python.org/cpython/rev/33b7428e65b4 -- ___ Python tracker

[issue12312] is ok

2011-06-10 Thread tanushree
New submission from tanushree tanushree.gho...@gmail.com: thank u very much for registering me . -- messages: 138082 nosy: tanushree.gho...@gmail.com priority: normal severity: normal status: open title: is ok ___ Python tracker

[issue12312] is ok

2011-06-10 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12312 ___

[issue7969] shutil.copytree error handling non-standard and partially broken

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. Have you had a chance to investigate Terry’s question? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7969 ___

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: When I said “I don’t like the idea of built-in functions being displayed as ‘builtins.int’”, I was thinking about the output of “.. function:: int” in combination with the module directive. I don’t know if using currentmodule instead of module

[issue10191] scripts files are not RECORDed.

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: OK, I'll test it too. Thanks. In case you’re not sure how to test my patch, see http://docs.python.org/devguide/faq#how-do-i-apply-a-patch and http://docs.python.org/devguide/runtests I looked sources of packaging. That use

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: memoryview and frozenset do have a small entry in library/functions, and the links at the top of the file are meant to jump to entries in the same file. -- ___ Python tracker rep...@bugs.python.org

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for your contribution. Unfortunately, I used “distutils2” as a familiar name for what is now known as the packaging module, in the 3.3 standard library. This document should help you find the right codebase to work from:

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-06-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Why is any module directive needed anyway? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11975 ___

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, then a different way of linking to them must be used. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12298 ___

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Certainly. I tried using `.memoryview` without success. How would you do it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12298 ___

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You can put an anchor and use :ref:. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12298 ___

[issue12302] packaging test command needs access to .dist-info

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: while running the test command (pysetup run test)? Yes, that’s the correct invocation. The use case: [...] I agree with the need. I’ve added a dep on the bug requesting the addition of a build_distinfo command; once it is done, this bug will

[issue2057] difflib: add patch capability

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A productive thing to do would be to ask feedback on python-ideas for this new feature. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2057

[issue12302] packaging test command needs access to .dist-info

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Typo: sysconfig does *not* rely on packaging. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12302 ___

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sounds like the easiest solution that could work, thanks. I’m on it. -- assignee: docs@python - eric.araujo status: closed - open ___ Python tracker rep...@bugs.python.org

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-10 Thread Tres Seaver
Changes by Tres Seaver tsea...@agendaless.com: -- nosy: -tseaver ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8407 ___ ___ Python-bugs-list

[issue12313] make install misses packaging module

2011-06-10 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: Here’s a patch adding Lib/packaging subdirectories to Makefile.pre.in. Because of our extensive tests for pypi-related code, the list is huge. Maybe it should use a call to find(1) instead of using a fragile manually-maintained list, so I’m

[issue12222] All pysetup commands should respect exit codes

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Here’s a patch adding “return 1” after all errors, unifying the use of logging and cleaning up a few things (like moving KeyboardInterrupt handling from the _run function up to the main function). -- keywords: +patch Added file:

[issue12222] All pysetup commands should respect exit codes

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: BTW, some functions do not explicitly return 0, but this is okay: they will return None, which is a boolean false value, which is understood as 0 by sys.exit. -- ___ Python tracker

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: If you don’t add the distutils2 component or our name to the nosy field, we can’t react quickly :) I don’t know our networking code enough to track down the socket-related resource warnings; I’ll look into the os.environ issue. --

[issue10897] UNIX mmap unnecessarily dup() file descriptor

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, I agree on the principle, but it is a change in behaviour and would probably break some user code... Perhaps by adding some new argument to the mmap constructor? (dup_fd = True) -- ___ Python

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: When regrtest tells me that os.environ was modified by test_packaging, it’s very hard to find which test is responsible. The -vv output is hard to read: it prints four dictionaries, which I have to visually delineate, copy, paste,

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +regrtest checks (os.environ, sys.path, etc.) are hard to use ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12309 ___

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-10 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I look at it this way: If I was browsing the 2.7 code and saw that type check, would I remove it in the bugfix release? No. I'm going to mark this resolved. Thanks everyone. -- resolution: - works for me status: open - closed

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Nit: when a patch gets committed and the issue closed, the preferred resolution is fixed ;) (see http://docs.python.org/devguide/triaging.html#resolution) -- resolution: accepted - fixed ___ Python

[issue12305] Building PEPs doesn't work on Python 3

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I started to work on this some months ago, so I can review your patch. Before you start, it’s probably worth asking on python-dev or pydotorg whether the machines that build and host the PEPs have Python 3 installed. I can ask on your behalf

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Nit: when a patch gets committed and the issue closed, the preferred resolution is fixed ;) (see http://docs.python.org/devguide/triaging.html#resolution) Sure, I will try remember that. --

[issue12218] Removing wsgiref.egg-info

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c12401a83a13 by Éric Araujo in branch 'default': Remove *.egg-info from Makefile.pre.in (follow-up to d615eb7bce33, #12218) http://hg.python.org/cpython/rev/c12401a83a13 -- ___ Python

[issue12246] Warn when trying to install third-party module from an uninstalled checkout

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ff58eec3336b by Éric Araujo in branch 'default': Don’t try to install something when running from uninstalled source (#12246). http://hg.python.org/cpython/rev/ff58eec3336b -- nosy: +python-dev

[issue12246] Warn when trying to install third-party module from an uninstalled checkout

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Fixed. Welcome to Misc/ACKS ! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed type: behavior - feature request ___ Python tracker rep...@bugs.python.org

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Improvements are welcome, the whole thing was a QnD hack that has been evolving over time...maybe there's some way to reuse unittest's assertEqual machinery? I also wonder if the whole environment-changed thing should be moved into

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - needs patch type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12314 ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: maybe there's some way to reuse unittest's assertEqual machinery? Hum, I think the diff functionality is cleanly separated in a (private) method, so we could get diff for free. I also wonder if the whole environment-changed thing should be

[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Good idea, and thanks for posting a patch! This is a new feature, so 3.3-only. Also, you'll need to update the docs (Doc/library/zlib.rst, presumably) to add the new module method/attribute (with a suitable versionadded tag). Nitpicking: -

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Should this new attribute be documented? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12168 ___

[issue11610] Improving property to accept abstract methods

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610 ___ ___ Python-bugs-list

[issue9788] atexit and execution order

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Here’s a patch. -- keywords: +needs review, patch resolution: accepted - stage: needs patch - patch review versions: +Python 3.3 -Python 3.1 Added file: http://bugs.python.org/file22318/doc-atexit-order-undefined.diff

[issue8887] “pydoc str” works but not “pydoc str.translate”

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I added tests to cover non-existing attributes and updated the code to follow your clever suggestion. -- Added file: http://bugs.python.org/file22319/fix-pydoc-str.translate-3.2.diff ___ Python

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file21723/fix-argparse-class-directive.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8982 ___

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch refreshed. If I get no negative feedback, I’ll commit it next week. -- Added file: http://bugs.python.org/file22320/fix-argparse-class-directive.diff ___ Python tracker rep...@bugs.python.org

[issue12197] non-blocking SSL write fails if a partial write was issued

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't see any discrepancy here (with Python 3.3). Under both Linux and Windows, the client thread prints: ERR [Errno 3] _ssl.c:1126: The operation did not complete (write) done The only difference is that the server thread receives 128KB

[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12306 ___ ___ Python-bugs-list

[issue5243] Missing dependency in distutils build

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Now something I don't understand is how reportlab distribution is doing to copy the compiled extensions when install is called. I think clib stuff is installed in the right python directory and the ext install step then just finds them. Yep,

[issue12053] Add prefetch() for Buffered IO (experiment)

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I started a draft in python. I am attaching the _pyio version along with tests. I will continue work on the C implementation and eventually documentation if this is well received. It seems straightforward, I am interested to see what you guys

[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: See issue12197 for a related request. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8240 ___

[issue12167] test_packaging reference leak

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Is someone investigating this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___ ___

[issue12009] netrc module crashes if netrc file has comment lines

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cb3a77b0f8dd by Benjamin Peterson in branch '2.7': fix regression in netrc comment handling (closes #12009) http://hg.python.org/cpython/rev/cb3a77b0f8dd New changeset 6993910be426 by Benjamin Peterson in branch '2.7': merge 2.7.2

[issue11553] Docs for: import, packages, site.py, .pth files

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the detailed review. I’d like to work on a number of them. I think I’ll open focused bug reports and make this one depend on them; this will let interested people see the new bugs and possibly give feedback. The Language Reference

[issue11553] Docs for: import, packages, site.py, .pth files

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +Better document user site-packages in site module doc, setup.py install --user option undocumented ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11553

[issue9788] atexit and execution order

2011-06-10 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I don't think the order should be defined. I disagree. The C standard explicitely states that the functions are called in LIFO order (which is the natural order in this case). The current implementation guarantees LIFO order, I

[issue12167] test_packaging reference leak

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m afraid I don’t understand enough to fix this. I looked at test_simple_built in test_command_bdist_dumb and found no C code involved. -- ___ Python tracker rep...@bugs.python.org

[issue12167] test_packaging reference leak

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I’m afraid I don’t understand enough to fix this. I looked at test_simple_built in test_command_bdist_dumb and found no C code involved. It means that either packaging or test_packaging keeps references to more and more objects. You don't

[issue12167] test_packaging reference leak

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ah, it’s just refcounting issues? I can probably use the gc module to find them, and add del statements where appropriate to release objects. -- ___ Python tracker rep...@bugs.python.org

[issue12279] Add build_distinfo command to packaging

2011-06-10 Thread Michael Mulich
Changes by Michael Mulich michael.mul...@gmail.com: -- nosy: +michael.mulich ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12279 ___ ___

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3cf5d61fd6d7 by Vinay Sajip in branch '3.2': Documented change for Issue #12168. http://hg.python.org/cpython/rev/3cf5d61fd6d7 New changeset 6658b9b9f5f3 by Vinay Sajip in branch 'default': Merged documentation change for Issue

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Ion, as you perhaps noticed, posting a message 'subscribes' you (puts you on the nosy list). One can also add oneself as nosy with the little button under it without saying anything. This should be reopened because we do not change error

[issue12315] Improve http.client.HTTPResponse.read documentation

2011-06-10 Thread harobed
New submission from harobed steph...@harobed.org: This is a patch to improve http.client.HTTPResponse.read documentation. What do you think about ? -- assignee: docs@python components: Documentation files: improve_http.client_documentation.patch keywords: patch messages: 138129 nosy:

[issue1590864] Function-level import in os triggering an threaded import deadlock

2011-06-10 Thread Bryan Schmersal
Bryan Schmersal bryan.schmer...@gmail.com added the comment: I have a module that I was using on 2.5 that uses subprocess.Popen to monitor the output from some external programs in several different threads. Of course, subprocess.Popen uses os.fork. When I upgraded to 2.7 which includes

[issue12246] Warn when trying to install third-party module from an uninstalled checkout

2011-06-10 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: On Fri, 2011-06-10 at 16:46 +, Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: Fixed. Welcome to Misc/ACKS ! loveliness :) -- ___ Python tracker

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It looks like the sentinel doesn't handle fatal death of the child process: test test_multiprocessing crashed -- Traceback (most recent call last): File ./Lib/test/regrtest.py, line 1043, in runtest_inner File

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Darren Dale dsdal...@gmail.com added the comment: I posted the following at python-dev (http://mail.python.org/pipermail/python-dev/2011-June/111837.html): I would like to try to address some shortfalls with the way python deals with abstract base classes containing descriptors. I originally

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Darren Dale dsdal...@gmail.com added the comment: Here is an improved patch, which includes feedback from python-dev. make test runs without failures, however test_abc.py prints deprecation warnings for abstractproperty. I'm not familiar with the protocol here, do we continue to include unit

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Changes by Darren Dale dsdal...@gmail.com: Removed file: http://bugs.python.org/file22322/abc_descriptors.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610 ___

  1   2   >