[issue1294232] Error in metaclass search order

2011-06-10 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2011-06-10 Thread Eli Bendersky
Eli Bendersky 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 3.x docs don't h

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 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 with the error already

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

2011-06-10 Thread STINNER Victor
STINNER Victor 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 "/usr/home/buildbot/buildar

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread STINNER Victor
New submission from STINNER Victor : [ 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 resource warning: .../Lib/pac

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

2011-06-10 Thread Ion Scerbatiuc
Ion Scerbatiuc 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 provided URL or some

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
New submission from STINNER Victor : 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 #8407) - 6d6099f7fe89: add sentin

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

2011-06-10 Thread STINNER Victor
STINNER Victor added the comment: > The test hangs on FreeBSD 8.2: (...) See also #12310 which may be related. -- ___ Python tracker ___

[issue12311] memory leak with self-referencing dict

2011-06-10 Thread Albert Zeyer
New submission from Albert Zeyer : 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: 138062 nosy: Albert.Zeye

[issue12311] memory leak with self-referencing dict

2011-06-10 Thread Albert Zeyer
Albert Zeyer added the comment: Whoops, looks like a duplicate of #1469629. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor 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): http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/271

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

2011-06-10 Thread STINNER Victor
STINNER Victor 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 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 alarm(), from a

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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 "/Users/db3l/buildarea/3.x.bolen-tiger/build

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

2011-06-10 Thread R. David Murray
R. David Murray 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 comment if I knew what that

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor 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 processes. For test_signal

[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 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 comments */. Of course it'

[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 : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2011-06-10 Thread R. David Murray
R. David Murray 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 let's leave that discuss

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 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 time.sleep(0.5) is a reliab

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor 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 tracker

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 is not indexed by

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 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 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 PyUnicode_DecodeCodePageStateful() and PyUnic

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

2011-06-10 Thread STINNER Victor
STINNER Victor 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 character >>> codecs.code_p

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

2011-06-10 Thread STINNER Victor
STINNER Victor 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 character exists in the target

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 : 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 : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

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

2011-06-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch. Have you had a chance to investigate Terry’s question? -- ___ Python tracker ___ ___

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 would be better.

[issue10191] scripts files are not RECORDed.

2011-06-10 Thread Éric Araujo
Éric Araujo 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 packaging.utils.copy_tree. > When

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo 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 __

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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: http://wiki.python.org/moin/Dist

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

2011-06-10 Thread Georg Brandl
Georg Brandl added the comment: Why is any module directive needed anyway? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Georg Brandl
Georg Brandl added the comment: Well, then a different way of linking to them must be used. -- ___ Python tracker ___ ___ Python-bugs

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo added the comment: Certainly. I tried using `.memoryview` without success. How would you do it? -- ___ Python tracker ___ _

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Georg Brandl
Georg Brandl added the comment: You can put an anchor and use :ref:. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 be solved, since

[issue2057] difflib: add patch capability

2011-06-10 Thread Éric Araujo
Éric Araujo added the comment: A productive thing to do would be to ask feedback on python-ideas for this new feature. -- ___ Python tracker ___

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

2011-06-10 Thread Éric Araujo
Éric Araujo added the comment: Typo: sysconfig does *not* rely on packaging. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12298] Sphinx glitch in library/functions

2011-06-10 Thread Éric Araujo
Éric Araujo 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 __

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

2011-06-10 Thread Tres Seaver
Changes by Tres Seaver : -- nosy: -tseaver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12313] make install misses packaging module

2011-06-10 Thread Éric Araujo
New submission from Éric Araujo : 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 asking here. ---

[issue12222] All pysetup commands should respect exit codes

2011-06-10 Thread Éric Araujo
Éric Araujo 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: http://bugs.python.org/fi

[issue12222] All pysetup commands should respect exit codes

2011-06-10 Thread Éric Araujo
Éric Araujo 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 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. -- assignee: -> eric.ara

[issue10897] UNIX mmap unnecessarily dup() file descriptor

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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 tracker

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

2011-06-10 Thread Éric Araujo
New submission from Éric Araujo : 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, pretty-print and diff to fin

[issue12309] os.environ was modified by test_packaging

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +regrtest checks (os.environ, sys.path, etc.) are hard to use ___ Python tracker ___ ___ Pyt

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-10 Thread Benjamin Peterson
Benjamin Peterson 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 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 tracker

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 if you don’t feel c

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Ross Lagerwall
Ross Lagerwall 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. -- ___ Python tracke

[issue12218] Removing wsgiref.egg-info

2011-06-10 Thread Roundup Robot
Roundup Robot 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 tracker

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 ___ Pytho

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

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

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

2011-06-10 Thread R. David Murray
R. David Murray 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 unittest so it could wrap

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

2011-06-10 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 moved > into unitte

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

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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: - "zlibVersion" isn

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-10 Thread Éric Araujo
Éric Araujo added the comment: Should this new attribute be documented? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-

[issue11610] Improving property to accept abstract methods

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9788] atexit and execution order

