[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Erik Cederstrand
Erik Cederstrand added the comment: Getting a date from ISO week /weekday is not possible with the %W and %w directives. ISO week numbers and normal week numbers are calculated differently (see my libc qoute in the original post). Also, using %w instead of %u would be ambiguous, since %w week

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-24 Thread Charles-François Natali
Charles-François Natali added the comment: I've committed the patch to 2.7, and also to default (and only to default since for py3k it's more of an optimization than a bug fix). Closing. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-05-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue12172] IDLE crashes when I use F5 to run

2011-05-24 Thread Kevin
New submission from Kevin : Similar to bug issue 11431, my IDLE crashes (OS 10.6.7) when using F5, but works fine or better when I click run module. However, unlike 11431, I have downloaded, and I believe, correctly installed ActiveTcl 8.5. Similar to Ned's suggestions in issue: 11431, here ar

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Ashley Anderson
Ashley Anderson added the comment: Thanks, I think I understand the original post now. Upon reading the docs and code, however, it seems this is possible using the %W and %w directives. Is the issue just to support the different letters (%V and %u) specifically, or that they are not quite the

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-05-24 Thread Peter Hammer
Peter Hammer added the comment: """ Changing the 'enumerate' doc string text from: | (0, seq[0]), (1, seq[1]), (2, seq[2]), ... to: | (start, seq[0]), (start+1, seq[1]), (start+2, seq[2]), ... would completely disambiguate the doc string at the modest cost of sixteen additional cha

[issue9382] os.popen referenced but not documented in Python 3.x

2011-05-24 Thread Eli Bendersky
Eli Bendersky added the comment: os.popen() is certainly deprecated. Its documentation in both 2.6 and 2.7 notes: Deprecated since version 2.6: This function is obsolete. Use the subprocess module. Indeed, the Python 3.x library/os.rst doc mentions it several times, but the documentation w

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread R. David Murray
R. David Murray added the comment: Thanks for wanting to work on this. It is a little hard to parse from the OP's initial post, but he is asking that %V and %u be supported by datetime.strptime, which they currently are not. strptime is the generalized constructor for turning a string into a

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Ashley Anderson
Ashley Anderson added the comment: I've recently joined the python-mentors mailing list because I love Python and want to get involved. I found this bug in the list of "Easy issues" and thought I'd try my hand. Anyway, this is my first patch, so please forgive me if I am breaking protocol or

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/24 Nick Coghlan : > > Nick Coghlan added the comment: > > Just to articulate the rationale, I'm guessing the reasoning behind this is > to make it feasible for source->AST->source translators to retain the > original grouping? Correct. It also allo

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Nick Coghlan
Nick Coghlan added the comment: Visual scan of the patch in Reitveld looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Nick Coghlan
Nick Coghlan added the comment: Just to articulate the rationale, I'm guessing the reasoning behind this is to make it feasible for source->AST->source translators to retain the original grouping? -- ___ Python tracker

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > There's a race. If a signal is received while is_tripped is set, > the signal number won't be written to the wakeup FD. Oh, nice catch. The "bug" is not new, Python behaves like that since Python 3.1. But in Python < 3.3, it doesn't mater because I don't th

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 234021dcad93 by Victor Stinner in branch 'default': Issue #8407: Fix the signal handler of the signal module: if it is called http://hg.python.org/cpython/rev/234021dcad93 -- ___ Python tracker

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Here is an improved patch. Sans comments, I will apply in a few days. -- Added file: http://bugs.python.org/file22100/fixwith2.patch ___ Python tracker

[issue10224] Build 3.x documentation using python3.x

2011-05-24 Thread Sye van der Veen
Sye van der Veen added the comment: I had trouble wording that sentence. Under Unix, Makefile is used, in which you specify "PYTHON=" on the command line else the default "python" (from the PATH) is used. Under Windows, it's make.bat, where PYTHON needs to be set in the environment else "..

[issue8533] regrtest: use backslashreplace error handler for stdout

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8be9eaf5829f by Victor Stinner in branch 'default': Issue #8533: regrtest replaces also sys.stdout on Windows http://hg.python.org/cpython/rev/8be9eaf5829f -- nosy: +python-dev ___ Python tracker

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: I started to patch packaging to fix this issue in the packaging module: issue #12112. We might leave distutils unchanged and improve the packaging module instead (because previous experiments proved that distutils should not be touched or it break random stuf

[issue10832] Add support of bytes objects in PyBytes_FromFormatV()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: The "%y" format is useless for the posixmodule.c example (it doesn't simplify the code), and I cannot find another usage of this feature. So let's forget it :-) -- resolution: -> invalid status: open -> closed ___

[issue10818] pydoc: Remove old server and tk panel

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > The old server was depreciated in 3.2 and is supposed to be removed > along with the tk panel for 3.3. Ok, fine. I applied your patch and removed the serve() function. -- resolution: -> fixed status: open -> closed _

[issue10818] pydoc: Remove old server and tk panel

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a30410a8fddc by Victor Stinner in branch 'default': Issue #10818: Remove the Tk GUI of the pydoc module (pydoc -g has been http://hg.python.org/cpython/rev/a30410a8fddc New changeset de669b61bca4 by Victor Stinner in branch 'default': Issue #10818:

[issue9382] os.popen referenced but not documented in Python 3.x

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > The entire os.popen*() family is supposed be gone in Python 3.x os.popen2(), os.popen3() and os.popen4() were removed in Python 3.0, but os.popen() was kept. Guido wants to keep it because it has a nicer API than subprocess.Popen. I'm too lazy to replace al

[issue11377] Deprecate platform.popen()

2011-05-24 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12057] HZ codec has no test

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ba0192a0eb1 by Victor Stinner in branch '2.7': Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py http://hg.python.org/cpython/rev/8ba0192a0eb1 -- ___ Python tracker

[issue12057] HZ codec has no test

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a024183e046f by Victor Stinner in branch '3.1': Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py http://hg.python.org/cpython/rev/a024183e046f New changeset 4289cc96835e by Victor Stinner in branch '3.2': (Merge 3.1) Is

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Ashley Anderson
Changes by Ashley Anderson : -- nosy: +Ashley.Anderson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12057] HZ codec has no test

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: iso2022_tests.patch: add some tests for ISO2022 encodings: - testcase for iso2022_jp and iso2022_kr, iso2022_jp2 reuses iso2022_jp testcase - test some invalid byte sequences -- Added file: http://bugs.python.org/file22099/iso2022_tests.patch __

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Donghyun Kim
Donghyun Kim added the comment: On May 24, 2011, at 12:44 PM, Charles-François Natali wrote: > I don't know how I could miss this: closing the server socket is perfectly > fine in TCP, since a new one is returned by accept(). But in UDP, it's > definitely wrong, since it's used by the handle

[issue12057] HZ codec has no test

2011-05-24 Thread R. David Murray
R. David Murray added the comment: Looks good to me. And I meant documenting the process for adding a directory. -- ___ Python tracker ___ _

[issue12057] HZ codec has no test

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c724c3eaed7 by Victor Stinner in branch '2.7': Issue #12057: Add tests for the HZ encoding http://hg.python.org/cpython/rev/3c724c3eaed7 -- ___ Python tracker __

[issue12057] HZ codec has no test

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10b23f1c8cb6 by Victor Stinner in branch '3.1': Issue #12057: Add tests for the HZ encoding http://hg.python.org/cpython/rev/10b23f1c8cb6 New changeset 3368d4a04e52 by Victor Stinner in branch '3.2': (Merge 3.1) Issue #12057: Add tests for the HZ e

[issue12057] HZ codec has no test

2011-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume and hope David meant the process, as I would have no idea how to add a directory. And David did not seem completely sure. -- ___ Python tracker

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-24 Thread Nadeem Vawda
Nadeem Vawda added the comment: > False alarm; go ahead with the review. I took a look too early in the > morning before caffeine kicked in. No worries. I know the feeling. The tests look fine. The bodies of testRead() and testReadMultiStream() appear to have been swapped, though. I'm guessing

[issue12057] HZ codec has no test

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > Haypo, since you've created a new directory there are makefile > (and PC build file, I think) updates that will need to be made. Can you review attached cjkencodings_dir.patch? > (This should be documented in the dev guide if it isn't already.) Do you mea

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 14bb95a8d7ee by Charles-François Natali in branch 'default': Issue #1441530: In imaplib, read the data in one chunk to speed up large http://hg.python.org/cpython/rev/14bb95a8d7ee -- ___ Python tracker

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Do we need an additional method? It seems that this reset() could also be written encoder.encode('', final=True) -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-24 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a7bb2ef636a by Victor Stinner in branch '3.2': Issue #12070: Fix the Makefile parser of the sysconfig module to handle http://hg.python.org/cpython/rev/4a7bb2ef636a New changeset 98ff40ee0106 by Victor Stinner in branch 'default': (Merge 3.2) Issu

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-24 Thread STINNER Victor
New submission from STINNER Victor : HZ and ISO-2022 family codecs may generate an escape sequence at the end of a stream. For example, the HZ codec uses '~{' to switchs from ASCII to GB2312, and '~}' resets the encoding to ASCII. At the end of a stream, the encoding should be reset to ASCII.

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0dee36595699 by Charles-François Natali in branch '2.7': Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid http://hg.python.org/cpython/rev/0dee36595699 -- nosy: +python-dev ___

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset e789b4cda872 by Victor Stinner in branch '2.7': Issue #12100: Don't reset incremental encoders of CJK codecs at each call to http://hg.python.org/cpython/rev/e789b4cda872 -- ___ Python tracker

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd17396895fb by Victor Stinner in branch '3.1': Issue #12100: Don't reset incremental encoders of CJK codecs at each call to http://hg.python.org/cpython/rev/bd17396895fb New changeset 7f2ab2f95a04 by Victor Stinner in branch '3.2': (Merge 3.1) Iss

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-24 Thread Nir Aides
Nir Aides added the comment: False alarm; go ahead with the review. I took a look too early in the morning before caffeine kicked in. Note Lib/test/test_bz2.py was directly upgraded from bz2ms.patch. A note on bz2 behavior: A BZ2Decompressor object is only good for one stream; after that eof

[issue12034] check_GetFinalPathNameByHandle() suboptimal

2011-05-24 Thread Catalin Iacob
Catalin Iacob added the comment: I looked at providing a patch for this issue as an introductory step (this would be my first patch). But when following the code I discovered that the case that this issue is trying to optimize is never executed in current CPython. In that case, there isn't m

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-24 Thread Armin Rigo
Armin Rigo added the comment: Hi :-) I did not report the two issues I found so far because I didn't finish the PyPy implementation of CJK yet, and I'm very new to anything related to codecs; additionally I didn't check Python 3.x, as I was just following the 2.7 sources. Can someone confir

[issue12170] Bytes objects do not accept integers to many functions

2011-05-24 Thread Max
Max added the comment: "This set of commands with list, strings, tuples, but not bytes objects." should read "This set of commands works with list, strings, tuples, but not bytes objects." -- ___ Python tracker __

[issue12170] Bytes objects do not accept integers to many functions

2011-05-24 Thread Max
New submission from Max : Bytes objects when indexed provide integers, but do not accept them to many functions, making them inconsistent with other sequences. Basic example: >>> test = b'012' >>> n = test[1] >>> n 49 >>> n in test True >>> test.index(n) TypeError: expected an object with the b

[issue12049] expose RAND_bytes() function of OpenSSL

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca92fa2fe5c9 by Victor Stinner in branch 'default': Issue #12049: improve RAND_bytes() and RAND_pseudo_bytes() documentation http://hg.python.org/cpython/rev/ca92fa2fe5c9 -- ___ Python tracker

[issue9654] merge PC/getpathp.c into Modules/getpath.c

2011-05-24 Thread Michele Orrù
Michele Orrù added the comment: In which cases it goes to PC/getpathp.c? I suppose it's Modules/getpath.c otherwise. Line 495 on getpathp.c let me guess it's not only for Windows. -- nosy: +maker ___ Python tracker

[issue11700] mailbox.py proxy updates

2011-05-24 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file22095/11700.yeah-review.diff ___ Python tracker ___ ___ Python-bu

[issue11700] mailbox.py proxy updates

2011-05-24 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Hello, David, i'm about to remind you that this issue is still open (and the next release is about to come soon). I think we do agree at least in the fact that this is a bug :). Well, your mailbox_close_twice.patch no. 2 still imports on the current tip.

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

2011-05-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: good idea! want to tackle this ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/24 STINNER Victor : > > STINNER Victor added the comment: > >> It's a bit of a rite of passage for new developers to >> break the buildbots. :) > > How long is this rite? The approximate number of times you do it each year is e^(-x) + C where C >= 13

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: Le mardi 24 mai 2011 à 18:13 +, Martin a écrit : > Martin added the comment: > > Does Victor Stinner have a psychic link with Armin Rigo? :) > > https://bitbucket.org/pypy/pypy/src/7f593e7877d4/pypy/module/_multibytecodec/app_multibytecodec.py > > """ >

