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

2010-08-09 Thread Paul Arnold
Paul Arnold p...@barfoo.net 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-09 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: -- nosy: -scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4617 ___ ___

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

2010-08-09 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2010-08-09 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 -Distutils stage: - needs patch versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5187

[issue9545] Adding _collections to static build

2010-08-09 Thread Senthil Kumaran
New submission from Senthil Kumaran orsent...@gmail.com: As a fix for issue9396 in r83874, functools was included in re module and this caused a build failure. This was reverted in r83875, with the following message by Raymond: The problem is that the re module is imported by sysconfig and re

[issue4913] wave.py: add writesamples() and readsamples()

2010-08-09 Thread Alex Robinson
Alex Robinson alex_python_...@tranzoa.com added the comment: Here go, Terry. Copies of the two files in the latest ZIP file. Hmmm. Well. Maybe just one of 'em. Looks like the only way to upload files is to add a msg, so I'll upload the other file in another msg. -- Added file:

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

2010-08-09 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: no, distutils is feature frozen -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5187 ___ ___

[issue4913] wave.py: add writesamples() and readsamples()

2010-08-09 Thread Alex Robinson
Alex Robinson alex_python_...@tranzoa.com added the comment: OK, here's the other. -- Added file: http://bugs.python.org/file18452/test_wave.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4913

[issue9545] Adding _collections to static build

2010-08-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in revision 83876. The reverted commit r83875 is re-applied in r83877. -- assignee: - orsenthil components: +Build nosy: +rhettinger resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python

[issue9543] 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable

2010-08-09 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks for the report and for figuring out what was the cause! Indeed the view added after the del shouldn't be there, so I will remove it. It would also be great if you could provide a minimal script to reproduce the problem so that it can

[issue9543] 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable

2010-08-09 Thread Martin
Martin gzl...@googlemail.com added the comment: spiv wrote a script to repo the issue in the downstream ubuntu bug: https://bugs.launchpad.net/python/+bug/615240 -- nosy: +gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9543

[issue9543] 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable

2010-08-09 Thread Andrew Bennetts
Andrew Bennetts s...@users.sourceforge.net added the comment: I have a reproduction script on the Ubuntu bug report I just filed for this issue: https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/615240 Pasting here for convenience: import socket import threading sock_a, sock_b =

[issue8411] Improve condition variable emulation on NT

2010-08-09 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: You wan't to have the Semaphore with a max count of infinite because a) of the race condition mentioned (actually, possible discrepancy between n_waiting and actual semaphore value), which can cause the semaphore count to

[issue5673] Add timeout option to subprocess.Popen

2010-08-09 Thread Pablo Bitton
Pablo Bitton pablo.bit...@gmail.com added the comment: I've been using the subprocess-timeout-v5.patch patch with 2.x. Isn't that version supposed to work with 2.x? Other than the stated problem, the patched module generally works, and is very helpful. --

[issue5673] Add timeout option to subprocess.Popen

2010-08-09 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list

[issue5416] str.replace does strange things when given a negative count

2010-08-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed the doc string for release27-maint in revision r83879. py3k (r83880) and release31-maint in r83881. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed type: feature request - behavior

[issue1682403] docutils clarification request for rest

2010-08-09 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is there documentation somewhere that would explain what file to produce with what markup? -- assignee: loewis - tarek nosy: +merwok, tarek ___ Python tracker rep...@bugs.python.org

[issue9545] Adding _collections to static build

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reverted since it broke the buildbots. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9545 ___

[issue8685] set(range(100000)).difference(set()) is slow

2010-08-09 Thread Andrew Bennetts
Andrew Bennetts s...@users.sourceforge.net added the comment: On 2010-05-17 rhettinger wrote: Will look at this when I get back to the U.S. Ping! This patch (set-difference-speedup-2.diff) has been sitting around for a fair few weeks now. It's a small patch, so it should be relatively easy

[issue1116520] Prefix search is filesystem-centric

2010-08-09 Thread Steve Holden
Steve Holden st...@holdenweb.com added the comment: Personally I think it's just as relevant as it always was, particularly with the introduction of importlib, but Brett will have a more informed opinion. I won't be surprised if this issue is closed as wontfix. --

[issue9545] Adding _collections to static build

