[issue19439] Build _testembed on Windows

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8c6c007ade3 by Nick Coghlan in branch 'default': Close #19439: execute embedding tests on Windows http://hg.python.org/cpython/rev/c8c6c007ade3 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status: ope

[issue19403] Make contextlib.redirect_stdout reentrant

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 87d49e2cdd34 by Nick Coghlan in branch 'default': Close #19403: make contextlib.redirect_stdout reentrant http://hg.python.org/cpython/rev/87d49e2cdd34 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open ->

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Bastien, did you get a chance to try embedding Python 3.4a4 in Blender yet? If that works for you, we can mark this one as closed. -- status: pending -> open ___ Python tracker

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Win 7, console 2.7.5+, 32 bit, compiled Aug 24, does not have the problem. Idle started with 'import idlelib.idle' does, but only for 'print foo', as Tim reported. When I close the hung process with [X], there is no error message in the console. Installed 64b

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-11-03 Thread Andrei Dorian Duma
Changes by Andrei Dorian Duma : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Ned Deily
Ned Deily added the comment: It's reproducible on OS X as well with a 32-bit Python 2.7.5 and a 64-bit Python 2.7.6rc1. However, the example works OK if I start IDLE with no subprocess (-n). -- ___ Python tracker

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This patch fixes symptoms. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file32472/idle_print_unicode_subclass.patch ___ Python tracker _

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Ned Deily
Ned Deily added the comment: With Cocoa Tk 8.5.15 or Cocoa Tk 8.6.1 on OS X 10.8.5, test_widgets.ButtonTest crashes Tk: test_image (tkinter.test.test_tkinter.test_widgets.ButtonTest) ... 2013-11-03 01:52:53.498 pytest_10.8[82465:f07] *** Assertion failure in -[NSBitmapImageRep initWithCGImage

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Bastien Montagne
Bastien Montagne added the comment: Wow… Good thing you remind me that. Just tested it here (linux with ASCII terminal), works perfectly. Thanks again for all the integration work, Nick! -- ___ Python tracker

[issue19320] Tkinter tests ran with wantobjects is false

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Failed buildbots: http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%202.7 http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%202.7 -- ___ Python tracke

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, I know. Here is a list of broken buildbots: http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%203.x http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.3 http://buildb

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. Patch attached. -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file32473/logging.patch ___ Python tracker ___ _

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Brecht Machiels
New submission from Brecht Machiels: With Python 3.2, I subclassed ElementTree.XMLParser to set ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member. I understand the 'parser' member is not part of the public API, but this was the only way to customize the parser without having

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Claudiu.Popa added the comment: Added documentation and the chown parameter for the friends of FileHandler. Should tests be added for those classes as well or is it enough to test FileHandler? -- Added file: http://bugs.python.org/file32474/logging.patch __

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Changes by Claudiu.Popa : Added file: http://bugs.python.org/file32475/logging.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19424] _warnings: patch to avoid conversions from/to UTF-8

2013-11-03 Thread Vajrasky Kok
Vajrasky Kok added the comment: Py_ssize_t is signed long. size_it is unsigned long. In this case, I suppose we should avoid unsigned as much as possible in comparison with signed. So I think Zachary's patch is reasonable. What do you think, Victor? -- ___

[issue19464] Remove warnings from Windows buildbot "clean" script

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset dbff708e393f by Tim Golden in branch '3.3': Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. http://hg.python.org/cpython/rev/dbff708e393f New changeset 6e592d972b86 by Tim Golden in branch 'default': Issue #19464 Null me

[issue19464] Remove warnings from Windows buildbot "clean" script

2013-11-03 Thread Tim Golden
Tim Golden added the comment: Applied to 3.3 & 3.4. Thanks for the patch. -- resolution: -> fixed stage: -> committed/rejected ___ Python tracker ___ __

[issue19464] Remove warnings from Windows buildbot "clean" script

2013-11-03 Thread Tim Golden
Changes by Tim Golden : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue6160] Tkinter.Spinbox: fix bbox method

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 91453ba40b30 by Serhiy Storchaka in branch '2.7': Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of http://hg.python.org/cpython/rev/91453ba40b30 New changeset 5bdbf2258563 by Serhiy Storchaka in branch '3.3': Issue #6160: The

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Excellent! Zachary Ware got the embedding tests running and passing on Windows in issue 19439 (previously they were only executed on *nix systems), so Python 3.4 should resolve this problem on all platforms. -- status: open -> closed __

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3178d03871b by Serhiy Storchaka in branch '2.7': Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. http://hg.python.org/cpython/rev/b3178d03871b New changeset 3f5e35b766ac by Serhiy Storchaka in branch '3.3': Issue #6157:

