[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll m...@pythonlibrary.org added the comment: I know Python 3.x still runs on XP too, but should we continue to mention it in our documentation? I don't know. Part of the reason I wrote up all that was to see if people had any well thought out arguments one way or the other on

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll m...@pythonlibrary.org added the comment: Should the patch for 1b replace Python 2.2 with Python 2.7/3.2 or just Python 3.2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14901

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: ElementTree supports incremental parsing with the iterparse() method, not sure it fills your use case: http://docs.python.org/dev/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse As for the json module, it doesn't have such a

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I'd rather it tried to stay as version agnostic as could be, but favoring 3.x in general. I wouldn't tie it down to any particular version because we'll have to come back in several years and update Python 3.3 to Python 3.8. --

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Frederick Ross
Frederick Ross madhad...@gmail.com added the comment: Antoine, It's not iterative parsing, it's a sequence of XML docs or json objects. Eric, the server I'm retrieving from, for real time searches, steadily produces a stream of (each properly formed) XML or json documents containing new

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I know Python 3.x still runs on XP too, but should we continue to mention it in our documentation? I don't know. Part of the reason I wrote up all that was to see if people had any well thought out arguments one way or the other on these

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think it is perfectly reasonable for a parser to leave the file pointer in some undefined further location into the file when it detects extra stuff and produces an error message. One can certainly argue that producing that error

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: I'll, remember that in future;-) Closing. -- resolution: - fixed stage: - committed/rejected status: open - closed type: crash - behavior ___ Python tracker rep...@bugs.python.org

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12091 ___

[issue14548] garbage collection just after multiprocessing's fork causes exceptions

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14548 ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll m...@pythonlibrary.org added the comment: Could we say just Python and ignore the version number? Or would Python 2.7 work for the 2.7 branch patch since there isn't supposed to be a 2.8 and then for Python 3 we could go with 3.x? --

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m not sure we understand each other. Can you give examples of the outdated code samples so that we can discuss something concrete? -- ___ Python tracker rep...@bugs.python.org

[issue3177] Add shutil.open

2012-05-25 Thread Hobs
Hobs hobsonl...@gmail.com added the comment: Could even add an `operation` parameter to let the caller select actions, including 'auto' implemented as Larry suggests. Sometimes you feel like trusting the user's xdg-open preferences/settings. Sometimes you don't. Easy enough to let the caller

[issue9244] multiprocessing.pool: Worker crashes if result can't be encoded

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: The patch was applied to 3.x branch in 0aa8af79359d and partially backported to 2.7 in 26bbff4562a7 - see #9400. I will close. -- nosy: +sbt resolution: - fixed stage: - committed/rejected status: open - closed

[issue13751] multiprocessing.pool hangs if any worker raises an Exception whose constructor requires a parameter

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: This is a duplicate of #9244 and #9400 which have been fixed by wrapping unpicklable exceptions in picklable exceptions. The larger issue of many exception classes being unpicklable, is dealt with in #1692335. -- resolution: -

[issue13751] multiprocessing.pool hangs if any worker raises an Exception whose constructor requires a parameter

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13751 ___ ___

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Frederick Ross
Frederick Ross madhad...@gmail.com added the comment: In the case of files, sure, it's fine. The error gives me the offset, and I can go pull it out and buffer it, and it's fine. Plus XML is strict about having only one document per file. For streams, none of this is applicable. I can't seek

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, if the stream isn't seekable then I don't see how it can be left in any state other than the same one it leaves a file (read ahead as much as it read to generate the error). So unfortunately by our backward compatibility rules I

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Tuukka Tolvanen
New submission from Tuukka Tolvanen tuukka.tolva...@gmail.com: LANG=C python3.2 -c 'import urllib.parse; help(urllib.parse)' Traceback (most recent call last): File string, line 1, in module File /usr/lib/python3.2/site.py, line 477, in __call__ return pydoc.help(*args, **kwds) File

[issue12338] multiprocessing.util._eintr_retry doen't recalculate timeouts

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: _eintr_retry was removed by 99ef4501205b. -- resolution: - out of date stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This works fine for me on Gentoo Linux with both 3.2.3+ (ie: what's in the repo) and 3.2.2. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14920

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Ah, I should clarify: Gentoo's 3.2.2. I'm sure they've added some patches, just like Debian. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14920

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2012-05-25 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Here is a patch for 3.3. All of the tests pass successfully. Unfortunately, it is a little slow, but I tried to minimize the losses. -- Added file: http://bugs.python.org/file25709/issue8271-3.3.patch

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14731 ___ ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll m...@pythonlibrary.org added the comment: Okay. Here are a couple from http://docs.python.org/faq/windows.html#how-do-i-run-a-python-program-under-windows: You may also find that you have a Start-menu entry such as Start ‣ Programs ‣ Python 2.2 ‣ Python (command line) Then

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Daniel Holth
New submission from Daniel Holth dho...@fastmail.fm: Based on the supply, there is a tremendous demand for printers of nested lists (as long as they are not too complicated). But how will I find and compare the available options? Add a trove classifier Topic :: Nested Lists to ease the

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14920 ___ ___

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Daniel Holth
Changes by Daniel Holth dho...@fastmail.fm: -- resolution: - postponed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14921 ___

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Serhiy: did you add 3.3 because you can reproduce it on 3.3? -- components: +Library (Lib) -None ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14920

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8ba99b810b40 by R David Murray in branch 'default': #14731: add preliminary What's New entry for policy framework. http://hg.python.org/cpython/rev/8ba99b810b40 -- ___

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14731 ___

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14921 ___ ___ Python-bugs-list

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2012-05-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Do you have any benchmark results? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8271 ___

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0189b9d2d6bc by R David Murray in branch 'default': #12586: add provisional email policy with new header parsing and folding. http://hg.python.org/cpython/rev/0189b9d2d6bc -- nosy: +python-dev

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-05-25 Thread Pablo Oliveira
New submission from Pablo Oliveira pa...@sifflez.org: I'm using Python 2.7.3rc2 from debian sid packages. If a mailbox.Maildir object is created with a unicode dirname, retrieving a message tagged with maildir flags with get() or get_message() fails with the following exception: Traceback

[issue14775] Dict untracking can result in quadratic dict build-up

2012-05-25 Thread stw
stw sil...@googlemail.com added the comment: So the tuple is linked-in to the garbage collection list before its contents are constructed? It is. It typically happens when you do (in C code): Ok, thanks. I couldn't see how a tuple could be created before its contents in python code, but it

[issue3177] Add shutil.open

2012-05-25 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Could even add an `operation` parameter to let the caller select actions, [...] operation in ['auto', 'run', 'edit', 'display', 'browse', 'explore', 'share', 'send', 'like', 'email', 'open', 'xdg-open', ...] # can be incrementally

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file25712/issue14673_as_module.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673 ___

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file25713/issue14673_as_type.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673 ___

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file25714/issue14673_as_structseq.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673 ___

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file25715/issue14673_as_simple_namespace.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673 ___

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: I've just attached 4 patches, one for each of the likeliest implementations. All 4 ran the test suite successfully. In my mind, the simple namespace one is the best fit. However, it involves adding a new built-in type (though a

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673 ___ ___ Python-bugs-list

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ea25ce432343 by Senthil Kumaran in branch '3.2': Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg http://hg.python.org/cpython/rev/ea25ce432343 New changeset

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Sharif Nassar
Sharif Nassar mrwack...@gmail.com added the comment: Even better: diff -r 747eec42e7ae distutils2/create.py --- a/distutils2/create.py Mon May 21 17:01:44 2012 -0400 +++ b/distutils2/create.py Fri May 25 19:04:22 2012 -0700 @@ -674,7 +674,7 @@ %s Status'''

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I have fixed the help to include only ascii characters ( represented in hex) so that conversion to bytes is represented in the help and also the terminal whose LANG is C is able to display them too. On Ubuntu, when I had LANG=C, locale

[issue14919] what disables one from adding self to the nosy list

2012-05-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I thought everybody who is logged in had such permissions. That part of the sentence refers to users that are not logged in. It can be removed if you think it's confusing/unnecessary. -- assignee: - ezio.melotti type: -

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Todd DeLuca
Todd DeLuca todddel...@gmail.com added the comment: That was my first thought, but if python2.5 compatibility is important, I don't think using the start parameter is an option. http://docs.python.org/library/functions.html#enumerate Changed in version 2.6: The start parameter was added.

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 331cceee3b45 by R David Murray in branch 'default': #12586: Expand What's New email entry with provisional policy features. http://hg.python.org/cpython/rev/331cceee3b45 --

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 09e97829ed1e by R David Murray in branch 'default': Add news entries for #14731 and #12586. http://hg.python.org/cpython/rev/09e97829ed1e -- ___ Python tracker

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 09e97829ed1e by R David Murray in branch 'default': Add news entries for #14731 and #12586. http://hg.python.org/cpython/rev/09e97829ed1e -- ___ Python tracker

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2b6f183091b9 by R David Murray in branch 'default': #12586: Fix a small oversight in the new email policy header setting code. http://hg.python.org/cpython/rev/2b6f183091b9 --

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: There are other paramaters that take optional 'files'. Whatever change is made should be done uniformly for all. 'File' is unfortunately vague, as it could mean file object or file name or both. If file name, it could be str only or (for

[issue9527] Add aware local time support to datetime module

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset df12ce0c96eb by R David Murray in branch 'default': #665194: Add a localtime function to email.utils. http://hg.python.org/cpython/rev/df12ce0c96eb -- nosy: +python-dev

[issue665194] datetime-RFC2822 roundtripping

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset df12ce0c96eb by R David Murray in branch 'default': #665194: Add a localtime function to email.utils. http://hg.python.org/cpython/rev/df12ce0c96eb -- ___ Python tracker

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12586

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: We ended up deciding to keep backward compatibility and add datetime support as a new API. All of these changes are now checked in to default. (See issue 665194, as well as issue 12586.) -- resolution: - duplicate stage:

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-05-25 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Here's my first pass at a patch. For this patch, I took the proposal to its logical extreme: I removed every function in os that was both mildly redundant with an existing function *and* has been added since 3.2, and moved that functionality

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: distutils indeed supports 2.5-2.7. The first proposed fix should be fine, what’s needed is a unit test (more info in the devguide). -- stage: needs patch - test needed ___ Python tracker

<    1   2