[issue20781] BZ2File doesn't decompress some .bz2 files correctly

2014-02-27 Thread James Dominy
James Dominy added the comment: How does one create a multi-stream bzip2 file in the first place? And how do I tell it's multi-stream. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20781

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Frank Millman
New submission from Frank Millman: Using copy.copy on a byte string returns a new copy instead of the original immutable object. Using copy.deepcopy returns the original, as expected. Testing with timeit, copy.copy is much slower than copy.deepcopy. import copy a = 'a'*1000 # string

[issue16226] IDLE crashes on *File / Path browser*

2014-02-27 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: This patch does 1.Remove pep8 violations in PathBrowser.py . Replaces file,dir,sorted by file_,dir_,sorted_ respectively. 2.Extends test coverage for PathBrowser.py in idle_test/test_PathBrowser.py New modules now under tests include 1.dirBrowserTreeItem

[issue20781] BZ2File doesn't decompress some .bz2 files correctly

2014-02-27 Thread Nadeem Vawda
Nadeem Vawda added the comment: How does one create a multi-stream bzip2 file in the first place? If you didn't do so deliberately, I would guess that you used a parallel compression tool like pbzip2 or lbzip2 to create your bz2 file. These tools work by splitting the input into chunks,

[issue16226] IDLE crashes on *File / Path browser*

2014-02-27 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Removed file: http://bugs.python.org/file34242/pathbrowser1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16226 ___

[issue20792] IDLE: Extend tests for PathBrowser

2014-02-27 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: This patch does 1.Remove pep8 violations in PathBrowser.py . Replaces file,dir,sorted by file_,dir_,sorted_ respectively. 2.Extends test coverage for PathBrowser.py in idle_test/test_PathBrowser.py New modules now under tests include

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Peter Otten
Peter Otten added the comment: Assuming that the current behaviour is by accident here's a patch that adds the bytes type to the _copy_dispatch registry. -- keywords: +patch nosy: +peter.otten Added file: http://bugs.python.org/file34244/copy_bytes.patch

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread STINNER Victor
STINNER Victor added the comment: bytes is immutable, I don't why we would duplicate it. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___

[issue20440] Use Py_REPLACE/Py_XREPLACE macros

2014-02-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Are you referring to the Py_LOCAL_INLINE macro? I see that we have no Py_INLINE. Py_LOCAL_INLINE includes the static qualifier, and in fact, if there is no USE_INLINE defined, then all that it does is to add static. Would having a Py_INLINE(type)

[issue20440] Use Py_REPLACE/Py_XREPLACE macros

2014-02-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Well, Larry, I certainly am in no mood to start wrangling on python-dev. A 25 year old C standard is likely to be very mature and reliable by now. Why take risks? :) #Py_LOCAL_INLINE exists and demonstrates that we can make use of them when

[issue20792] IDLE: Extend tests for PathBrowser

2014-02-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: I think you may have misread PEP 8. It does not recommend a trailing underscore for names that shadow built-ins (e.g. file_ instead of file), it only recommends a trailing underscore when you need to use a keyword as a name (e.g. class_ instead of class).

[issue20329] zipfile.extractall fails in Posix shell with utf-8 filename

2014-02-27 Thread Laurent Mazuel
Laurent Mazuel added the comment: Thank for your answer. Unfortunately, I cannot test easily python 3.4 for now. But I have downloaded the source code and diff from 3.3 to 3.4 the zipfile module and see no difference relating to this problem. I can be wrong, maybe if some core improvement of

[issue20793] locale.setlocale()

2014-02-27 Thread René Fleschenberg
New submission from René Fleschenberg: locale.setlocale() does not work if you pass it a ``unicode`` object instead of a ``str`` (locale.py, line 576): ``if locale and type(locale) is not type():`` Maybe it would be better to do a check like this? ``if locale and not

[issue20794] ImportError: Bad magic number in .pyc file

2014-02-27 Thread Naval Gupta
New submission from Naval Gupta: Getting below compilation error: ImportError: Bad magic number in .pyc Ran a python abc.py module which is trying to import .pyc during compilation Python Interpreter used to run: Python 2.7 Python pre-compiled file .pyc is compiled using Python

[issue20794] ImportError: Bad magic number in .pyc file

