[issue11710] Landing pages in docs for standard library packages

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: The packages without a landing page on 3.2 are: concurrent xml urllib http xmlrpc In the concurrent case the problem could be solved with redirects too, since there's only one module in the package. The other modules could provide a landing page th

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-13 Thread Stefan Krah
Stefan Krah added the comment: I cannot reproduce this on Lucid with: $ uname -r 2.6.32-28-generic Isn't this an Ubuntu problem if sem_open only works with some specific kernels? -- nosy: +skrah ___ Python tracker

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: The first case has been fixed already in 1cbfeffea19f, the second case is not even handled by browsers, so I'm closing this. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tra

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-04-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all the codelines. Thanks for the patch, Santoso. -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker

[issue1147] string exceptions inconsistently deprecated/disabled

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7563f10275a2 by Senthil Kumaran in branch 'default': merge from 3.2. http://hg.python.org/cpython/rev/7563f10275a2 -- nosy: +python-dev stage: -> committed/rejected ___ Python tracker

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset de0da2759c8c by Senthil Kumaran in branch '3.1': Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows http://hg.python.org/cpython/rev/de0da2759c8c -- ___ Python tracker

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-13 Thread Buck Golemon
Buck Golemon added the comment: On Ubuntu 10.10 (maverick), python2.6 is functioning correctly, but python2.7 is giving this error again. $ /usr/bin/python2.7 >>> from multiprocessing.synchronize import Semaphore ImportError: This platform lacks a functioning sem_open implementation, therefo

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! About the rewrapping: * rewrapping what you change is OK, because I know that you changed something and had to rewrap it; * leaving what you changed badly-wrapped is not OK, because it makes the doc a mess after a while; * rew

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4556f17356f2 by Senthil Kumaran in branch '2.7': Fix Issue11474 - url2pathname() handling of '/C|/' on Windows http://hg.python.org/cpython/rev/4556f17356f2 -- nosy: +python-dev ___ Python tracker

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f873729484c by Ezio Melotti in branch '2.7': #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/7f873729484c -- ___ Python tracker

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11c72a305eb5 by Ezio Melotti in branch '3.1': #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/11c72a305eb5 New changeset 62679f2ca9e5 by Ezio Melotti in branch '3.2': #11840: Merge with 3.1. http:

[issue9101] reference json format in file formats chapter

2011-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9101] reference json format in file formats chapter

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0ada1e369cd by Ezio Melotti in branch '3.1': #9101: backport json reference in configparser doc. http://hg.python.org/cpython/rev/d0ada1e369cd New changeset 5a09a335e8e7 by Ezio Melotti in branch '2.7': #9101: backport json reference in configpars

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: I saw that and found it not clear, that's why I rephrased it. In order to understand that one has to know what is a "framed protocol", what can be considered a "JSON document" (is a single object a JSON document? or does it need to be serialized first?), what is

[issue4537] webbrowser.UnixBrowser should use builtins.open

2011-04-13 Thread ackounts
ackounts added the comment: This problem is happening in my linux box: Python 3.2 (r32:88445, Feb 21 2011, 01:55:53) [GCC 4.5.2 20110127 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import antigravity Traceback (most recent call last): Fi

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-04-13 Thread Dirk Pranke
Changes by Dirk Pranke : -- nosy: +dpranke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue11842] slice.indices with negative step and default stop

2011-04-13 Thread João Sebastião de Oliveira Bueno
João Sebastião de Oliveira Bueno added the comment: I don't see this as a bug. The indices returned in both cases are exactly what you need to feed to range, in order to get the correct indices for the provided slice parameters. Perceive that if for s = slice(None, None, -2) It would return

[issue2771] Test issue

