[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: Patch now includes a unit test. -- Added file: http://bugs.python.org/file18466/ConfigParser.diff ___ Python tracker ___ _

[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-09 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18460/ConfigParser.diff ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-08-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that this is an annoying bug, and I'm glad that it doesn't occur in the 27-maint branch. I won't close this issue yet though, I'd prefer to add a unittest that demonstrates the problem in 2.7.0 and shows that the problem is fixed afterwords. Basica

[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-09 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Patch still requires a test. Sorry if I was unclear in IRC. -- ___ Python tracker ___ ___ Pytho

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-09 Thread Brian Curtin
Brian Curtin added the comment: Shouldn't the tests calculate line wrapping based on what is set, rather than brute forcing it to be 80? -- nosy: +brian.curtin stage: -> unit test needed versions: +Python 3.2 -Python 3.3 ___ Python tracker

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-09 Thread Denver Coneybeare
Changes by Denver Coneybeare : Added file: http://bugs.python.org/file18465/test_argparse.py.COLUMNS.patch ___ Python tracker ___ ___ Python-bu

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-09 Thread Denver Coneybeare
Changes by Denver Coneybeare : Removed file: http://bugs.python.org/file18462/test_argparse.py.COLUMNS.patch ___ Python tracker ___ ___ Python-

[issue9554] test_argparse.py: use new unittest features

2010-08-09 Thread Denver Coneybeare
Changes by Denver Coneybeare : Added file: http://bugs.python.org/file18464/test_argparse.py.unittest2.patch ___ Python tracker ___ ___ Python-

[issue9554] test_argparse.py: use new unittest features

2010-08-09 Thread Denver Coneybeare
Changes by Denver Coneybeare : Removed file: http://bugs.python.org/file18463/test_argparse.py.unittest2.patch ___ Python tracker ___ ___ Pytho

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-09 Thread Denver Coneybeare
Changes by Denver Coneybeare : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9554] test_argparse.py: use new unittest features

2010-08-09 Thread Denver Coneybeare
New submission from Denver Coneybeare : Some of the unit testing code in test_argparse.py could be modified to take advantage of the new unittest features in Python 2.7 and 3.x. My suggested changes are attached in the patch file test_argparse.py.unittest2.patch One big one is that assertEqua

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-09 Thread Denver Coneybeare
New submission from Denver Coneybeare : If the COLUMNS environment variable is set to a value other than 80 then test_argparse.py yields 80 failures. The value of the COLUMNS environment variable affects line wrapping of the help output and the test cases assume line wraps at 80 columns. So

[issue8432] buildbot: test_send_signal of test_subprocess failure

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Since it only happens on 3.x, a possible culprit is “[svn r78946] Replaces the internals of the subprocess module from fork through exec on POSIX systems with a C extension module”. NB: recent URL of deterministic failure under FreeBSD 6.4: http://www.python.o

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Correction: the revert was done in r83926. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I do not know why this happens. The failure is in 3.1, and the reason is quite obvious: the patch relies on libffi/src/closures.c, which doesn't exist in the 3.1 copy of libffi. I've reverted your commit in r83924, since you say you won't be able to look at

[issue6915] os.listdir inconsistenly releases the GIL on win32

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: The original patch also modifies attributes_from_dir() and attributes_from_dir_w(), but these are called with the GIL released. Modified patch committed in r83921 (py3k), r83922 (3.1) and r83923 (2.7). Thank you! -- resolution: -> fixed stage: patch

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

2010-08-09 Thread Brett Cannon
Brett Cannon added the comment: Just to comment on the import lock issue when importing from within a function, it is a problem. If an import triggers the launching of a thread which calls these functions that have an import inside of them, deadlock will occur. This has been reported as an is

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

2010-08-09 Thread Andrew Bennetts
Andrew Bennetts added the comment: Alexander: yes, they are complementary. My patch improves set.difference, which always creates a new set. issue8425 on the other hand improves in-place difference (via the -= operator or set.difference_update). Looking at the two patches, my patch will no

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-08-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : The build steps for _ssl and _hashlib under Windows always rebuild the same intermediate files, even if no change was recorded since the last build. This makes building the whole project longer than it should be. Here is the (trimmed) log: -- Début de

[issue3757] threading.local doesn't support cyclic garbage collecting

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r83918 (py3k), r83919 (3.1) and r83920 (2.7) after Benjamin ok'ed it on IRC. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1 _

[issue9550] BufferedReader may issue additional read, may cause hang when backed by blocking socket

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for caring about such issues. This would also need unit tests and test_io.py (and perhaps a similar change in _pyio.py, although the buffering logic there is different and may not exhibit the issue). -- stage: -> needs patch versions: +Python

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nir, want to take a look? -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9550] BufferedReader may issue additional read, may cause hang when backed by blocking socket

2010-08-09 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is an updated patch with fixed (hopefully) CRC logic in the face of buffering, and additional tests. -- Added file: http://bugs.python.org/file18461/zipcrc.patch ___ Python tracker

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I said "warn about the use of non-builtin modules", not disallow > their use. AFAIK, the purpose of the exercise is to reduce the > number of non-builtin modules being loaded early on during > Python startup. The purpose of the exercise is to avoid, as much a

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

2010-08-09 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: I think if they are mentioned, they should be documented. Removing mention of them would be fine with me. Looking at this again, I think the description of Py_TPFLAGS_DEFAULT is no longer accurate. It reads: "This is a bitmask of all the bits that pertain

[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-09 Thread Łukasz Langa
New submission from Łukasz Langa : Title says it all. -- assignee: fdrake files: ConfigParser.diff keywords: easy, needs review, patch, patch messages: 113490 nosy: fdrake, lukasz.langa priority: normal severity: normal stage: patch review status: open title: ConfigParser.SafeConfigParse

[issue9550] BufferedReader may issue additional read, may cause hang when backed by blocking socket

2010-08-09 Thread Jason V. Miller
New submission from Jason V. Miller : While reading, BufferedReader can cause an additional read() to the underlying I/O object after the entire upper-layer byte count has been satisfied. This is unnecessary and troublesome in some cases. In the event that the BufferedReader sits on top of a b

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

2010-08-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> I don't think that's the right way forward. >> >> It's much easier to either remove the need to import those >> extra modules or defer their import to actual use within >> a function. > > T

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you both. I had missed the subtle difference between aliasing and wrapping in this particular case. -- ___ Python tracker ___ ___

[issue5950] Make zipimport work with zipfile containing comments

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: On #1644818, Brett said import statement is exempt from moratorium. -- ___ Python tracker ___ ___ Py

[issue2521] ABC caches should use weak refs

2010-08-09 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Jack, The change is necessary because "None in WeakSet()" would throw an exception. -- ___ Python tracker ___ ___

[issue9253] argparse: optional subparsers

2010-08-09 Thread Michael . Elsdörfer
Changes by Michael.Elsdörfer : -- nosy: +elsdoerfer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5950] Make zipimport work with zipfile containing comments

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Because it adds a feature to the import statement, rather than to a module, or so Dmitry said. But fine with me if it goes in now. -- stage: -> patch review ___ Python tracker __

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

2010-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: Patch updated to never type-convert default= arguments. This behaviour is more predictable. -- Added file: http://bugs.python.org/file18458/issue9421.diff ___ Python tracker ___

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

2010-08-09 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18457/issue9421.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2010-08-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: It turns out that build steps have an alwaysRun flag, which I have now enabled for the 'make clean' step. -- resolution: -> fixed status: open -> closed ___ Python tracker _

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I don't think that's the right way forward. > > It's much easier to either remove the need to import those > extra modules or defer their import to actual use within > a function. The latter has various issues, such as being overly tedious and potentially ri

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

2010-08-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I guess, you missed what we are trying to convey. No, I fully understand what happened. STILL, a) I don't think this is a bug in the buildbot configuration, and b) even if it was, I don't really have the time to investigate that in the coming weeks. Howev