2014-02-27 Thread STINNER Victor
STINNER Victor added the comment: Can you please attach your script and give the command you are typing to reproduce the issue? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20794

[issue20794] ImportError: Bad magic number in .pyc file

2014-02-27 Thread Peter Otten
Peter Otten added the comment: This is expected. You cannot run/import 2.6 .pyc files in python 2.7 because the file format has changed. $ echo 'print hello' tmp.py $ python2.6 -c 'import tmp' hello $ rm tmp.py $ python2.7 -c 'import tmp' Traceback (most recent call last): File string,

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- nosy: +yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___ ___

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread R. David Murray
R. David Murray added the comment: We probably just forgot to add it when the bytes type was added, and there was of course no test that would fail since it was a new type. -- nosy: +r.david.murray versions: +Python 3.4, Python 3.5 ___ Python

[issue20795] Feel our love and care. Order medications from our drugstore.

2014-02-27 Thread LuisC
New submission from LuisC: HelloKiss those diets good bye. Lose weight quick the easy way. Watch video!Just for you - visit now Buy more, pay less! Be healthy with best meds for women. -- messages: 212355 nosy: lcarrionr priority: normal severity: normal status: open title: Feel our

[issue20795] Spam

2014-02-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- Removed message: http://bugs.python.org/msg212355 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20795 ___

[issue20795] Spam

2014-02-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: -lcarrionr resolution: - invalid stage: - committed/rejected status: open - closed title: Feel our love and care. Order medications from our drugstore. - Spam ___ Python tracker

[issue14302] Rename Scripts directory to bin and move python.exe to bin

2014-02-27 Thread Martin Dengler
Changes by Martin Dengler mar...@martindengler.com: -- nosy: +mdengler ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14302 ___ ___

[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20777 ___

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Chris Angelico
Changes by Chris Angelico ros...@gmail.com: -- components: +Tests versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20796 ___

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Chris Angelico
New submission from Chris Angelico: $ find . -name \*.pyc -delete $ PYTHONDONTWRITEBYTECODE=1 make test Three test failures, which all seem to be duplicates of: == FAIL: test_timestamp_overflow

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16484 ___ ___

[issue20501] fileinput module will read whole file into memory when using fileinput.hook_encoded

2014-02-27 Thread Zachary Ware
Zachary Ware added the comment: Agreed with Vajrasky, the 2.7 commit wasn't as clean as it could be (sorry I didn't get an actual review done before you committed, I posted my last test results in a bit of a hurry). The commented out line should either be removed, or used instead of the

[issue20797] zipfile.extractall should accept bytes path as parameter

2014-02-27 Thread Laurent Mazuel
New submission from Laurent Mazuel: Many methods which use path in Python now accept string or bytes in parameter (e.g. all methods in os.path, the open method, etc.). Actually, sometimes it is not possible to handle a file without using bytes path. For example, path coded in another encoding

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: We're seeing this in Ubuntu now that 3.4 is the default. https://bugs.launchpad.net/python/+bug/1284469 -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19021

[issue20739] PEP 463 (except expression) implementation

2014-02-27 Thread Chris Angelico
Chris Angelico added the comment: One test failing, due to Tools/parser/unparse.py not knowing how to unparse an except expression. Otherwise, test suite passes (with most of the stdlib unchanged). I'm about to try writing an actual conversion script which will rewrite the stdlib, and then

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19021 ___ ___ Python-bugs-list

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread STINNER Victor
STINNER Victor added the comment: Serhiy fixed the issue #19255 with the changeset 6a1711c96fa6, but this changeset will wait Python 3.4.1. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19021

[issue16226] IDLE crashes on *File / Path browser*

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: S.H. moved his patch for new tests to new issue #20792. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16226 ___

[issue20792] IDLE: Extend tests for PathBrowser

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: We do not usually make pure style changes in a file unless the code is being reviewed and edited. Even then, I focus on changes that make the file easier to read and understand, as is necessary to write tests. One example is adding missing spaces after commas

[issue20790] Make sure exec_module() implementations are documented

2014-02-27 Thread Brett Cannon
Brett Cannon added the comment: Somehow managed to glance right over it. Guess I was more frazzled than I thought last night. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20790

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch to skip the test if PYTHONDONTWRITEBYTECODE is not None. -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file34246/issue20796.diff ___ Python tracker rep...@bugs.python.org