[issue12154] PyDoc Partial Functions

2011-05-24 Thread JJeffries
JJeffries added the comment: If it is changed to use inspect.getfullargspec is it still ok to use inspect.formatargspec? I cant work which values returned by getfullargspec need to go into which parameters for formatargspec. -- ___ Python tracker

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > It's a bit of a rite of passage for new developers to > break the buildbots. :) How long is this rite? -- ___ Python tracker ___

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-24 Thread Martin
Martin added the comment: Does Victor Stinner have a psychic link with Armin Rigo? :) https://bitbucket.org/pypy/pypy/src/7f593e7877d4/pypy/module/_multibytecodec/app_multibytecodec.py """ # My theory is that they are not widely used on CPython either, because # I found two bugs just by lookin

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/24 Charles-François Natali : > > Charles-François Natali added the comment: > >> You change caused test_socketserver to hang. I attempted a fix, but I'm not >> sure if it's completely correct. > > I'm a morron. > I don't know how I could miss this: c

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e1709213532 by Benjamin Peterson in branch '3.1': backout 8b384de4e780, so a proper fix can be considered (#5715) http://hg.python.org/cpython/rev/3e1709213532 -- ___ Python tracker

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file22045/ss_fork_close.diff ___ Python tracker ___ ___ Python-bugs-l

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Charles-François Natali
Charles-François Natali added the comment: > You change caused test_socketserver to hang. I attempted a fix, but I'm not > sure if it's completely correct. I'm a morron. I don't know how I could miss this: closing the server socket is perfectly fine in TCP, since a new one is returned by acce

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: You change caused test_socketserver to hang. I attempted a fix, but I'm not sure if it's completely correct. -- nosy: +benjamin.peterson ___ Python tracker

[issue3754] cross-compilation support for python build

2011-05-24 Thread Roumen Petrov
Roumen Petrov added the comment: Greg, ensure correct configure script first as run commands autoheader and autoconf. Updates to configure script are not in patch . The patch include updates to source configure.in and autoconf command will update "configure". -- _

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Vinay Sajip
Vinay Sajip added the comment: Even though expecting the NUL-terminator is legacy behaviour, newer versions of the syslog daemons presumably follow Postel's rule of "be conservative in what you do, be liberal in what you accept from others". Can flume not be changed to follow this principle,

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

2011-05-24 Thread Éric Araujo
New submission from Éric Araujo : These three commands have different code to do POST requests, using rllib or httplib. This already made us do more work to fix bugs and to port the code. upload_docs has a top-level function for multipart encoding; this should be moved to a common module, cl

[issue11880] add a {dist-info} category to distutils2

2011-05-24 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation

2011-05-24 Thread Éric Araujo
Éric Araujo added the comment: The PEP has been edited to add python_implementation to the list of environment markers tokens. Now the code needs a patch to allow using markers in the extensions section. -- title: distutils2 should be able to compile an Extension based on the Python

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: s/handler/receiver/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: While I agree that it should ideally be possible to actually control this behavior as indicated by the comment, any syslog handler that does not sanitize the messages it receives is broken. -- nosy: +r.david.murray __

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> vinay.sajip nosy: +vinay.sajip versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___

[issue12165] Does nonlocal include global?

2011-05-24 Thread Éric Araujo
Éric Araujo added the comment: Does this doc help: http://docs.python.org/dev/reference/simple_stmts#the-nonlocal-statement ? -- nosy: +eric.araujo ___ Python tracker ___ _

[issue12160] codecs doc: what is StreamCodec?

2011-05-24 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker _

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e56d79fa2ab by Charles-François Natali in branch 'default': Issue #5715: In socketserver, close the server socket in the child process. http://hg.python.org/cpython/rev/0e56d79fa2ab -- ___ Python tracke

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-24 Thread Michele Orrù
Michele Orrù added the comment: After discussing on IRC, it figured out that the best choice would be to use normalize_encoding plus ALIAS, as the attached patch does. -- Added file: http://bugs.python.org/file22094/issue8898_normalize.patch ___ Pyt

[issue11512] adding test suite for cgitb

2011-05-24 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ccd59ba8145e by Charles-François Natali in branch '3.2': Issue #5715: In socketserver, close the server socket in the child process. http://hg.python.org/cpython/rev/ccd59ba8145e -- ___ Python tracker <

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset f13c06b777a7 by Charles-François Natali in branch '3.1': Issue #5715: In socketserver, close the server socket in the child process. http://hg.python.org/cpython/rev/f13c06b777a7 -- nosy: +python-dev ___

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-24 Thread Charles-François Natali
Charles-François Natali added the comment: > New changeset f8c49a930015 by Victor Stinner in branch 'default': > Issue #8407: The signal handler writes the signal number as a single byte > http://hg.python.org/cpython/rev/f8c49a930015 There's a race. If a signal is received while is_tripped is

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Justin, The patch and logic is okay. We can have this is 3.3. - I find that loop_actions as not appropriate name for the new method. It fails to give a intuitive meaning of what is supposed to do. request_action, request_action_continued or anything else wh

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-24 Thread Charles-François Natali
Charles-François Natali added the comment: Checking the kernel version did the trick, the test now run fines on the buildbots. Thanks Victor. Re-closing. -- status: open -> closed ___ Python tracker _

[issue12166] object.__dir__

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f403199f999 by Benjamin Peterson in branch 'default': move specialized dir implementations into __dir__ methods (closes #12166) http://hg.python.org/cpython/rev/8f403199f999 -- nosy: +python-dev resolution: -> fixed stage: -> committed/r

[issue12055] doctest not working on nested functions

2011-05-24 Thread Éric Araujo
Éric Araujo added the comment: 2.7 and 3.2 are the present, but we work for the future :) Thanks for the patch. I’m adding to the nosy list the developers who committed the most recent changes to doctest so that someone can decide whether this new feature is desirable and review the patch.

[issue11242] urllib.request.url_open() doesn't support SSLContext

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's not really useful. If you want to use an SSL context, build your own opener: opener = build_opener(HTTPSHandler(context=mycontext)) opener.open(...) -- ___ Python tracker

[issue11242] urllib.request.url_open() doesn't support SSLContext

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: url_open_ssl_context.patch: add optinal ssl_context argument to urllib.request.url_open(). (ca_file, ca_path) and ssl_context are mutual exclusive. -- keywords: +patch Added file: http://bugs.python.org/file22092/url_open_ssl_context.patch __

[issue11512] adding test suite for cgitb

2011-05-24 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11998] test_signal cannot test blocked signals if _tkinter is loaded; Tcl_Finalize()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: I implemented signal.pthread_kill(), so it's now possible to test pending signals in test_signal, even if _tkinter is loaded. I don't think that we need the _finalize() hack anymore. -- resolution: -> wont fix status: open -> closed

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-24 Thread Nadeem Vawda
Nadeem Vawda added the comment: OK, I'll hold off on doing a detailed review until then. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue12113] test_packaging fails when run twice

