[issue9323] trace.py bug with the main file being traced

2010-08-06 Thread Eli Bendersky
Eli Bendersky added the comment: Looking at Lib/test/regrtest.py: if __name__ == '__main__': # Simplification for findtestdir(). assert __file__ == os.path.abspath(sys.argv[0]) I'm not sure regrtest.py is prepared to be run from trace at all. Note that this error also happens wh

[issue9323] trace.py bug with the main file being traced

2010-08-06 Thread Eli Bendersky
Eli Bendersky added the comment: It appears to affect 2.7 as well (probably because of a back-port from py3k to 27-maint in revision 83421). -- versions: +Python 2.7 ___ Python tracker

[issue9315] The trace module lacks unit tests

2010-08-06 Thread Eli Bendersky
Eli Bendersky added the comment: [attaching a new patch version] 1. Are you refering to Lib/test/tracedmodules/__init__.py? I did add it - it appears in the patchfile. What do you mean? 2. Fixed 3. Fixed 4. I'm not sure. Tracing of the current file is also a common use case, and I really o

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Just like in the interactive interpreter, when you get to the end of a suite, you have to hit enter again to end the suite. This is indicated in the example by the '...' with no other text on the line (i.e.: at that ... you press enter). In Idle it is the

[issue9198] Should repr() print unicode characters outside the BMP?

2010-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: Assigning to myself so that I'll remember to finish and commit the patch. -- assignee: -> ezio.melotti ___ Python tracker ___ ___

[issue7994] object.__format__ should reject format strings

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

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Robert Buckley
Robert Buckley added the comment: I can say that more clearly. The backspace feature for ending a block does not work in IDLE when attempting to end a block that had no indentation. Example: >>> if a < 4: a = 0 # Assume this is end of the 'if' block; that you want to #

[issue9424] deprecate unittest.TestCase.assertEquals

2010-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: If you are talking about assertNotEquals, assertAlmostEquals, and assertAlmostNotEquals they should go as well (I didn't even know they existed). assert_ is probably used more often, but I'd deprecate it too. Note that in the 2.7 and 3.2 doc assert_ is already m

[issue8306] ctypes.create_string_buffer should only accept bytes

2010-08-06 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Robert Buckley
Robert Buckley added the comment: Yes, thank you. Using BACKSPACE to unindent works when I am using an indented block inside a first or subsequent indented block, e.g., inside a simple funtion. That feature does not work, as illustrated in example 4.1, when using IDLE. -- status: clo

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-08-06 Thread Nick Coghlan
Nick Coghlan added the comment: One other feature for the new-and-improved helpers: add a flag to allow "-E" to be omitted (as per the comment in test_cmd_line) -- assignee: -> ncoghlan ___ Python tracker ___

[issue9323] trace.py bug with the main file being traced

2010-08-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Reopening because I think this fix is responsible for a new problem: $ ./python.exe -m trace -C. -s -c Lib/test/regrtest.py Traceback (most recent call last): ... File "Lib/test/regrtest.py", line 1458, in assert __file__ == os.path.abspath(sys

[issue9418] Move _formatter_* methods from string type into _string module

2010-08-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Mark Dickinson wrote: > > > > Mark Dickinson added the comment: > > > > The idea seems fine to me. Hiding the _string module in > > Objects/unicodeobject.c is a little odd, though: why not a new > > Modules/_string.c file? Agreed. Please create a new

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: None of the other python-dev IRC folks were able to deduce the issue from the provided information. Closing as invalid. Feel free to reopen if more actionable information becomes available. -- resolution: -> invalid status: open -> closed _

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Yes, Mark is correct. IDLE does auto-indentation, and you have to backspace to go up to the previous indentation level. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tr

[issue9537] argparse: use OrderedDict to store subparsers

2010-08-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4256] optparse/argparse: provide a simple way to get a programmatically useful list of options

2010-08-06 Thread Hans Ulrich Niedermann
Changes by Hans Ulrich Niedermann : -- nosy: +ndim ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-06 Thread R. David Murray
R. David Murray added the comment: I believe the description of __missing__ is there for those who want to subclass defaultdict, but I'll let Raymond confirm. -- nosy: +r.david.murray, rhettinger resolution: -> invalid stage: -> committed/rejected status: open -> pending type: -> be

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

2010-08-06 Thread R. David Murray
R. David Murray added the comment: 2.4 is no longer maintained by the CPython team. Can you reproduce this in 2.7? -- nosy: +r.david.murray ___ Python tracker ___ __

[issue9531] test_complex.py fails

2010-08-06 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list maili

[issue9530] integer undefined behaviors

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed two more bytearray problems in r83768. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: It appears that IDLE maintains the current indentation level, while the interpreter always resets indentation to the start of the line. I don't really see why this is a problem. In IDLE, when you want to unindent a level, you need to hit your backspace key.

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Replacing RTF file with a plain text version. -- nosy: +mark.dickinson Added file: http://bugs.python.org/file18419/ISSUE_9519.txt ___ Python tracker __

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: rtf2html can't make anything out of that file, so I'm guessing it is some sort of image wrapped up as an RTF? If that's so can you just post a jpg? Better would be to cut and paste the Idle session text as text. --

[issue6811] add a filename argument to marshal.load*

2010-08-06 Thread Brett Cannon
Changes by Brett Cannon : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue1443866] email 3.0+ stops parsing headers prematurely