2010-08-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This is the message from the buildbot failure: Modules/Setup.dist is newer than Modules/Setup; check to make sure you have all the updates you need in your Modules/Setup file. Usually, copying Modules/Setup.dist to Modules/Setup will work.

[issue9543] 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable

2010-08-09 Thread Andrew Bennetts
Andrew Bennetts s...@users.sourceforge.net added the comment: Chatting with Taggnostr on IRC I've trimmed that reproduction down to something much cleaner (no magic numbers or threads involved): import socket sock_a, sock_b = socket.socketpair() sock_a = socket.socket(_sock=sock_a)

[issue9546] buildbot: if a compile error occurs, the clean step is skipped

2010-08-09 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: When the buildbot fails to compile, the clean step is not run. http://www.python.org/dev/buildbot/builders/i386%20Ubuntu%203.x/builds/1838/ This is a problem for issue #9545 where the Modules/Setup.dist cannot be copied to

[issue9545] Adding _collections to static build

2010-08-09 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: See report on issue #9546: the clean step should remove Modules/Setup, but it is skipped. -- dependencies: +buildbot: if a compile error occurs, the clean step is skipped nosy: +flox ___

[issue9452] configparser support for reading from strings and dictionaries

2010-08-09 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Patch committed on py3k branch in r83889. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9452

[issue9546] buildbot: if a compile error occurs, the clean step is skipped

2010-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9546 ___ ___

[issue3592] Patch to add imp.get_codingspec()

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: We don't need this. We have tokenize.detect_encoding(). -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3592

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: r83890 no longer produces the extra argument in help(). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6678

[issue8666] Allow ConfigParser.get*() to take a default value

2010-08-09 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Superseded by #6751 in terms of age. A new patch for the functionality is going to be prepared. -- nosy: +lukasz.langa resolution: - duplicate status: open - closed superseder: - Default return value in ConfigParser

[issue5804] Add an 'offset' argument to zlib.decompress

2010-08-09 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: decompressobj is indeed enough. But if you are doing a lot of this (decompressing chunks), then using the unused_data, as it is, involves a lot of copying. If there were a unused_data_pos or some equivalent, then it would be

[issue8685] set(range(100000)).difference(set()) is slow

2010-08-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8685 ___ ___ Python-bugs-list

[issue5673] Add timeout option to subprocess.Popen

2010-08-09 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I've been using the subprocess-timeout-v5.patch patch with 2.x. Isn't that version supposed to work with 2.x? Actually, yes, so I was wrong at first. The v5 patch will work with 2.x, but that's not the most up to date or correct patch. This

[issue4726] doctest gets line numbers wrong due to quotes in comments

2010-08-09 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Out of date. -- nosy: +flox status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4726 ___

[issue8685] set(range(100000)).difference(set()) is slow

2010-08-09 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Andrew, This issue is somewhat similar to issue8425. I may be reading too much into the priority field, but it looks like Raymond would like to review #8425 first. You can help by commenting on how the two issues

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2010-08-09 Thread Alex Quinn
Alex Quinn aq2...@alexquinn.org added the comment: I am on Windows 7. I realized the echo command I'm piping to belongs to Cygwin. I'll try to make a different example to either support this, or otherwise close the bug. Thanks! -- ___ Python

[issue9547] iterator length

2010-08-09 Thread Alexandru Moșoi
New submission from Alexandru Moșoi alexan...@mosoi.ro: Sometimes it's useful to get the number of elements yield by an iterator. For example (if ilen is the name of the function): def pi(n): return ilen(for e in xrange(n) if isprime(e)) def count_pred(pred, iterator): return

[issue9547] iterator length

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Please post to python-ideas first. -- nosy: +benjamin.peterson resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9547

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Benjamin: Previously, .currentframe() == sys._getframe() == sys._getframe(0) but you redefined it as sys._getframe(1), which is a change in semantics. Is this intentional (ie, was it buggy before)? William: Benjamin's point was that the bug

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/8/9 Terry J. Reedy rep...@bugs.python.org: Terry J. Reedy tjre...@udel.edu added the comment: Benjamin: Previously, .currentframe() == sys._getframe() == sys._getframe(0) but you redefined it as sys._getframe(1), which is a

[issue8834] Define order of Misc/ACKS entries

2010-08-09 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in release27-maint branch in r83893. I am not sure this belongs in 2.6 and there is a small practical problem with the merge due to Latin-1 encoding used in the 2.6 version. I am also not sure whether keeping