[issue20798] Reversed order in testtools messages

2014-02-27 Thread Pete Zaitcev
New submission from Pete Zaitcev: When using an assert such as self.assertEquals(tester(), expected), an error message suggests wrong argument order (as in, not the order in examples in the documentation). Apparently this is confusing enough that OpenStack even opened a whole bunch of bugs

[issue20799] Turn on all tests in test.test_importlib.source.test_file_loader

2014-02-27 Thread Brett Cannon
New submission from Brett Cannon: Some tests have a leading underscore which means they were probably turned off for testing purposes but forgot to be flipped back on. Should turn them back on and make sure that they actually still pass. -- assignee: brett.cannon components: Library

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20796 ___

[issue20798] Reversed order in testtools messages

2014-02-27 Thread R. David Murray
R. David Murray added the comment: Testtools is not part of the stdlib. Are you saying there is a bug in the stdlib assertEqual? If so, can you demonstrate the bug using just stdlib-based code? -- nosy: +r.david.murray ___ Python tracker

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Feb 27, 2014, at 03:46 PM, STINNER Victor wrote: Serhiy fixed the issue #19255 with the changeset 6a1711c96fa6, but this changeset will wait Python 3.4.1. Okay, thanks. I was reviewing and rather liked the less invasive patch, but if this one is going to

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Berker Peksag
Berker Peksag added the comment: Updated patch adressing Brett's comment. Thanks! -- stage: - patch review Added file: http://bugs.python.org/file34247/issue20796_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20796

[issue20620] Update the min()/max() docs for the new default argument

2014-02-27 Thread Berker Peksag
Berker Peksag added the comment: Updated patch adressing Larry's comment. I also fixed a typo in the max() documentation. Thanks! -- stage: - patch review Added file: http://bugs.python.org/file34248/issue20620_v2.diff ___ Python tracker

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Brett Cannon
Brett Cannon added the comment: LGTM; I (or some other core dev) will commit when there's time. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20796 ___

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Chris Angelico
Chris Angelico added the comment: Thanks for the fast turn-around, guys! Not that it matters hugely - I happened to have bytecode writing disabled to test something unrelated and noticed the test failure. -- ___ Python tracker

[issue20796] Test failures when running with PYTHONDONTWRITEBYTECODE

2014-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8afcfe6dfd6e by Benjamin Peterson in branch '3.3': fix importlib test failure when bytecode writing is disabled (closes #20796) http://hg.python.org/cpython/rev/8afcfe6dfd6e New changeset 15a0bbfb27f1 by Benjamin Peterson in branch 'default': merge

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: If this fixes the problem, shouldn't the issue be closed and a NEWS item added? I'm going to test the patch locally. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19021

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... if this *already* affects Ubuntu users, shouldn't this be fixed in 3.4 proper? It's extremely likely that someone else will be affected too. -- ___ Python tracker rep...@bugs.python.org

[issue20779] Add pathlib.chown method

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know about philosophical reasons ;-), but I don't think chown is very often used. Do you know of a context where it is? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20779

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch, Peter. Could you sign a contributor's agreement? You can do so online at http://www.python.org/psf/contrib/contrib-form/ -- nosy: +pitrou stage: - patch review versions: -Python 3.3 ___

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Akira, thanks. I have posted a review; if you haven't received the e-mail notification, you can still access it at http://bugs.python.org/review/19940/#ps11142 -- stage: needs patch - patch review versions: +Python 3.5 -Python 3.4

[issue20798] Reversed order in testtools messages

2014-02-27 Thread Pete Zaitcev
Pete Zaitcev added the comment: Oh, indeed. The printout is in testtools only. The unittest prints this: [zaitcev@guren xxx]$ python3 -c 'import nose; nose.main()' F == FAIL: test_testEquals (testic.TestConfigTrueValue)

[issue20798] Reversed order in testtools messages

2014-02-27 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20798 ___ ___

[issue2771] Test issue

2014-02-27 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue19021] AttributeError in Popen.__del__