[issue12029] Catching virtual subclasses in except clauses

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: A point on the safety/correctness front: I remembered we already run arbitrary code at roughly this point in the eval loop, as we have to invoke __iter__ to get the exceptions to check when an iterable is used in except clause. That means allowing the subclass c

[issue17400] ipaddress should make it easy to identify rfc6598 addresses

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Just updating the issue state to reflect the fact Peter committed this a while ago. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32476/PanedWindow_docstring_and_return_fixes_2.patch ___ Python tracker ___ _

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated to tip and added deprecation warning. -- nosy: +terry.reedy versions: -Python 2.7, Python 3.3 ___ Python tracker ___ ___

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file32391/Scrollbar_fixes_2.diff ___ Python tracker ___ ___ Python-bugs-list

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32477/Scrollbar_fixes_2.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue19424] _warnings: patch to avoid conversions from/to UTF-8

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ed8d500e113 by Victor Stinner in branch 'default': Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t http://hg.python.org/cpython/rev/2ed8d500e113 -- ___ Python tracker

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Vajrasky Kok
Vajrasky Kok added the comment: Serhiy, In Python3.4, Windows Vista 32 bit, Release Mode, Tcl/Tk 8.5.15, I got a lot of errors. However, if I set _conv_pixels to round in Lib/tkinter/test/widget_tests.py, everything works fine. In Python 3.4, Fedora 18, Debug Mode, Tcl/Tk 8.5.13, I got a lot

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-03 Thread STINNER Victor
STINNER Victor added the comment: Updated patch to the latest implementation: 65e72bf01246.patch The developement is now done in the start branch of http://hg.python.org/features/tracemalloc -- Added file: http://bugs.python.org/file32478/65e72bf01246.patch __

[issue6160] Tkinter.Spinbox: fix bbox method

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Terry. > The new test looks good. This is a copy of a test for ttk.Entry. > Grepping tkinter.__init__.py for 'an empty string' gives multiple hits that > indicate to me (without detailed examination) that there are about 7 methods > that return such

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: -Add tkinter basic options tests resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c34e163c0086 by Tim Golden in branch '3.3': Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan. http://hg.python.org/cpython/rev/c34e163c0086 New changeset 05ce1bd1a4c

[issue19484] Idle crashes when opening file

2013-11-03 Thread Annika Schiefner
New submission from Annika Schiefner: Whenever I try opening a .py file, Idle crashes. Mac OS X, 10.6.8 -- components: IDLE messages: 202027 nosy: Schiefna priority: normal severity: normal status: open title: Idle crashes when opening file type: crash versions: Python 2.7

