[issue828450] sdist generates bad MANIFEST on Windows

2011-06-10 Thread higery
higery added the comment: I just recreated this patch against version 2.7, so I'm not sure it can be applied to all the listed versions. Note: there still are two pathes, one for sdist.py and another for test_sdist.py -- Added file: http://bugs.python.org/file22328/test_manifest_readi

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Links are good ;-). -- nosy: +terry.reedy stage: -> needs patch ___ Python tracker ___ ___ Python-

[issue828450] sdist generates bad MANIFEST on Windows

2011-06-10 Thread higery
Changes by higery : Removed file: http://bugs.python.org/file21764/test_manifest_reading_sdist_v2.diff ___ Python tracker ___ ___ Python-bug

[issue828450] sdist generates bad MANIFEST on Windows

2011-06-10 Thread higery
Changes by higery : Removed file: http://bugs.python.org/file21725/test_manifest_reading_sdist.diff ___ Python tracker ___ ___ Python-bugs-li

[issue12300] Document pydoc.help

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is already a link to the main entry, which is where I think it should be. -- nosy: +terry.reedy ___ Python tracker ___ __

[issue12299] Stop documenting functions added by site as builtins

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the 3.2.0 doc, quit and exit (which are unnecessary and nearly useless) are already in the site-variables section (where I think they should be), not in builtin funcs. Did someone move them since? If so, you should discuss rather than just revert. The ex

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Either code or doc must change (with 'version changed' note). Doc: "The default is 1000. When set to 0 or less, all traceback information is suppressed and only the exception type and value are printed." Christian's patch: "values <= 0 are replaced with a def

[issue12272] Python 2.7.1 version conflict for package "Tcl" on Windows 7

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, any ideas? Jack, I would wipe out the tcl directory and rerun the 2.7.1 installer, selecting just the tk/tcl/idle option. I have trouble believe that every 2.7.1 install on win7 is bad. -- nosy: +loewis, terry.reedy _

[issue12261] urllib.parse docs still refer to urlparse

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this is ready to apply. -- nosy: +terry.reedy stage: -> commit review versions: +Python 3.3 ___ Python tracker ___ _

[issue12260] Make install default to user site-packages

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In my Winxp machine, I can add and delete directories in python32/Lib/site-packages (all-users installation) from my user account. That is what I expect and want the default to be, not the Terry/whatever that I have never used (or the admin/whatever if I happ

[issue12188] PEP 7 (or guide) add C style policies and explanation

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: We have a second item for the PEP (or Guide) section (but I think I prefer in the PEP so as to have one place to look for such things.). So I changed the title a bit. On 6/10/2011 3:49 PM, Guido van Rossum wrote: > On Wed, Jun 8, 2011 at 8:12 AM, Nick Coghlan

[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: should *not* be reopened. Sorry for omission of 'not'. -- ___ Python tracker ___ ___ Python-bugs-li

[issue12316] test_signal: test_sigwait_thread failure on FreeBSD 6.4 buildbot

2011-06-10 Thread STINNER Victor
STINNER Victor added the comment: > In a multi-threaded program, we're only allowed to call async-safe > functions between fork() and exec() in the child process Oh, I don't know that. The test should be modified to create a new clean Python process using subprocess to run the test. -

[issue12313] make install misses packaging module

2011-06-10 Thread Ned Deily
Ned Deily added the comment: Listing all those directories to the Makefile does seem very brittle and will certainly be a maintenance hassle. OTOH, there is something to be said for being explicit about what gets installed. I suppose you could add the find step to ./configure and pass the l

[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/file22325/oss_check_closed.diff ___ Python tracker ___ ___ Python-bu

[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/file22324/is_selectable.diff ___ Python tracker ___ ___ Python-bugs-

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

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

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

2011-06-10 Thread Charles-François Natali
Charles-François Natali added the comment: > In oss_check_closed.diff, you might want to add tests for the other > methods as well. I've added checks for other methods (not all of them, there are quite a few). I've also added a check for the mixer object. > You may add parenthesis around the

[issue12316] test_signal: test_sigwait_thread failure on FreeBSD 6.4 buildbot

2011-06-10 Thread Charles-François Natali
New submission from Charles-François Natali : http://www.python.org/dev/buildbot/all/builders/x86 FreeBSD 6.4 3.x/builds/1570/steps/test/logs/stdio """ [ 29/356] test_signal Fatal error 'mutex is on list' at line 540 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 22) test test_sig

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

2011-06-10 Thread STINNER Victor
STINNER Victor added the comment: Comments on is_selectable.diff. > +#define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || > s->sock_timeout <= 0.0) You may add parenthesis around the second s (even if it's unrelated to this issue and not a regression of your patch). > +#ifdef Py_SO

[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! -- __

[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 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

[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
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

[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

[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
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
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

[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

[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

[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

[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

[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

[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

[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

[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

[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: 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 _

[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

[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 ___

[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

[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

[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

[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 ___ __

[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

[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

[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

[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

[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 ___

[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

[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

[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 __

[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

[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-

[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

[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

[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 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

[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 ___

[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

[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

[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

[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 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

[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 __

[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

[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

[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

[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

[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

[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

[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. ---

[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

[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 __

[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

[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: > 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

[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

[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: Well, then a different way of linking to them must be used. -- ___ Python tracker ___ ___ Python-bugs

[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

[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

[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 __

[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

[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.

[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 ___ ___

[issue12312] is ok

2011-06-10 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[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 ___

[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

[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

[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: 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

[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

[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

[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

[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

[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

[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

[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

  1   2   >