2014-02-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Feb 27, 2014, at 07:23 PM, Antoine Pitrou wrote: Hmm... if this *already* affects Ubuntu users, shouldn't this be fixed in 3.4 proper? It's extremely likely that someone else will be affected too. Agreed! --

[issue20793] locale.setlocale()

2014-02-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. There was a lengthy discussion of this behavior a few years ago in Issue3067. At that time it was decided not to change this behavior for 2.7. I'm not sure if the __future__ unicode_literals was considered then, however you can work

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Peter Otten
Peter Otten added the comment: I did sign today (and received the confirmation email). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___

[issue20794] ImportError: Bad magic number in .pyc file

2014-02-27 Thread Ned Deily
Ned Deily added the comment: As Peter notes, .pyc and .pyo files are in general not compatible across Python versions. PEP 3147 was implemented in Python 3.2 to help avoid the problem you are seeing by storing .pyc/.pyo files with version-specific filenames. For Python 2, you need to be

[issue20739] PEP 463 (except expression) implementation

2014-02-27 Thread Chris Angelico
Chris Angelico added the comment: I've applied all the changes my script can find, including ones that are actually quite inappropriate, like: try: some_function_call() except some_exception: some_other_function_call() All tests pass except for one, which I don't fully

[issue20739] PEP 463 (except expression) implementation

2014-02-27 Thread Chris Angelico
Changes by Chris Angelico ros...@gmail.com: Added file: http://bugs.python.org/file34250/churn1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20739 ___

[issue20739] PEP 463 (except expression) implementation

2014-02-27 Thread Chris Angelico
Changes by Chris Angelico ros...@gmail.com: Added file: http://bugs.python.org/file34251/churn2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20739 ___

[issue20739] PEP 463 (except expression) implementation

2014-02-27 Thread Chris Angelico
Changes by Chris Angelico ros...@gmail.com: Added file: http://bugs.python.org/file34252/broken.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20739 ___

[issue20265] Bring Doc/using/windows up to date

2014-02-27 Thread Zachary Ware
Zachary Ware added the comment: Windows 8 (or at least 8.1) doesn't seem to be too far off from the directions on that site. If you're proficient enough to change an environment variable in Windows 7, chances are good you can figure it out on Windows 8(.1). If you're not, chances are good

[issue19085] Add tkinter basic options tests

2014-02-27 Thread Zachary Ware
Zachary Ware added the comment: What's the status here? Appears to be fixed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19085 ___ ___

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2523bca50d7 by Antoine Pitrou in branch 'default': Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten. http://hg.python.org/cpython/rev/c2523bca50d7 -- nosy: +python-dev

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, thank you! This will be in 3.4.1 and 3.5. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791

[issue20227] Argument Clinic: rename arguments in generated C?

2014-02-27 Thread Zachary Ware
Zachary Ware added the comment: This was added by #20456 (a couple weeks ago). -- components: +Demos and Tools resolution: - fixed stage: - committed/rejected status: open - closed superseder: - Argument Clinic rollup patch, 2014/01/31 type: - enhancement versions: +Python 3.4

[issue19085] Add tkinter basic options tests

2014-02-27 Thread Ned Deily
Ned Deily added the comment: All of the failures I reported are now fixed so I think this issue can be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19085 ___

[issue3831] Multiprocessing: Expose underlying pipe in queues

2014-02-27 Thread Julian Mehnle
Changes by Julian Mehnle jul...@mehnle.net: -- nosy: +jmehnle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3831 ___ ___ Python-bugs-list mailing

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread STINNER Victor
STINNER Victor added the comment: Why not fixing this bug in Python 3.3 too? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___ ___

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is Python 3.3 still allowing bug fixes? If yes, this is a good idea. Do you want to backport it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread R. David Murray
R. David Murray added the comment: 3.3 will get fixes until its final release, which will be some time after the release of 3.4.0. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20791 ___

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3fb7828b6fc by Antoine Pitrou in branch '3.3': Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten. http://hg.python.org/cpython/rev/b3fb7828b6fc --

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 43c4073cb2e2 by Terry Jan Reedy in branch '2.7': Issue #20567: Delete class attribute gui widgets in idle tests. http://hg.python.org/cpython/rev/43c4073cb2e2 New changeset daf44eb9c54e by Terry Jan Reedy in branch '3.3': Issue #20567: Delete class

