[issue12155] queue example doesn't stop worker threads

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > Is it unclear to you what those mean? Well, it's clear, but I like when I can simply copy/paste the example and it does just work: > If you post a high-quality self-contained example somewhere > on the net, I would be happy to link to it. I just propose t

[issue6560] socket sendmsg(), recvmsg() methods

2011-05-24 Thread Gergely Kálmán
Gergely Kálmán added the comment: No, indeed this is a lot better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue8796] Deprecate codecs.open()

2011-05-24 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : -- title: Deprecate codecs.open(), codecs.StreamReader and codecs.StreamWriter -> Deprecate codecs.open() ___ Python tracker ___ _

[issue12166] object.__dir__

2011-05-24 Thread Michael Foord
New submission from Michael Foord : Implementing a custom __dir__ method is fiddly because there is no way of obtaining the standard list of attributes that dir would return. Moving the relevant parts of the dir implementation into object.__dir__ would allow a custom __dir__ to obtain the "sta

[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: > I think it's better to use a StringIO instance for the tests. For which test excatly? An encoder produces bytes, I don't the relation with StringIO. -- ___ Python tracker

[issue12049] expose RAND_bytes() function of OpenSSL

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c716437a83a by Victor Stinner in branch 'default': Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl http://hg.python.org/cpython/rev/5c716437a83a -- nosy: +python-dev ___ Pyth

[issue12049] expose RAND_bytes() function of OpenSSL

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

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
New submission from Antoine Pitrou : Looks like either packaging or test_packaging forgets to clean up after itself: results for 9a16fa0c9548 on branch "default" test_packaging leaked [193, 193, 193] references, sum=579 -- assignee: tarek co

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

2011-05-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > >> I think it's better to use a StringIO instance for the tests. > > For which test excatly? An encoder produces bytes, I don't the relation with > StringIO. Sorry, BytesIO in Python3-speak.

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

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: threading_get_ident.patch: make get_ident() public, replace threading._get_ident() by threading.get_ident(). According to this patch, get_ident() function *is* used: it is used by the logging and reprlib modules (and many tests). My patch avoids the usage of

[issue12167] test_packaging reference leak

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

[issue12140] Crash upon start up

2011-05-24 Thread Philip Drew
Philip Drew added the comment: Ok, python now works in command prompt, but IDLE still wont run. Also, PYTHONHOME needs to be reset on every start up of command prompt. -- ___ Python tracker ___

[issue12166] object.__dir__

2011-05-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: @Antoine: What's your opinion? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11748] test_ftplib failure in test for source_address

2011-05-24 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Is this fixed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: IMO this was all obsolete long ago, when we replaced stdout-based comparison of test results with proper assert* method calls. -- ___ Python tracker _

[issue12140] Crash upon start up

2011-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, this is probably a system-wide setting. PYTHONHOME should not be set, especially if it points to another python installation. You should consider removing it. Is "alien swarm" a game? Why did it modify the system this way? Does the game still work

[issue12167] test_packaging reference leak

2011-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Probably because new extension modules are built and imported on every run. -- nosy: +amaury.forgeotdarc ___ Python tracker ___ _

[issue12167] test_packaging reference leak

2011-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Probably because new extension modules are built and imported on every run. Well, test_distutils does the same, doesn't it? -- ___ Python tracker __

[issue12140] Crash upon start up

2011-05-24 Thread Philip Drew
Philip Drew added the comment: Awesome. It's fixed- do you still want to know whether or not the game works. In case it helps, I installed the game before python -- ___ Python tracker _

[issue12140] Crash upon start up

2011-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It's definitely a bad thing to set PYTHONHOME at the system level, when there are several pythons installed. Please report this to the game's developers. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___

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

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

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

[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: In test_command_bdist, the leak is in test_simple_built(). -- ___ Python tracker ___ ___ Python-bug

[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_pypi_dist, the leak is shared between test_download() and test_unpack(). -- ___ Python tracker ___

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

[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

[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

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

[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

[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

[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

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

[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

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

[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

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

[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

[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

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

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

[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

[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

[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

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

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

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

[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 R. David Murray
R. David Murray added the comment: s/handler/receiver/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[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

[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

[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

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

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

[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

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

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

[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

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

[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

[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

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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

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

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

[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

[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

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

[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

[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

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

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

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

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

[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

[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

[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

  1   2   >