2011-05-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: I fixed it. The pypi server missed a Content-Length in its responses, and that made urlretrieve crazy :) -- ___ Python tracker ___ __

[issue12113] test_packaging fails when run twice

2011-05-24 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12113] test_packaging fails when run twice

2011-05-24 Thread Alexis Metaireau
Alexis Metaireau added the comment: Same here, cannot reproduce the issue. I wasn't able to reproduce it even before Tarek's commit so I suppose his commit didnt changed anything regarding this hash problem. Antoine & Tarek, does the attached additional test reproduces the issue on your inst

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

2011-05-24 Thread Brian Curtin
Brian Curtin added the comment: Correction for msg136711 -- s/patch/test/g -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: distutils.sysconfig has also a parse_makefile() function, but it doesn't have the bug. Attached patch fixes this issue: keep "bogus" variables unchanged and adds tests for _parse_makefile(). -- keywords: +patch versions: +Python 3.2 Added file: http:

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: In test_pypi_dist, the leak is shared between test_download() and test_unpack(). -- ___ Python tracker ___

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: In test_mixin2to3.py, the leak is shared between the 3 test methods. -- ___ Python tracker ___ ___

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: In test_command_bdist, the leak is in test_simple_built(). -- ___ Python tracker ___ ___ Python-bug

[issue12167] test_packaging reference leak

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70675864717b by Victor Stinner in branch 'default': Issue #12167: packaging.tests.support, LoggingCatcher restores correctly the http://hg.python.org/cpython/rev/70675864717b New changeset 28c1f8480090 by Victor Stinner in branch 'default': Issue #

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Let's see: -> test_command_bdist_dumb.py leaks: test_packaging leaked [7, 7] references, sum=14 -> test_dist.py leaks: test_packaging leaked [65, 65] references, sum=130 -> test_mixin2to3.py leaks: test_packaging leaked [60, 60] references, sum=120 -> test_p

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Carl Crowder
New submission from Carl Crowder : logging.handlers.SysLogHandler contains this class variable and comment: # curious: when talking to the unix-domain '/dev/log' socket, a # zero-terminator seems to be required. this string is placed # into a class variable so that it can be overrid

[issue12167] test_packaging reference leak

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: DistributionTestCase.test_hooks_get_run() leaks some references, I'm trying to understand where exactly. -- nosy: +haypo ___ Python tracker __

[issue12167] test_packaging reference leak

2011-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I could not find any test in distutils/tests that imports extension modules. -- ___ Python tracker ___ __

  1   2   >