[issue20800] Cannot run gui tests twice.

2014-02-27 Thread Terry J. Reedy
New submission from Terry J. Reedy: After the fix for #20567, running test_idle and then test_ttk_guionly works, but running either after itself does not. Example command and output, which is same running with installed 3.4.0rc1 (Feb 11) or fresh debug build. F:\Python\dev

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is also a different test problem that might be related to the altered environment. See #20800 -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567

[issue20792] IDLE: Extend tests for PathBrowser

2014-02-27 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Well,thank you for the feedback to both . I will try to make a new patch , during this weekend, removing the name changes to add docstrings and add a human testable dialog for pathbrowser,as is present in other tests. --

[issue20800] Cannot run gui tests twice.

2014-02-27 Thread Ned Deily
Ned Deily added the comment: The Warning -- os.environ was modified by test_ttk_guionly looks suspicious. Does the patch for Issue20035 help? -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20800

[issue20800] Cannot run gui tests twice.

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The #20035 patch removes the warning but the rest is the same. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20800 ___

[issue20800] Cannot run gui tests twice.

2014-02-27 Thread Ned Deily
Ned Deily added the comment: What happens if you add -v (verbose) ... -m test -v -ugui ... to find the failing tests? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20800 ___

[issue20035] Suppress 'os.environ was modified' warning on Tcl/Tk tests

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch works to suppress the message for test_ttk_guionly. However, unfix_environ does not undo everything that needs to be undone, as evidenced by #20800. The patch does not fix test_idle. I suspect that this is because test_idle pulls in tests from

[issue20800] Cannot run gui tests twice.

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.3 and the patch still applied, all 13 test methods fail with tracebacks that end with the _tkinter.create call, as above. For Idle, there are 3 tracebacks for the 3 modules with gui tests. -- ___ Python

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-27 Thread akira
akira added the comment: Related: issue4926 putenv() accepts names containing '=', return value of unsetenv() not checked `os.environ.clear()` also fails if the environment contains names with `=`: import os os.environ['a=b'] = 'c' os.environ.clear() Traceback (most recent call

[issue5639] Support TLS SNI extension in ssl module

2014-02-27 Thread Sam Gleske
Sam Gleske added the comment: Are you kidding me? I can't believe SNI isn't being backported to python 2.x. This is ridiculous in my opinion. The bug fix needs to be back ported. -- nosy: +sag47 versions: +Python 2.7, Python 3.1 ___ Python

[issue20801] WindowsError: [Error 2] The system cannot find the file specified

2014-02-27 Thread Pramod Jadhav
New submission from Pramod Jadhav: Exception in thread Thread-18: Traceback (most recent call last): File C:\Anaconda\lib\threading.py, line 810, in __bootstrap_inner self.run() File C:\Anaconda\lib\threading.py, line 763, in run self.__target(*self.__args, **self.__kwargs) File

[issue20801] WindowsError: [Error 2] The system cannot find the file specified

2014-02-27 Thread Ned Deily
Ned Deily added the comment: Sorry, you are going to have supply more information. From the traceback supplied, it appears the call to subprocess is coming from envoy, which is not part of the Python standard library. Please re-open if you can supply a test case demonstrating a problem in

[issue20802] AttributeError: 'NoneType' object has no attribute 'returncode'

2014-02-27 Thread Pramod Jadhav
New submission from Pramod Jadhav: AttributeErrorTraceback (most recent call last) ipython-input-16-c985c6423e2d in module() 7 #F='C:\Users\Prashant\Documents\IPython Notebooks\resources\ch06-mailboxes' 8

[issue20802] AttributeError: 'NoneType' object has no attribute 'returncode'

2014-02-27 Thread Ned Deily
Ned Deily added the comment: The traceback shows an issue when using envoy, which is not part of the Python standard library. Assuming you are using the envoy listed in PyPI, I suggest you ask on the project's issue tracker: https://github.com/kennethreitz/envoy/issues -- nosy:

[issue20779] Add pathlib.chown method

2014-02-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Pragmatic reasons: I use chown moderately often. Usually as root, I want to change the uid of the files after generating a bunch of files. But I almost never changed gid. I am in two mind whether I should add lchown as well or not (just like lchmod) and make