[issue6905] inspect.getargspec(print) fails

2009-09-13 Thread Yuv Gre
New submission from Yuv Gre : >>> import inspect >>> inspect.getargspec(print) Traceback (most recent call last): File "", line 1, in File "F:\Python31\lib\inspect.py", line 787, in getargspec getfullargspec(func) File "F:\Python31\lib\inspect.py", line 814, in getfullargspec raise

[issue6904] Broken URL for pyqt

2009-09-13 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r74787 (trunk) and r74788 (py3k), thanks! -- priority: -> low resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue6904] Broken URL for pyqt

2009-09-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: georg.brandl -> ezio.melotti nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mai

[issue6904] Broken URL for pyqt

2009-09-13 Thread Thijs Triemstra
New submission from Thijs Triemstra : using/mac.html#gui-programming-on-the-mac refers to http://www.riverbankcomputing.co.uk/pyqt/ but this should be http://www.riverbankcomputing.co.uk/software/pyqt -- assignee: georg.brandl components: Documentation messages: 92589 nosy: georg.brand

[issue6903] pdb - print in for iteration prints None after printing

2009-09-13 Thread Mitchell Model
New submission from Mitchell Model : Near the bottom of the library documentation for pdb there is an example of a very useful alias: alias pi for k in %1.__dict__.keys(): print("%1.",k,"=",%1.__dict__[k]) It turns out that doing print in a for loop in pdb results in None being printed on a lin

[issue6871] decimal.py: more format issues

2009-09-13 Thread Eric Smith
Eric Smith added the comment: Created issue 6902 to handle #4. The others will need to be broken out into their own issues if we want to fix them. I can't keep track of multiple issues in one bug report. -- ___ Python tracker

[issue6902] Built-in types format incorrectly with 0 padding.

2009-09-13 Thread Eric Smith
New submission from Eric Smith : Originally discussed in issue 6871. Even if an alignment of "<" is specified, "=" is used if the padding character is "0". >>> format(2, '0<20') '0002' >>> format(2, '1<20') '2111' This is a problem for at least float and integers

[issue6871] decimal.py: more format issues

2009-09-13 Thread Eric Smith
Eric Smith added the comment: The '0' fill character is forcing '=' alignment (per the PEP). This looks like a bug to me, since it should use the specified alignment. This is not a float-only problem, it applies to the other built-in types as well: >>> format(2, '0<20') '0002' >

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-09-13 Thread Gawain Bolton
Gawain Bolton added the comment: Mark, I haven't tried your latest patch but I tried your patch3 and obtained the same performance improvement for long integers, namely 3.1x faster. This is truly an excellent improvement, my hat's off to you! As for the basic integers, I'm working on another p

[issue6568] unittest test discovery improvements

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74785. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti added the comment: Ok -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Regardless of whether this is a good idea or not, it's too broad a change for the bug tracker. Please bring it up on python-ideas if you wish to pursue the topic. -- ___ Python tracker

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti added the comment: > This is a fundemental behavior that will never change. If you > dislike it, you can remove the signal handler for it with the > signal module. What? We could break the syntax of "print" statements and cannot change this minor detail that afftects many 1

[issue6871] decimal.py: more format issues

2009-09-13 Thread Mark Dickinson
Mark Dickinson added the comment: >From the current trunk: >>> format(float('1e88'), '1<20') '1e+88111' [64734 refs] >>> format(float('1e88'), '0<20') '0001e+88' [64734 refs] -- ___ Python tracker

[issue6871] decimal.py: more format issues

2009-09-13 Thread Mark Dickinson
Mark Dickinson added the comment: I think issue #4 is a bug in float formatting: I don't think it makes sense to change alignment just because the fill character happens to be '0'. -- ___ Python tracker

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is a fundemental behavior that will never change. If you dislike it, you can remove the signal handler for it with the signal module. -- nosy: +benjamin.peterson resolution: -> works for me status: open -> closed __

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
New submission from Bernie H. Innocenti : On startup, the Python interpreter changes the default behavior of SIGINT, which results in many Python programs to ignore the keyboard interrupt exactly in the situations when users are most likely to use it (i.e.: when the program becomes unresponsive)

[issue6866] TestLoader.loadTestsFromName does not use suiteClass attribute to create TestSuite instances

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74783. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6849] Tutorial changes

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74782. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue5135] Expose simplegeneric function in functools module

2009-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: Please don't introduce this without a PEP. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-

[issue6712] sys._getframe is not available on all Python implementations

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74781. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6567] Make inf be almost equal to inf

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74780. -- resolution: wont fix -> accepted status: open -> closed ___ Python tracker ___ _

[issue6882] uuid creates zombies

2009-09-13 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6882] uuid creates zombies

2009-09-13 Thread Eric Smith
Changes by Eric Smith : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6301] Error in tutorial section 7.2

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74779. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue6635] Profiler doesn't print usage (indexError instead)

2009-09-13 Thread Matthias Klose
Matthias Klose added the comment: fixed in 2.6, 2.7, 3.1, 3.2 -- nosy: +doko resolution: -> fixed status: open -> closed versions: +Python 3.2 ___ Python tracker ___ ___

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) > 1

2009-09-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks like a potentially annoying bug to me. -- nosy: +pitrou priority: -> high stage: -> needs patch versions: +Python 2.7 ___ Python tracker ___

[issue6499] Can't import xmlrpclib, DocXMLRPCServer and SimpleXMLRPCServer when zlib is not available

2009-09-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, this means that the exception is raised after the finally, when the thread is exiting. Now, at this point the process is exiting and therefore we have trouble printing the exception. (this is probably also the cause of the exception in the first

[issue6899] Base.replace breaks tree

2009-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks good, but it needs some tests. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Pytho

[issue6900] Sub-optimal "Locate" button behaviour in Windows CHM file

2009-09-13 Thread Tom Seddon
New submission from Tom Seddon : Behaviour of "Locate" in latest Windows CHM file for Python 2.6.2 is sub-optimal. I first spotted this with the optparse module, so this bug refers to the optparse module. It looks as if this is a global problem, though. First, ensure one has latest patched Py

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-09-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-09-13 Thread Mark Dickinson
Mark Dickinson added the comment: Barring objections, I plan to apply the 'long_decimal_conversion_py3k' patch to the py3k branch; I'll then backport to trunk. This patch doesn't include Gawain's two-decimal-digits-at-a-time optimization; after I've applied the patch, I'll have another look

[issue6899] Base.replace breaks tree

2009-09-13 Thread Martin v . Löwis
New submission from Martin v. Löwis : In Base.replace, the method checks that self.parent is not None - however, it (unfortunately), breaks this very property itself if self is new, or self in new. In particular, some fixers return node from transform if they don't want to do anything. In tha