[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1690201] Added support for custom readline functions

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1746656] IPv6 Interface naming/indexing functions

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5441] Convenience API for timeit.main

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1158231] string.Template does not allow step-by-step replacements

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue6048] make distutils use the tarfile module

2010-08-08 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> fixed stage: -> committed/rejected title: make distutils use the tarinfo command -> make distutils use the tarfile module ___ Python tracker

[issue1617161] Instance methods compare equal when their self's are equal

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1763] Winpath module - easy access to Windows directories like My Documents

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: distutils in 2.7 and 3.1 use tarfile. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> make distutils use the tarfile module ___ Python tracker

[issue1491804] Simple slice support for list.sort() and .reverse()

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5248] Adding T_SIZET to structmember.h

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6786] readline and zero based indexing

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not see a change as being accepted. It would not add any new function but probably break code, if not habits, for the sake of consistency that would have been nice. -- resolution: -> rejected status: open -> closed versions: -Python 2.7, Python

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Applied the lru_cache() to fnmatch and re. See r83874 r83871. I did find a simple way to dynamically resize the maxcache, but did not apply it yet. Will look at more applications to see if it is really needed. Nick, thanks for the great ideas. These cha

[issue3592] Patch to add imp.get_codingspec()

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1116520] Prefix search is filesystem-centric

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this request still relevant for 3.2? -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ __

[issue1682403] docutils clarification request for "rest"

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: It seems to me that the last few messages suggest that this should be closed. -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue694339] IDLE: Dedenting with Shift+Tab

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review title: Dedenting with Shift+Tab -> IDLE: Dedenting with Shift+Tab versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue5187] distutils upload should prompt for the user/password too

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1109659] distutils argument parsing is bogus

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7007] Tiny inconsistency in the orthography of "url encoded" in the doc of urllib.parse

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue4899] doctest should support fixtures

2010-08-08 Thread Tim Peters
Tim Peters added the comment: I stopped understanding doctest the last time it was rewritten - it got far more generalized than I ever intended already. It's up to the younger generation to decide how much more inscrutable to make it now ;-) -- __

[issue634412] RFC 2112 in email package

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1443875] email/charset.py convert() patch

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue3831] Multiprocessing: Expose underlying pipe in queues

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4892] Sending Connection-objects over multiprocessing connections fails

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Nick Coghlan
Nick Coghlan added the comment: On Mon, Aug 9, 2010 at 2:29 PM, Raymond Hettinger wrote: > I did find a simple way to dynamically resize the maxcache, but did not apply > it yet.   Will look at more applications to see if it is really needed. > > Nick, thanks for the great ideas.  These change

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: I was thinking about the problem of developers wanting a different cache size than that provided in standard lib modules. ISTM that now we've offered caching abilities in functools, a developer can easily add another layer of cache around any API they are

[issue9532] pipe.read hang, when calling commands.getstatusoutput in multi-threading code of python 2.4

2010-08-08 Thread denny
denny added the comment: Hi David I have tried in another testbd with python 2.6.5, and the problem of hang doesn't reproduce, after retrying for several times. The original hang happens in pipe.read of commands module. After comparing the code of python 2.4.4 and python 2.6.5, I noticed two

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Nick Coghlan
Nick Coghlan added the comment: On Mon, Aug 9, 2010 at 3:11 PM, Raymond Hettinger wrote: > ISTM, we should just provide basic caching with reasonable space consumption > (i.e. not huge) that gives improvements to common use cases (like I've done > with the fnmatch and re module) and let progr

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

2010-08-08 Thread Paul Arnold
New submission from Paul Arnold : In Python 3.1, xdrlib.Packer().pack_fstring() throws a TypeError if called with a str() (an encoded string bytes() works just fine). >>> xdrlib.Packer().pack_fstring(6, "foobar") Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3

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

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Can you tell if it applies to 3.2? Also, is the doc unclear on this point? -- nosy: +merwok ___ Python tracker ___

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

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: Editing type. (FYI, you can follow the link to see some descriptions.) -- type: crash -> behavior ___ Python tracker ___ __

[issue7973] Wrong spelling of distutils options in error messages and docs

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: Ported to distutils2 in 8e948c6e93f9. -- components: +Distutils2 nosy: +merwok stage: -> committed/rejected ___ Python tracker ___ ___

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

2010-08-08 Thread Paul Arnold
Paul Arnold added the comment: It will apply to 3.2 also, checking in SVN there have been no changes to xdrlib.py for a couple of years. The documentation makes no mention of the need to encode strings. -- ___ Python tracker

[issue4617] SyntaxError when free variable name is also an exception target

2010-08-08 Thread Stefan Behnel
Changes by Stefan Behnel : -- nosy: -scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5187] distutils upload should prompt for the user/password too

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: Hm, doing user interaction in finalize_options seems strange to me, but if we do it in run only other commands (upload_docs in d2) would not be able to get the options (although I’m not sure at all, since the index commands have strange command-line parsing). C

[issue5187] distutils upload should prompt for the user/password too

2010-08-08 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Distutils2 -Distutils stage: -> needs patch versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___

<    1   2   3