[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: While working on this, I noticed a number of other issues with the dis API additions for Python 3.4 from issue 11816. Specifically: - the file output redirection API didn't work in some cases that resulted in calls to other disassembly functions - Bytecode.show_

[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Vajrasky Kok
New submission from Vajrasky Kok: Lib/email/message.py, line 665 & 666: param = msg.get_param('foo') param = email.utils.collapse_rfc2231_value(rawparam) Where does rawparam come from? On top of that, sending the result of get_param to collapse_rfc2231_value can make it chokes if the

[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Vajrasky Kok
Changes by Vajrasky Kok : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19486] Bump up version of Tcl/Tk in building Python in Windows platform

2013-11-03 Thread Vajrasky Kok
New submission from Vajrasky Kok: Right now, at November 3rd 2013, the latest minor version of Tcl/Tk 8.5 is 8.5.15. http://www.activestate.com/activetcl/downloads http://www.tcl.tk/ When building Python in Windows in release mode (not debug mode), I had to download the Tcl/Tk binary build fr

[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Tim Golden
Tim Golden added the comment: Code & tests now work on Windows. Applied to 3.3 & 3.4. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Vajrasky: FYI, you can select the 'email' component for tickets like this, and I'll be automatically made nosy (as will Barry Warsaw). -- components: +email nosy: +barry type: -> behavior versions: +Python 2.7, Python 3.3

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset a34889a30d52 by Serhiy Storchaka in branch '2.7': Issue #19085: Fixed pixels rounding for last Tk patchlevels. http://hg.python.org/cpython/rev/a34889a30d52 New changeset dfdf47a9aad4 by Serhiy Storchaka in branch '3.3': Issue #19085: Fixed pixels r

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread R. David Murray
R. David Murray added the comment: It is there so that Python implementations (other than cPython) that do not have ElementTree accelerator modules can fall back on the pure python version. You can import the pure python version in cPython by blocking the import of the C accelerator: impor

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden
Tim Golden added the comment: This has nearly been fixed by the rewrite of the get[status]output code under issue10197. There is an issue, though, with the use there of universal_newlines mode, which forces check_output to return a string rather than bytes. -- nosy: +tim.golden __

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Vajrasky. Now I see that this is a bug in Tk 8.5 which was fixed in 8.5.12. We should use round() to conform with last Tk patchlevels. However this breaks tests on Ubuntu 12.04 LTS which uses 8.5.11. Here is a patch which adds workaround for this bug.

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Stefan Behnel
Stefan Behnel added the comment: Brecht Machiels, 03.11.2013 11:58: > With Python 3.2, I subclassed ElementTree.XMLParser to set > ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member This sounds like a request for a missing feature to me. Here is how lxml handles it: http://lxm

[issue18985] Improve the documentation in fcntl module

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Vajrasky: what do you think of my version? Is it clear enough? I wonder if we want to document the constants someday. -- stage: -> patch review versions: +Python 2.7, Python 3.3 ___ Python tracker

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden
Tim Golden added the comment: The code I've just committed to issue10197 means that the get[status]output functions now pass their (few) tests on all platforms. More by chance than judgement, that change employed universal_newlines which has the effect of forcing the output of check_output to

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker ___ __

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Brecht Machiels
Brecht Machiels added the comment: > You can import the pure python version in cPython by blocking the import > of > the C accelerator: > > import sys > sys.modules['_elementtree'] = None > import xml.etree.ElementTree This will not work if xml.etree.ElementTree was already imported by an

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden
Changes by Tim Golden : Added file: http://bugs.python.org/file32483/issue9922.34.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: A less invasive alternative could be to instrument Bdb with a subclass that processes send-expect sequences. This is what does http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py This code could be adapted to run with python bdb. -- no

[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c574951deadd by R David Murray in branch '3.3': #19485: clarify get_param example. http://hg.python.org/cpython/rev/c574951deadd New changeset e3180c58a78c by R David Murray in branch 'default': Merge #19485: clarify get_param example. http://hg.pyt

[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky. Looks like this was a cut and paste error when Barry updated the docs for 3.3, since it is correct in the 2.7 module. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue19487] Correct the error of the example given in the doc of partialmethod

2013-11-03 Thread iMom0
Changes by iMom0 : -- assignee: docs@python components: Documentation files: partialmethod-doc-fix.patch keywords: patch nosy: docs@python, imom0 priority: normal severity: normal status: open title: Correct the error of the example given in the doc of partialmethod type: enhancement ver

[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: The documentation needs updating to state that these are available on Windows (currently it says UNIX) with a versionchanged annotation. http://docs.python.org/3.3/library/subprocess.html#legacy-shell-invocation-functions -- nosy: +gregory.p.smith st

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: If anybody using them in Python 3.3 is already depending upon them returning strings, changing it to return bytes will break their code... so that ship as unfortunately sailed. Changing that only in 3.4 would just cause churn and make code using this more d

[issue19411] binascii.hexlify docs say it returns a string (it returns bytes)

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 25d89a4faede by R David Murray in branch '3.3': #19411: Clarify that b2a_hex/hexlify returns a bytes object. http://hg.python.org/cpython/rev/25d89a4faede New changeset ac190d03aed5 by R David Murray in branch 'default': Merge #19411: Clarify that b

[issue19411] binascii.hexlify docs say it returns a string (it returns bytes)

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky. I modified the patch slightly since I prefer the term "bytes object" to just "bytes" (I think it reads better in English). -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed

[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2924a63aab73 by Tim Golden in branch '3.3': Issue #10197: Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines http://hg.python.org/cpython/rev/2924a63aab73 New changeset effad2bda4

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Yes, you have to do the sys.modules set at the start of your application. The python module is what gets imported, it is just that the C classes override some of the classes from the Python module when they are imported. So no, there's no way to make the pur

[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Tim Golden
Tim Golden added the comment: Good point. I've added the versionchanged tag. The issue with bytes-string encoding goes all the way back to Popen.communicate if universal newlines mode is used so I've simply put in a reference to the existing notes on the subject higher up in the docs. ---

[issue19487] Correct the error of the example given in the doc of partialmethod

2013-11-03 Thread R. David Murray
Changes by R. David Murray : -- assignee: docs@python -> nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily
Ned Deily added the comment: OS X 10.6 Snow Leopard shipped with a new version of Tk 8.5 that is mostly unusable with IDLE and other Tkinter applications. If you are using the Apple-supplied system Python on OS X, you should install a new version of Python that allows use of a different versi

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma
Changes by Andrei Dorian Duma : -- nosy: +andrei.duma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19454] devguide: Document what a "platform support" is

2013-11-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1feeeb8992f8 by Serhiy Storchaka in branch '3.3': Issue #18702: All skipped tests now reported as skipped. http://hg.python.org/cpython/rev/1feeeb8992f8 New changeset 09105051b9f4 by Serhiy Storchaka in branch 'default': Issue #18702: All skipped te

[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Larry Hastings
Larry Hastings added the comment: Would this be a good time for me to ask about publishing the stack effect info? I had to write my own parallel implementation of it for my assembler, so I found it irritating that Python doesn't provide it. -- ___

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum
Guido van Rossum added the comment: Looking at this some more, I think one of the reasons is that isabs() does not consider paths consisting of *just* a drive (either c: or \\host\share) to be absolute, but it considers a path without a drive but starting with a \ as absolute. So perhaps it's

[issue19484] Idle crashes when opening file

2013-11-03 Thread Jerry Barrington
Jerry Barrington added the comment: I installed python-2.7.6rc1-macosx10.6_rev1.dmg, which says it has it's own Tk builtin, on OSX 10.6.8. Idle crashes when I double-click a *.py file. If I try to open a file from within Idle, a blank window opens that I can't close. -- nosy: +Jerry.

[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily
Ned Deily added the comment: Double-clicking on a .py may not be opening the file with the right version of IDLE. OS X maintains the associations between file types, based on file characteristics like the extension (e.g. ".py"), and applications. To select exactly which application to open a

[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily
Ned Deily added the comment: My apologies! What I just wrote is accurate but not the problem you are seeing. I forgot that there is a problem with IDLE's Open command that was discovered after the release of 2.7.6rc1. See Issue19426 It will be fixed in the final release of 2.7.6 which should

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: I'm willing to fix this. ntpath.join behaves weird in other situations too: >>> ntpath.join('C:/a/b', 'D:x/y') 'C:/a/b\\D:x/y' In fact, I don't know what the above should return. -- ___ Python tracker

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum
Guido van Rossum added the comment: PEP 428 offers a reasonable view. Search http://www.python.org/dev/peps/pep-0428/ for "anchored" and read on. -- ___ Python tracker ___ _

[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d330f7908e7 by Serhiy Storchaka in branch '2.7': Issue #18702: All skipped tests now reported as skipped. http://hg.python.org/cpython/rev/2d330f7908e7 -- ___ Python tracker

[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily
Ned Deily added the comment: P.S. If you feel comfortable with using the command line, you *could* install the fix for Issue19426 yourself into 2.7.6rc1 if you can't wait for the final release. For the OS X python.org installers, something like this should work from a user login with administ

[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d8f0526813f by Serhiy Storchaka in branch '2.7': Fix test_os (issue #18702). http://hg.python.org/cpython/rev/0d8f0526813f -- ___ Python tracker _

[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Colin Williams
Colin Williams added the comment: I've updated the patch to consolidate some duplicated code. Unfortunately, I wasn't able to move anything to setUpClass without messing even more with the internals. I haven't had a chance to refine the code further based on xdegaye's suggestions, but I want

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Shipman and Lundh References: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/panedwindow.html http://effbot.org/tkinterbook/panedwindow.htm#Tkinter.PanedWindow-class Let us separate the different issues with the PanedWindow code and docstrings. 0. .proxy is

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: Added a possible fix for ntpath.join. Didn't touch isabs yet. -- keywords: +patch Added file: http://bugs.python.org/file32486/fix_ntpath_join.patch ___ Python tracker

[issue17883] Fix buildbot testing of Tkinter

2013-11-03 Thread Brian Curtin
Brian Curtin added the comment: The changes look fine to me. -- assignee: terry.reedy -> zach.ware ___ Python tracker ___ ___ Python-b

[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset a699550bc73b by Ned Deily in branch 'default': Issue #18702 null merge http://hg.python.org/cpython/rev/a699550bc73b -- ___ Python tracker

[issue19440] Clean up test_capi

2013-11-03 Thread Brian Curtin
Brian Curtin added the comment: Your patch for 3.3 won't fly: subTest is new for 3.4. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue19391] Fix PCbuild/readme.txt in 2.7 and 3.3

2013-11-03 Thread Brian Curtin
Brian Curtin added the comment: Both patches look fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Ned Deily
Ned Deily added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Bruce Leban
Bruce Leban added the comment: A non-UNC windows path consists of two parts: a drive and a conventional path. If the drive is left out, it's relative to the current drive. If the path part does not have a leading \ then it's relative to the current path on that drive. Note that Windows has a d

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Tim Peters
Tim Peters added the comment: Do we have a theory for _why_ IDLE goes nuts? I'd like to know whether the patch is fixing the real problem, or just happens to work in this particular test case ;-) -- ___ Python tracker

[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum
Guido van Rossum added the comment: Do we even have a way to get the current directory for a given drive? (I guess this is only needed for C: style drives.) -- ___ Python tracker __

[issue19475] Add microsecond flag to datetime isoformat()

2013-11-03 Thread Andrei Dorian Duma
Changes by Andrei Dorian Duma : -- nosy: +andrei.duma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b0ca1a7a3ca by R David Murray in branch 'default': #18678: Correct names of spwd struct members. http://hg.python.org/cpython/rev/1b0ca1a7a3ca -- nosy: +python-dev ___ Python tracker

[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky. I elected to apply this only to default, since it hasn't caused any real-world problems. The (small but non-zero) chance of breaking someone's code in the maintenance releases doesn't seem justified by the nature of the fix. -- re

[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: I think it's a good idea in principle, but unrelated to this patch :) This one started as reworking line_offset as a more intuitive "first_line" parameter, and then testing and documenting that change proceeded to reveal a number of other issues with the 3.4 API

[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: There was another change implemented as part of this: trailing whitespace is now stripped from the lines emitted by the disassembler, which made it possible to simplify the tests a bit (since they no longer have to strip that whitespace themselves, they can just

[issue19484] Idle crashes when opening file

2013-11-03 Thread Jerry Barrington
Jerry Barrington added the comment: Thank you, that fix worked perfectly. Only one weird thing. I have IDLE's preferences set to "At Startup: Open Shell Window". If I double click a *.py file while IDLE isn't running, the shell pops up, then the py file pops up, then the shell goes away. No

[issue19440] Clean up test_capi

2013-11-03 Thread Zachary Ware
Zachary Ware added the comment: Well, this is embarrassing. I'm so used to there not being much difference between 3.3 and 3.4; I didn't even think about subTest being new, and obviously I didn't test it as I should have. Here's a new patch for 3.3 (tested this time!) that just removes the su

[issue19391] Fix PCbuild/readme.txt in 2.7 and 3.3

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b6ac858bb17 by Zachary Ware in branch '2.7': Issue #19391: Clean up PCbuild/readme.txt http://hg.python.org/cpython/rev/7b6ac858bb17 New changeset f28a2d072767 by Zachary Ware in branch '3.3': Issue #19391: Clean up PCbuild/readme.txt http://hg.pyt

[issue19391] Fix PCbuild/readme.txt in 2.7 and 3.3

2013-11-03 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the lesson, Vajrasky and David, and thank you for the review Brian. The final commit did have a couple changes not in the posted patch, just fixes of the same two obvious typos in both branches (avalible -> available, lniked -> linked). -- re

[issue19488] idlelib tests are silently skipped by test.regrtest on 2.7

2013-11-03 Thread Ned Deily
New submission from Ned Deily: Running test_idle is supposed to cause the tests in Lib/idlelib/idle_test to be run. Unfortunately, under 2.7, when test.regrtest is used as the test runner, either directly or via "make test" (which buildbots use), the idlelib tests are currently silently skipp

  1   2   >