2010-08-06 Thread R. David Murray
R. David Murray added the comment: It's not clear to me that this is a valid bug. It is true that the RFC says that a blank line preceeds the body. However, the line in question is not a valid header line. Mail parsers trying to implement the "be liberal in what you accept" portion of Post

[issue9520] Add Patricia Trie high performance container

2010-08-06 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue9417] Declaring a class creates circular references

2010-08-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: What about my suggestion of simply providing a convention on how to disable links manually, similar to how minidom.document does it with an "unlink" method? If these cases are documented, then there shouldn't be any extra bother to do so. We could pr

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Yes, this is being kept in mind for email6, but nothing is likely to happen in the current package. Since email6 won't make 3.2, I'm retargeting this bug for 3.3. -- stage: -> unit test needed type: -> behavior versions: +Python 3.3 -Python 2.7 _

[issue9537] argparse: use OrderedDict to store subparsers

2010-08-06 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9418] Move _formatter_* methods from string type into _string module

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: The idea seems fine to me. Hiding the _string module in Objects/unicodeobject.c is a little odd, though: why not a new Modules/_string.c file? Is the _string module only used by the string module? -- nosy: +mark.dickinson _

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

2010-08-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9424] deprecate unittest.TestCase.assertEquals

2010-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: What about the other duplicate pairs with a preferred choice? Is there too much use of the deprecated choice? -- nosy: +terry.reedy ___ Python tracker _

[issue9418] Move _formatter_* methods from string type into _string module

2010-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand, the point is to better hide two functions that must be exposed for the benefit of .Formatter but which users really should not use. It would also slightly declutter dir(str) and help(str) which are already unusually 'big'. Sounds reasonable.

[issue2475] Popen.poll always returns None

2010-08-06 Thread David Andrzejewski
Changes by David Andrzejewski : -- nosy: +dandrzejewski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9515] vars() dictionary access to generate variables

2010-08-06 Thread R. David Murray
R. David Murray added the comment: No, the docs are correct as they stand. They say that without an argument it acts like locals(), and there is even a special note saying you shouldn't modify the returned dictionary because what happens when you do is undefined. It just so happens that whe

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

2010-08-06 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r83763 (py3k), r83764 (release31-maint), and r83765 (release27-maint). Thanks for reporting this. -- resolution: -> fixed stage: patch review -> committed/rejected versions: +Python 3.1 ___ Python tracker <

[issue9417] Declaring a class creates circular references

2010-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andrea: for the purpose of this tracker, a 'bug' is a discrepancy between doc and behavior. The fact that (new-style) classes have circular references was known when they were introduced in 2.2. That fact is not a bug in the above sense. It is a design tradeo

[issue9511] CharacterEncoderError when reading from sys.stdin from piped input in cmd.exe

2010-08-06 Thread R. David Murray
R. David Murray added the comment: This is because python doesn't know the encoding of stdin, and so uses ASCII (I assume that's what 'charmap' is on windows...on my unix box the error message mentions ascii, not charmap). You can tell python to use an alternate encoding by default via the P

[issue9537] argparse: use OrderedDict to store subparsers

2010-08-06 Thread Denver Coneybeare
New submission from Denver Coneybeare : Currently, when a subparser is added to an argparse.ArgumentParser the list of subparsers are stored in the built-in dict type. When these subparsers are listed when -h is given on the command line they are showed in the order returned from the dictiona

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: There's not enough information here for me to follow-up. It's unlikely that dict.clear() would product the message you see and the existing code for OrderedDict.__del__ and OrderedDict.clear() look correct to me. The bug may be in your own code.

[issue7668] test_httpservers fails with non-ascii path

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: This isn't a problem any more: 2.6 and 3.1 are now able to follow symbolic links. Sorry for the noise! -- status: open -> closed ___ Python tracker _

[issue9373] pulldom has low code coverage

2010-08-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9529] Converge re.findall and re.finditer

2010-08-06 Thread Matthew Barnett
Matthew Barnett added the comment: (1) would break existing code. It would also mean that you wouldn't have access to the start and end positions of the matches either. (2) would also break existing code which is expecting a list. It's like the change that happened when some methods which ret

[issue1566260] Better order in file type descriptions

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1566260] Better order in file type descriptions