2011-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file21659/sometext.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi added the comment: The status of the patches is this: unicode_doc-2.7.patch - to be applied on 2.7 unicode_doc-3.1.patch - to be applied on 3.1 unicode_doc-default.patch - to be applied on 3.2 and then merged on default I had to prepare multiple patches since the files are very dif

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21658/unicode_doc-3.1.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21657/unicode_doc-2.7.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: These people look for alternative configuration format to .ini, for example. -- ___ Python tracker ___ __

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: This doesn't really make sense, since XDR doesn't seem to say anything about unicode strings, just bytes. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-13 Thread R. David Murray
R. David Murray added the comment: Yes, putting the function in _parseaddr is fine. And yes, 232 looks like a good place. The alternative would be understanding the rfc822 parser, which is pretty mind bending, and of doubtful additional benefit. (At most it would save a pair of split/join

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi added the comment: On Tue, Apr 12, 2011 at 23:56, Marc-Andre Lemburg wrote: > Marc-Andre Lemburg added the comment: > I think you misunderstood: when reorganizing the contents of > a file, it's better to apply the patch to all branches, rather > than just the current, since otherwi

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-13 Thread Nadeem Vawda
Nadeem Vawda added the comment: > I think there's basically noone and nothing (even among the buildbots) > that runs bigmem tests on a regular basis, so I'd much rather keep the > mmap() solution, even if that means it must be skipped on OS X. Fair enough. (As an aside, if it is preferable to

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-13 Thread Torsten Becker
Torsten Becker added the comment: > OK, so when I went to apply this, I figured out that the patch isn't quite > right.  I've redone the doc updates, and am attaching a version of the patch > containing them. > > The issue is that the place that the IDNA decode support needs to be added > isn

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Torsten Becker
Changes by Torsten Becker : Added file: http://bugs.python.org/file21656/issue-11828-v4-2.7.patch ___ Python tracker ___ ___ Python-bugs-list

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Torsten Becker
Torsten Becker added the comment: > I got your comments, Torsten. I finds funny too that the tracker is > not notified. > I wrote new comments too, but not using "the right way", so now I am > the one not sure you got them... :-) That time I actually got a separate mail. :) > Better to have a

[issue11842] slice.indices with negative step and default stop

2011-04-13 Thread Daniel Urban
New submission from Daniel Urban : slice.indices behaves strangely with negative step and default stop values (note that the doc says that it "computes information about the slice that the slice object would describe if applied to a sequence of length items"): >>> s = slice(None, None, -2) >>>

[issue11684] Add email.parser.BytesHeaderParser

2011-04-13 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11684] Add email.parser.BytesHeaderParser

2011-04-13 Thread R. David Murray
R. David Murray added the comment: Thanks for correcting my oversight :) -- resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11806] Missing 2 hyphens in the docs

2011-04-13 Thread Boštjan Mejak
Boštjan Mejak added the comment: If you'd look into the English dictionary, you'd find words like coffee-table and command-line and built-in and user-friendly. The main bother in this issue is the inconsistency with the wording "command-line". Somewhere under the argparse section of the docs it

[issue11782] email.generator.Generator.flatten() fails

2011-04-13 Thread R. David Murray
R. David Murray added the comment: I applied this as part of #11684. Thanks. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___

[issue11684] Add email.parser.BytesHeaderParser

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset a95d936ce8eb by R David Murray in branch 'default': #11684: Complete parser bytes interface by adding BytesHeaderParser http://hg.python.org/cpython/rev/a95d936ce8eb -- nosy: +python-dev ___ Python track

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Another solution would be to rewrite the test to not use mmap() at all: > > @precisionbigmemtest(size=_4G + 4, memuse=1) > def test_big_buffer(self, size): > if size < _4G + 4: > self.skipTest("not enough free memory, need at least

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Bryce Verdier
Bryce Verdier added the comment: Not to nitpick, but what about the wording used in the simplejson documentation that Bob wrote almost 3 years ago? Note JSON is not a framed protocol so unlike pickle or marshal it does not make sense to serialize more than one JSON document without some cont

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-13 Thread Stefan Krah
Stefan Krah added the comment: Just to give another data point: A couple of days ago I reduced the memory on the AMD64 FreeBSD bot to (375MB RAM, 2GB swap) and the zlib tests still pass. -- ___ Python tracker

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-13 Thread R. David Murray
R. David Murray added the comment: OK, so when I went to apply this, I figured out that the patch isn't quite right. I've redone the doc updates, and am attaching a version of the patch containing them. The issue is that the place that the IDNA decode support needs to be added isn't in pars

[issue3051] heapq change breaking compatibility

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83e4765ec4cb by Raymond Hettinger in branch '3.2': Issue 3051: make pure python code pass the same tests as the C version. http://hg.python.org/cpython/rev/83e4765ec4cb -- ___ Python tracker

[issue7484] smtplib: verify breaks with Postfix servers

2011-04-13 Thread Felipe Cruz
Changes by Felipe Cruz : Added file: http://bugs.python.org/file21652/issue7484-27_2.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7484] smtplib: verify breaks with Postfix servers

2011-04-13 Thread Felipe Cruz
Felipe Cruz added the comment: David.. I extracted quoteaddr code to _addrformat and now quoteaddr and _addronly call _addrformat passing a format (<%s> or %s). I've also created quoteaddr and _addronly test functions as well modified VRFY and EXPN tests to make sure they call _addronly and

[issue3051] heapq change breaking compatibility

2011-04-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Maciek, I added the compatability code to the Python version as requested. Now the tests pass for both versions. There is still work to be done to automatically run both versions against the test suite. -- ___

[issue3051] heapq change breaking compatibility

2011-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 103a2eb61069 by Raymond Hettinger in branch '2.7': Issue 3051: make pure python code pass the same tests as the C version. http://hg.python.org/cpython/rev/103a2eb61069 -- nosy: +python-dev ___ Python tr

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Better to have a 3.1/2.7 patch. The current workflow requires to patch the old version first (3.1), and up-port the change to 3.2 and 3.3. So, 2.7 and 3.1 would be more useful. Al least if the patch applies to 3.2 and 3.3 easily. If major surgery is needed,

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I got your comments, Torsten. I finds funny too that the tracker is not notified. I wrote new comments too, but not using "the right way", so now I am the one not sure you got them... :-) Go for the 3.3/2.7 patch. Thanks. -- __

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Torsten Becker
Torsten Becker added the comment: > Some comments posted in the review. I'm not sure if my review reply got mailed as I did not get a copy and nothing showed up here. I added some responses/follow up questions in the review. > Could you possibly post a patch for 2.7 too?. Sure, I'll write t

