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

2012-05-25 Thread Ezio Melotti
Ezio Melotti added the comment: Do you have any benchmark results? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2012-05-25 Thread Roundup Robot
Roundup Robot 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 ___ Python

[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 : 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 (most recent call las

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

2012-05-25 Thread stw
stw 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 is clearly possibl

[issue3177] Add shutil.open

2012-05-25 Thread Larry Hastings
Larry Hastings 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 added/implemented

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25712/issue14673_as_module.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25713/issue14673_as_type.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25714/issue14673_as_structseq.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue14673] add sys.implementation

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

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Eric Snow 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 private one). If that is too c

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

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

2012-05-25 Thread Roundup Robot
Roundup Robot 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 cb62c958dd6a by Senthil Kumaran in bra

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

2012-05-25 Thread Sharif Nassar
Sharif Nassar 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''' % '\n'.join('%s - %s

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

2012-05-25 Thread Senthil Kumaran
Senthil Kumaran 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 gave the following o/p

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

2012-05-25 Thread Ezio Melotti
Ezio Melotti 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: -> enhancement ___

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

2012-05-25 Thread Todd DeLuca
Todd DeLuca 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." Regards, Todd On Fri,

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

2012-05-25 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-05-25 Thread Roundup Robot
Roundup Robot 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 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 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 -- ___ Python tracker

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy 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 2.7), str and unicode

[issue9527] Add aware local time support to datetime module

2012-05-25 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

[issue665194] datetime-RFC2822 roundtripping

2012-05-25 Thread Roundup Robot
Roundup Robot 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 : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

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

2012-05-25 Thread R. David Murray
R. David Murray 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: needs patch -> committed/

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

2012-05-25 Thread Larry Hastings
Larry Hastings 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 to the equivalent e

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

2012-05-25 Thread Éric Araujo
Éric Araujo 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

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

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: PyPI requests do not use this tracker; see PyPI for the link to the right place. In this case anyway a request would certainly be rejected: the projects you’ve seen do not come from a high demand, but from one teaching book. Search the catalog-sig archives for

<    1   2