[issue1485576] Backwards compatibility support for Py_ssize_t

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This request, however legitimate, is completely outdated. -- nosy: +pitrou resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1485576

[issue949667] setblocking() method on file objects

2010-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: unit test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue949667 ___ ___

[issue949667] setblocking() method on file objects

2010-08-09 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Any clue on where to start to do this? What about Windows where fcntl is not available? -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue949667

[issue949667] setblocking() method on file objects

2010-08-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- components: +IO ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue949667 ___ ___ Python-bugs-list

[issue7467] The zipfile module does not check files' CRCs, including in ZipFile.testzip

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch looks good to me. -- assignee: - pitrou nosy: +pitrou resolution: - accepted stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7467

[issue1492240] Socket-object convenience function: getpeercred().

2010-08-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1492240 ___ ___

[issue6550] asyncore incorrect failure when connection is refused and using async_chat channel

2010-08-09 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: What's the current status of this issue? I think some of the problems raised at the time this was opened should have been fixed in meantime, like checking for errors in handle_expt_event and handle_connect_event (issue 2944). The

[issue6550] asyncore incorrect failure when connection is refused and using async_chat channel

2010-08-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6550 ___ ___

[issue8685] set(range(100000)).difference(set()) is slow

2010-08-09 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'll be looking at it shortly. Py3.2 is still aways from release so there is no hurry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8685

[issue1673007] urllib2 requests history + HEAD support

2010-08-09 Thread Jack Diederich
Changes by Jack Diederich jackd...@gmail.com: -- nosy: +jackdied ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1673007 ___ ___ Python-bugs-list

[issue949667] setblocking() method on file objects

2010-08-09 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: There are at least two ways to do non-blocking file IO on Windows: Overlapped I/O I/O Completion ports Don't know what's best here, but happy to see what might be achieved if it was thought worth pursuing. -- nosy: +tim.golden

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: You ignored my question: why did you change the argument passed on to sys._getframe? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6678

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/8/9 Terry J. Reedy rep...@bugs.python.org: Terry J. Reedy tjre...@udel.edu added the comment: You ignored my question: why did you change the argument passed on to sys._getframe? Ah, so that the caller's frame is returned and

[issue9547] iterator length

2010-08-09 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: This has been rejected before. The core issue is that it is not a very useful operation because it consumes the iterator. Also, this isn't an operation worth optimizing because most iterators that do something

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-08-09 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: The getters should all accept a `default` argument that's used when no value is found in the configuration. If the default is given, that should be returned (without conversion), instead of raising an exception. This can be included in the

[issue8834] Define order of Misc/ACKS entries

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: At this point, I am sure that Barry would prefer leaving things alone for 2.6. I am surprised that there are separate lists. I thought there was just one which distributions grabbed when made. I suppose that one could claim that someone who

[issue949667] setblocking() method on file objects

2010-08-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue949667 ___ ___ Python-bugs-list

[issue8834] Define order of Misc/ACKS entries

2010-08-09 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Aug 9, 2010 at 2:16 PM, Terry J. Reedy rep...@bugs.python.org wrote: .. I am surprised that there are separate lists. I thought there was just one which distributions grabbed when made. I don't think this is

[issue3489] add rotate{left,right} methods to bytearray

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Antoine, do you disagree with Raymond or should we close this? In any case, I believe this would delayed by the moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.2 ___

[issue6783] Add a builtin method to 'int' for base/radix conversion

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue6632] Include more fullwidth chars in the decimal codec

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue6783] Add a builtin method to 'int' for base/radix conversion

2010-08-09 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. No, I don't think so. My understanding is that PEP 3003 doesn't cover new methods on builtin types. int.from_bytes and int.to_bytes are examples of new methods that were

[issue3329] API for setting the memory allocator used by Python

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3329 ___ ___

[issue7094] Add alternate float formatting styles to new-style formatting.

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue730473] Add Py_AtInit() startup hook for extenders

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue730473 ___ ___

[issue3353] make built-in tokenizer available via Python C API

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3353 ___ ___ Python-bugs-list

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2921 ___ ___ Python-bugs-list

[issue1634034] Show expected token on syntax error

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1634034 ___ ___

[issue2443] Define Py_VA_COPY macro as a cross-platform replacement for gcc __va_copy

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2443 ___ ___ Python-bugs-list