[issue11841] Bug in the verson comparison

2011-04-13 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Here is a patch that I made against distutils2 tip. I have changed _FINAL_MARKER from 'f' to 'z', which works with rc. Also I have added constant _FINAL_MARKER_CHAR, since later in the code you make a check against 'f' and it surprised me a little at firs

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-13 Thread Nadeem Vawda
Nadeem Vawda added the comment: > By the way, at this point I think we could simply skip the test on BSDs > and OS X. The tested functionality is cross-platform, so testing under > a limited set of systems should be ok. Another solution would be to rewrite the test to not use mmap() at all:

[issue10399] AST Optimization: inlining of function calls

2011-04-13 Thread Armin Rigo
Changes by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: Can you be more precise? IOW, why is this a Python bug rather than a system misconfiguration? Note that I don’t know a lot about POSIX, so I’m open to change my mind. -- stage: needs patch -> versions: +Python 3.3

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-04-13 Thread Brian Bi
Brian Bi added the comment: I discovered this while I was implementing and testing a sandbox for automatic evaluation of programs. -- ___ Python tracker ___ ___

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: Can someone explain how it can happen that a user has no home directory? -- ___ Python tracker ___ ___

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: LGTM. -- versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mai

[issue10976] json.loads() throws TypeError on bytes object

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: If you’re talking about deprecating the obsolete encoding argument (maybe it’s time for a new bug report), +1. -- versions: -Python 3.1 ___ Python tracker _

[issue3051] heapq change breaking compatibility

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: The global docs index has one entry for “comparison”, which is http://docs.python.org/dev/reference/expressions#not-in This other page says that “in general, __lt__() and __eq__() are sufficient, if you want the conventional meanings of the comparison operators”:

[issue11186] pydoc: HTMLDoc.index() doesn't support PEP 383

2011-04-13 Thread STINNER Victor
STINNER Victor added the comment: > If a user unknowingly creates such a module with an unencodable > filename, will they understand why pydoc does not display it? It is really a bad idea to choose an *undecodable* name for a module. You will not be able to write its name using "import name" s

[issue11828] startswith and endswith don't accept None as slice index

2011-04-13 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Some comments posted in the review. Could you possibly post a patch for 2.7 too?. Thanks. If any other reviewer agree, I will commit the patch. -- ___ Python tracker _

[issue11186] pydoc: HTMLDoc.index() doesn't support PEP 383

2011-04-13 Thread Éric Araujo
Éric Araujo added the comment: The wording “pydoc ignores a module” is confusing to me: I can’t tell whether it is a description of the bug (“pydoc ignored a module”) or the new, correct behavior (“pydoc now ignores a module”). Regarding the problem and fix itself, I’m wondering. If a user u

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-04-13 Thread Jesse Noller
Jesse Noller added the comment: > Note: I noticed that there are some thread-unsafe operations (the cache that > can be modified from different threads, and thread states are modified also > from different threads). While this isn't an issue with the current cPython > implementation (GIL), I

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: So i'll changed the existing message_from_(binary_)?file() tests to also test the file closing. -- Added file: http://bugs.python.org/file21649/11701.2.diff ___ Python tracker

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Wed, Apr 13, 2011 at 01:07:28PM +, R. David Murray wrote: > TestIdempotent is already run for both the bytes and str cases (*^.^*) Ouch. Searching is only for the experienced. -- ___ Python tracker

[issue8809] smtplib should support SSL contexts

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

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread R. David Murray
R. David Murray added the comment: For easy reference, here's a hash for that changeset that roundup will turn into a link: e727cf354720. TestIdempotent is already run for both the bytes and str cases (they are widely separated in the test file...I'll fix that at some point). -- ___

[issue11806] Missing 2 hyphens in the docs