[issue8538] Add ConfigureAction to argparse

2010-08-09 Thread Jeremiah Jordan
Jeremiah Jordan added the comment: I think this should be updated so that nargs=0 is allowed, so that you can only do --foo/--no-foo and don't clutter up the help/interface with --foo [FOO] --no-foo=[FOO] You can do this by adding nargs to the ConfigureAction.__init__ and passing that throug

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

2010-08-09 Thread Florent Xicluna
Florent Xicluna added the comment: I agree we should run the "clean" step as a finally step, even if "compile error" occurs. It is not required in case of "svn exception", I guess. Btw, the exact command is "make distclean" ("make clean" target does not remove "Modules/Setup"). -- _

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, there are two places where the internal buffer is trimmed from consumed data: self._readbuffer = self._readbuffer[self._offset:] + data self._offset = 0 At this point, it seems self._crc_offset should also be reset to zero,

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

2010-08-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou 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. I don't think that's the right way

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

2010-08-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Mon, Aug 09, 2010 at 08:57:31PM +, Martin v. Löwis wrote: > I still fail to see the bug - it's by design that later build steps are > not executed if earlier build steps failed. It would be possible to let > the slaves start over with an entirely new che

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2010-08-09 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: We build ActivePython 2.7 on Mac as follows: $ export MACOSX_DEPLOYMENT_TARGET=10.5 $ ./configure --enable-framework --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk/ --with-universal-archs=intel $ make (the environment variable is also used

[issue6751] Default return value in ConfigParser

2010-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: This issue is superseded by #9421. -- resolution: -> duplicate status: open -> closed superseder: -> configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars` ___ Python tracker

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

2010-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: Patch included. New type-related unit tests have shown undesirable behaviour of read_dict() when the given option values are not strings. Support for numbers, booleans and Nones is likely to be expected so this change was introduced. `default' can hold a non-s

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

2010-08-09 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-08-09 Thread Brett Cannon
Brett Cannon added the comment: Import is explicitly exempt from the moratorium. But since the moratorium expires starting with Python 3.3 it really doesn't matter since this change will not go into 3.2. -- ___ Python tracker

[issue3592] Patch to add imp.get_codingspec()

2010-08-09 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2010-08-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 09.08.2010 22:43, schrieb Antoine Pitrou: > > Antoine Pitrou added the comment: > >> I think "cannot be copied" is an exaggeration > > It seems that the purpose is to allow local modifications to > Modules/Setup. Otherwise, I don't know why the Makefile

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I think "cannot be copied" is an exaggeration It seems that the purpose is to allow local modifications to Modules/Setup. Otherwise, I don't know why the Makefile would print an elaborate message when the file exists. If this possibility is never used then,

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > New submission from Antoine Pitrou : > > 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

[issue5950] Make zipimport work with zipfile containing comments

2010-08-09 Thread Georg Brandl
Georg Brandl added the comment: Why? -- versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Chances are that the patch will also fix the test_heapq failures on some buildbots (see e.g. http://www.python.org/dev/buildbot/3.x/builders/x86%20Tiger%203.x/builds/759/steps/test/logs/stdio ). -- ___ Python trac

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

2010-08-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think "cannot be copied" is an exaggeration. Of course it can be copied - it's just that the Makefile skips doing so. What's the specific problem that this causes? Not sure why this had high priority - if anybody wants to fix it, please go ahead. ---

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

2010-08-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Docs updated in r83900 (py3k), r83903 (release31-maint), r83905 (release27-maint) Modules updated in revision 83901 (py3k), r83904 (release31-maint), r83906 (release27-maint). -- resolution: -> fixed stage: needs patch -> committed/rejected status

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

2010-08-09 Thread Brian Curtin
Brian Curtin 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 list. Feel free t

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

2010-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18454/bootlocale.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou 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

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 PyUnicode_SetDefaultEncoding(

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

2010-08-09 Thread Thomas Heller
Thomas Heller 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 for me, insid

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

2010-08-09 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2010-08-09 Thread Antoine Pitrou
Antoine Pitrou 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 Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +lemburg, orsenthil, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6786] readline and zero based indexing

2010-08-09 Thread James
James 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 to have to reason dif

[issue665761] reduce() masks exception

2010-08-09 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file18453/issue665761-release27.diff ___ Python tracker ___ ___ Python-b

[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 : Consider the two following commands, from an SVN working copy: $ ./python -c 'import heapq; print(heapq.heapify)' $ cat | ./python -c 'import heapq; print(heapq.heapify)' In the second case, the "from _heapq import *" in heapq fails silently. The reason

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

2010-08-09 Thread Raymond Hettinger
Raymond Hettinger 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 __

[issue9269] Cannot pickle self-referencing sets

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Library (Lib) -Interpreter Core versions: -Python 2.7 ___ Python tracker ___ ___ Python-bu

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 ___

[issue1479611] speed up function calls

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: feature request -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1173475] __slots__ for subclasses of variable length types

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 ___

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

2010-08-09 Thread Eric Smith
Eric Smith 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 tracker

[issue5950] Make zipimport work with zipfile containing comments

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this is covered by the PEP3003 3.2 change moratorium. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 __

[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 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 request -> resource usa

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-09 Thread Georg Brandl
Georg Brandl 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 _

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

2010-08-09 Thread Mark Dickinson
Mark Dickinson 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 this change.

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

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +after moratorium -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6632] Include more fullwidth chars in the decimal codec

2010-08-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +after moratorium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 ___ _

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 __

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 __

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

2010-08-09 Thread mike bayer
mike bayer 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 have some colleagues who d

[issue6081] str.format_from_mapping()

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 _

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

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

[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 : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1634034] Show "expected" token on syntax error

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

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

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

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

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

[issue730473] Add Py_AtInit() startup hook for extenders

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

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 _

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

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

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

2010-08-09 Thread Mark Dickinson
Mark Dickinson 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 added for 3.2. -

[issue6632] Include more fullwidth chars in the decimal codec

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 _

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 _

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

2010-08-09 Thread Terry J. Reedy
Terry J. Reedy 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 ___ Python tracker

[issue8834] Define order of Misc/ACKS entries

2010-08-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Aug 9, 2010 at 2:16 PM, Terry J. Reedy 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 intentional. More likely committers add acknowledgments

  1   2   >