2011-06-10 Thread Éric Araujo
Éric Araujo 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 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 tracker

[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 : Removed file: http://bugs.python.org/file21723/fix-argparse-class-directive.diff ___ Python tracker ___ ___ Python-bug

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 ___

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

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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 under Linux, and 4

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

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5243] Missing dependency in distutils build

2011-06-10 Thread Éric Araujo
Éric Araujo 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, the install

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

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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 think. Tha

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

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: See issue12197 for a related request. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ __

[issue12167] test_packaging reference leak

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is someone investigating this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2011-06-10 Thread Roundup Robot
Roundup Robot 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 release branch wi

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

2011-06-10 Thread Éric Araujo
Éric Araujo 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 is way too compl

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

2011-06-10 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +Better document user site-packages in site module doc, setup.py install --user option undocumented ___ Python tracker ___

[issue9788] atexit and execution order

2011-06-10 Thread Charles-François Natali
Charles-François Natali 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 think it should be

[issue12167] test_packaging reference leak

2011-06-10 Thread Éric Araujo
Éric Araujo 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 _

[issue12167] test_packaging reference leak

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou 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 need to know C,

[issue12167] test_packaging reference leak

2011-06-10 Thread Éric Araujo
Éric Araujo 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

[issue12279] Add build_distinfo command to packaging

2011-06-10 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-10 Thread Roundup Robot
Roundup Robot 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 #12168. http://hg.py

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

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy 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 classes in bugfix re

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

2011-06-10 Thread harobed
New submission from harobed : 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: docs@python, harobed p

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

2011-06-10 Thread Bryan Schmersal
Bryan Schmersal 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 this fix, this module ran int

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

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

[issue12310] Segfault in test_multiprocessing

2011-06-10 Thread STINNER Victor
STINNER Victor 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 "/Users/db3l/buildarea/3.x.bolen-tiger/build

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Darren Dale 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 was just concerned w

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Darren Dale 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 tests for depreca

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Changes by Darren Dale : Removed file: http://bugs.python.org/file22322/abc_descriptors.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Changes by Darren Dale : Added file: http://bugs.python.org/file22323/abc_descriptors.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-10 Thread Charles-François Natali
Charles-François Natali added the comment: Two patches attached: - a patch checking that the ossaudiodev object isn't closed - a patch adding _PyIsSelectable_fd() -- Added file: http://bugs.python.org/file22324/is_selectable.diff Added file: http://bugs.python.org/file22325/oss_check_c

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-10 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file22284/oss_select.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-10 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file22301/oss_check_closed.diff ___ Python tracker ___ ___ Python-bu

[issue11610] Improved support for abstract base classes with descriptors

2011-06-10 Thread Darren Dale
Changes by Darren Dale : -- components: +Library (Lib) -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Two patches attached: > - a patch checking that the ossaudiodev object isn't closed > - a patch adding _PyIsSelectable_fd() In oss_check_closed.diff, you might want to add tests for the other methods as well. Otherwise, looks good! -- __

  1   2   >