2011-04-13 Thread Eli Bendersky
Eli Bendersky added the comment: On Wed, Apr 13, 2011 at 14:54, Boštjan Mejak wrote: > > BoÅ¡tjan Mejak added the comment: > > Also, please fix the main title of the argparse section... > > from > 15.4. > argparse > — > Parse

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-04-13 Thread STINNER Victor
STINNER Victor added the comment: print(repr(json.loads(json.dumps({u"my_key": u'\uda00'}))['my_key'])): - displays u'\uda00' in Python 2.7, 3.2 and 3.3 - raises a ValueError('Invalid \u escape: ...') on loads() in Python 2.6 - raises a ValueError('Unpaired high surrogate: ...') on loads(

[issue11806] Missing 2 hyphens in the docs

2011-04-13 Thread Boštjan Mejak
Boštjan Mejak added the comment: Also, please fix the main title of the argparse section... from 15.4. argparse — Parser for command line options, arguments and sub-commands to 15.4. argparse

[issue11700] mailbox.py proxy updates

2011-04-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Amaury Forgeot d'Arc wrote: > mbf.close() should not fail when called twice. The close() method in the > io > module states that "This method has no effect if the file is already > > closed." > But then, is "close=False" necessary? I see you've detach

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: This patch fixes the problem. It was introduced in e727cf35. David Murray, i've looked into test_email.py to add tests for this, and i found TestIdempotent(). What i would do is try to split that thing up so that it covers str() as well as bytes(), rewr

[issue9101] reference json format in file formats chapter

2011-04-13 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: And what are these people looking for? "json"? If so, there's already an entry in the module index. That seems sufficient. -- nosy: +fdrake ___ Python tracker __

[issue10121] test_multiprocessing stuck in test_make_pool if run in a loop

2011-04-13 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: It's probably a duplicate of http://bugs.python.org/issue8428 It would be nice if you could try to reproduce it with a py3k snapshot though, just to be sure. -- nosy: +neologix ___ Python tracker

[issue11841] Bug in the verson comparison

2011-04-13 Thread Tarek Ziadé
New submission from Tarek Ziadé : The NormalizedVersion class is not correctly sorting rc1: >>> from packaging.version import NormalizedVersion >>> NormalizedVersion('0.7.0') < NormalizedVersion('0.7.0rc1') True >>> NormalizedVersion('0.7.0rc1') NormalizedVersion('0.7rc1') >>> NormalizedVersion(

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2011-04-13 Thread Darío Suárez Gracia
Darío Suárez Gracia added the comment: Hello, Trying to share a dictionary of dictionaries of lists with a manager I get the same problem with the patch applied in Python 2.7 (r27:82500, Nov 24 2010, 18:24:29) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2. The shared variable in results a

[issue8426] multiprocessing.Queue fails to get() very large objects

2011-04-13 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: It's documented in http://docs.python.org/library/multiprocessing.html#multiprocessing-programming : """ Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the buffered

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: But having a reference from File Formats will help people find this information easier. -- ___ Python tracker ___ __

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Right. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file21135/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9101] reference json format in file formats chapter

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: We don't have a "Data-interchange Formats" section, so the "Internet Data Handling" section seems more appropriate than the "File Formats" one, right? -- ___ Python tracker

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Attached patch adds a note about the effects of using dump several times on the same file. -- keywords: +easy, needs review, patch nosy: +ezio.melotti stage: -> patch review Added file: http://bugs.python.org/file21645/issue4783.diff __

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: JSON is not file format, it is data-interchange format. -- ___ Python tracker ___ ___ Python-bugs

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-04-13 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: This problem arises because the pool's close method is called before all the tasks have completed. Putting a sleep(1) before pool.close() won't exhibit this lockup. The root cause is that close makes the workers handler thread exit: since the maxtask

[issue11806] Missing 2 hyphens in the docs

2011-04-13 Thread Boštjan Mejak
Boštjan Mejak added the comment: Georg Brandl, please fix this typos. You would understand. Thank you. -- Added file: http://bugs.python.org/file21643/unnamed ___ Python tracker __

[issue9101] reference json format in file formats chapter

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: The json module is listed in the Internet Data Handling section[0], and the description says: """ This chapter describes modules which support handling data formats commonly used on the Internet. """ This seems OK for json. The File Format section[1] says: """

[issue10976] json.loads() throws TypeError on bytes object

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Now it's too late for 3.2, should this be done for 3.3? -- nosy: +ezio.melotti ___ Python tracker ___ ___

[issue5723] Incomplete json tests

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Some tests for py_make_scanner have been added in c3ad883b940b. I agree that having the tested method as an attribute of the class and changing it on a different subclass is the best approach, but it's not currently done by the json tests. Do you think the test