2010-08-06 Thread Tim Golden
Tim Golden added the comment: If individual users want to change these around, it's easy enough to do so post-hoc. Closing as won't fix. -- nosy: +tim.golden resolution: -> wont fix ___ Python tracker

[issue9264] trace.py documentation is incomplete

2010-08-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The fixed up version is just r83549. It may merge cleanly with py3k - I believe doc changes are trivial if any between 2.6 and 3.x. I would like this to go through another round of reviews without release calendar pressure. I would like to see some gui

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-06 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-06 Thread Florent Xicluna
Florent Xicluna added the comment: It behaves as documented. Moved to "feature request". http://docs.python.org/library/xml.etree.elementtree.html -- components: +XML type: behavior -> feature request versions: +Python 3.2, Python 3.3 -Python 3.1 ___

[issue1566260] Better order in file type descriptions

2010-08-06 Thread Mark Lawrence
Mark Lawrence added the comment: As a Windows user I'm not convinced this is worth doing. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue7790] struct_time documentation entry should point to the table defining the tuple

2010-08-06 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mail

[issue6811] add a filename argument to marshal.load*

2010-08-06 Thread Mark Lawrence
Mark Lawrence added the comment: Just flagging this up in case it's dropped under the radar. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue9315] The trace module lacks unit tests

2010-08-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Comments on issue9315.27-maint.5.patch: 1. I think you forgot to svn add Lib/test/__init__.py. 2. Instead of "import tracedmodules.testmod", please use something like "from test.tracedmodules import testmod". There is no need to use implicit relative i

[issue9531] test_complex.py fails

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

[issue1054] scriptsinstall target fails in alternate build dir

2010-08-06 Thread Mark Lawrence
Mark Lawrence added the comment: Set to needs patch as I don't see why you need a unit test for this build issue, feel free to change it back if you see fit. -- nosy: +BreamoreBoy stage: unit test needed -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3

[issue7897] Support parametrized tests in unittest

2010-08-06 Thread nchauvat
nchauvat added the comment: In case it could be useful, here is how generative/parametrized tests are handled in logilab.common.testlib http://hg.logilab.org/logilab/common/file/a6b5fe18df99/testlib.py#l1137 -- nosy: +nchauvat ___ Python tracker <

[issue7464] circular reference in HTTPResponse by urllib2

2010-08-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: in python/trunk/Lib/urllib2.py, line 1161 It doesn't appear to be an issue in py3k. -- ___ Python tracker ___ _

[issue1142] code sample showing errors reading large files with py 2.5/3.0

2010-08-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8299] Improve GIL in 2.7

2010-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK. I would probably be better to expend energy on the 3.x new GIL, should issues arise. -- resolution: -> out of date status: open -> closed ___ Python tracker _

[issue9264] trace.py documentation is incomplete

2010-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fine with me. Alexander, do you have the fixed up version you committed to 2.6, or should Eli revise the attachment here for 2.7? -- ___ Python tracker ___

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Valentine Gogichashvili
Valentine Gogichashvili added the comment: Unfortunately I do not have a short script. It is happening during the failure in quite a big script. I am afraid, it will too time consuming for me to write it... Actually by the content of the OrderdDict instance that is throwing this exception i

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Do you have a short script that can reproduce the error message? -- ___ Python tracker ___ ___ Py

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-06 Thread Tim Golden
Tim Golden added the comment: Blast. Thanks; I'll have to rework those patches then. -- status: closed -> open ___ Python tracker ___

[issue9533] metaclass can't derive from ABC

2010-08-06 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban type: compile error -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry for posting to closed entry, but I think handle should be closed in Lib/subprocess.py not in PC/_subprocess.c. I noticed following code showed strange error. import subprocess for _ in xrange(2): stdout = open("stdout.txt", "w") try:

[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8006] os.popen in Python 3.1

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue6839] zipfile can't extract file

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue6609] zipfile: WindowsError [267] The directory name is invalid

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1142] code sample showing errors reading large files with py 2.5/3.0

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1707753] get status output fix for Win32

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue1672853] Error reading files larger than 4GB

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1714451] subprocess.py problems errors when calling cmd.exe

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue4708] os.pipe should return inheritable descriptors (Windows)

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue7443] test.support.unlink issue on Windows platform