[issue8212] A tp_dealloc of a subclassed class cannot resurrect an object

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8212 ___ ___ Python-bugs-list

[issue6081] str.format_from_mapping()

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2010-08-09 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: Yeah we are fine if I build the release2.7-maint branch.Also just noticed that this bug prevents really basic things, like using urllib2 from a Pylons application that's running in daemon mode. Pretty major, though unusual that I

[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1644818

[issue1402289] Allow mappings as globals (was: Fix dictionary subclass ...)

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1402289

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7951

[issue6632] Include more fullwidth chars in the decimal codec

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- keywords: +after moratorium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6632 ___ ___

[issue1402289] Allow mappings as globals (was: Fix dictionary subclass ...)

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- keywords: +after moratorium -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1402289 ___ ___

[issue6783] Add a builtin method to 'int' for base/radix conversion

2010-08-09 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: In fact, PEP 3003 says explicitly, under Case-by-Case Exemptions: New methods on built-ins The case for adding a method to a built-in object can be made. So I'm changing the version back to 3.2. Having said that, I'm still -0 on

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Terry: due to the additional indirection by making currentframe() a separate function, _getframe(0) would return the frame in currentframe(). -- ___ Python tracker rep...@bugs.python.org

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This seems to be about reducing internal resource usage in a way that would be mostly invisible to the normal user. A core surface feature request would have to be put off to 3.3, but I do not see that as such. -- type: feature

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Would whatever remains of this be deferred by the PEP3003 moratorium? -- nosy: +terry.reedy versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5950] Make zipimport work with zipfile containing comments

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5950

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2010-08-09 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I don't think it would be covered by the moratorium, since it's not a language change. The change to make structseq derive from tuple was not subject to the moratorium, for example. -- ___ Python

[issue1173475] __slots__ for subclasses of variable length types

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- keywords: +after moratorium -patch nosy: +terry.reedy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1479611] speed up function calls

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- type: feature request - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1479611 ___ ___

[issue1498363] Improve super() objects support for implicit method calls

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- keywords: +after moratorium -patch nosy: +terry.reedy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue9269] Cannot pickle self-referencing sets

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- components: +Library (Lib) -Interpreter Core versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9269 ___

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2010-08-09 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: This is definitely not covered by the language moratorium. Guido has requested this change and it needs to go forward. -- ___ Python tracker rep...@bugs.python.org

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Consider the two following commands, from an SVN working copy: $ ./python -c 'import heapq; print(heapq.heapify)' built-in function heapify $ cat | ./python -c 'import heapq; print(heapq.heapify)' function heapify at 0x7f5d456025a0 In the

[issue665761] reduce() masks exception

2010-08-09 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file18453/issue665761-release27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue665761 ___

[issue6786] readline and zero based indexing

2010-08-09 Thread James
James purplei...@gmail.com added the comment: I'd be writing a patch which would allow a programmer the option to explicitly use/instantiate the library in a zero-based way. This way throughout their particular program, the indexing of elements could be consistent. Not having this causes you

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +lemburg, orsenthil, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9548 ___ ___

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Attached patch fixes the issue by creating a separate _bootlocale module, used at bootstrap, which doesn't import collections, functools and friends. -- keywords: +patch Added file: http://bugs.python.org/file18454/bootlocale.patch

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9548 ___ ___ Python-bugs-list

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-09 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: Thomas, it seems this change doesn't work for py3k. Buildbots complain and my working copy does as well. Example: http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%203.1/builds/990 I do not know why this happens. It works

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The use of sys.setdefaultencoding() has always been discouraged, and it has become a no-op in py3k (the encoding is hard-wired to utf-8 and changing it raises an error). It is time to remove this function entirely. The state of

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9549 ___ ___ Python-bugs-list

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Updated patch also replaces imports of locale in site.py (since it can be imported early on startup). -- Added file: http://bugs.python.org/file18455/bootlocale.patch ___ Python tracker

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file18454/bootlocale.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9548 ___

[issue9324] signal.signal(bogus_signal, handler) segfaults on Windows

2010-08-09 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Attached is a patch using Ronald's suggestion to rework this as a switch statement. Also included is a minor reworking that Paul noticed in Lib/test/test_signal.py. Added the people who responded to the python-dev checkin comments to the nosy

  1   2   >