2010-08-06 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-06 Thread John Posner
New submission from John Posner : The documentation for collections.defaultdict is confusing with respect to the __missing__ method. The fact is that a programmer using defaultdict does not need to know anything about __missing__. The attached patch contains a rewrite of the entire section (bu

[issue9535] Pending signals are inherited by child processes

2010-08-06 Thread Greg Brockman
New submission from Greg Brockman : Upon os.fork(), pending signals are inherited by the child process. This can be demonstrated by pressing C-c in the middle of the following program: """ import os, sys, time, threading def do_fork(): while True: if not os.fork(): prin

[issue9528] Add pure Python implementation of time module to CPython

2010-08-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Aug 6, 2010 at 3:44 AM, Marc-Andre Lemburg wrote: .. > Why are you calling the ticket "*Add* pure Python implementation of time > module to CPython" when you appear to be after *replacing* the C > implementation of the time module with a Python ve

[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-06 Thread Tim Golden
Tim Golden added the comment: Committed in r83759 r83760 r83761 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue1372770] email.Header should preserve original FWS

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Header parsing and formatting is one of the major changes in email6, and it should handle this much more sensibly. email6 won't land until 3.3, though it will be available on pypy for testing before that. If you want propose a patch for fixing this in the

[issue8757] Automatic set-to-frozenset conversions not thread-safe

2010-08-06 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: It is easy in online communications to interpret a response as a disagreement. I apologize for falling into that trap. I am +1 on removing implicit set-to-frozenset conversions, which would more effectively "fix" issue8752 for me (this is the only aspect o

[issue1647654] No obvious and correct way to get the time zone offset

2010-08-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9527] Add aware local time support to datetime module

2010-08-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9530] integer undefined behaviors

2010-08-06 Thread John Regehr
John Regehr added the comment: Hi Mark-- Glad it's useful! We plan to release this tool but haven't done so yet, it still has rough edges. It's LLVM-based and it seems likely they will take our patches. -- ___ Python tracker

[issue9530] integer undefined behaviors

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Here are some fixes for Objects/bytesobject.c and Objects/bytearrayobject.c. More to come. -- keywords: +patch versions: +Python 3.2 -Python 3.3 Added file: http://bugs.python.org/file18415/issue9530_1.patch ___ Py

[issue9530] integer undefined behaviors

2010-08-06 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-06 Thread Troy J. Farrell
Troy J. Farrell added the comment: I figured it was probably too late, but one can always hope. :) While you sort out who gets to review this, I'll see if I can't work out a patch for 2.7. It also occurred to me last night that I should probably add a comment to it. Look for new patches wit

[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace

2010-08-06 Thread Valentine Gogichashvili
New submission from Valentine Gogichashvili : When the process is dying with the exception trace dump, I am getting the following notification from the destructor of the OrderedDict class:: Exception AttributeError: "'NoneType' object has no attribute 'print_exc'" in ignored In the source

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-08-06 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- dependencies: +Improve condition variable emulation on NT ___ Python tracker ___ ___ Python-bugs-list

[issue8757] Automatic set-to-frozenset conversions not thread-safe

2010-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: See r83757, r83756, and r83755. The existing unittests prove the script does what it is supposed to do. The new code is just a different approach to the same problem so that it is less likely to be user visible. The attached set-race.py fragment is an in

[issue9533] metaclass can't derive from ABC

2010-08-06 Thread Roald de Vries
New submission from Roald de Vries : Exception raised:: Traceback (most recent call last): File "bug.py", line 5, in class derived(type, Sized): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py", line 85, in __new__ for name in getat

[issue5936] Add MSI suport for uninstalling individual versions

2010-08-06 Thread Steven Bethard
Steven Bethard added the comment: Unassigning, because it's likely I won't have time to work on this for a while. I still think it would be a nice feature. ;-) -- assignee: bethard -> ___ Python tracker _

[issue8306] ctypes.create_string_buffer should only accept bytes

2010-08-06 Thread Ray.Allen
Ray.Allen added the comment: Why not close this issue? It seems that this has been fixed in current py3k branch. -- nosy: +ysj.ray ___ Python tracker ___ ___

[issue9530] integer undefined behaviors

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: This is good stuff! Thank you! I'll look through these. Is the tool you used publicly available? -- assignee: -> mark.dickinson nosy: +mark.dickinson ___ Python tracker ___

[issue8757] Automatic set-to-frozenset conversions not thread-safe

2010-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: Can the attached script be converted in a unittest that tests that the fix is correct? -- nosy: +ezio.melotti ___ Python tracker ___

[issue8411] Improve condition variable emulation on NT

2010-08-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The latter. But I'd really like Antoine to look this over. -- ___ Python tracker ___ ___ Py

[issue9526] 2 GB limit in array module

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. Also applies to 3.1 and 3.2 (and 2.6, but it's too late to fix things there). I agree that those (int) casts look wrong---I suspect they're leftovers from the big int -> Py_ssize_t switch that happened for Python 2.5. I've removed th

[issue8299] Improve GIL in 2.7

2010-08-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Although I did finally manage to explain the point of this patch (after a long, long discussion), I think the issue is still too controversial. We did, for example, see some strange behaviour in my last comment (Date: 2010-04-21 23:22) regarding affi

  1   2   >