[issue20741] Documentation archives should be available also in tar.xz format

2014-02-23 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Source archives (e.g. in [1]) are available in tgz and tar.xz formats, but documentation archives (e.g. in [2]) are available only in tar.bz2 and zip formats. I suggest that documentation archives be available also in tar.xz format. [1]

[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

2014-02-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20712 ___

[issue20571] test_codecs currently failing on several Windows buildbots

2014-02-23 Thread STINNER Victor
STINNER Victor added the comment: Ah yes, sorry. I forgot that the utf-7 change was also applied to 3.3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20571 ___

[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

2014-02-23 Thread Nick Coghlan
Nick Coghlan added the comment: The problem is that ismethod() is not a particularly well-defined concept, except insofar as it means behaves the same way as the callable returned when a Python function is retrieved through a class instance. isboundmethod() could be well-defined, especially

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

2014-02-23 Thread akira
akira added the comment: The point of the locale issue is that notBefore, notAfter strings do not change if your locale changes. You don't need a new regex for each locale. I've attached ssl_cert_time_seconds.py file that contains example cert_time_to_seconds(cert_time) implementation that

[issue20742] 2to3 zip fixer doesn't fix for loops.

2014-02-23 Thread David Jones
New submission from David Jones: Consider the following code: for z in zip([1]):pass 2to3 does not convert the zip in this code to list(zip(...)); it does not change this code at all. That can be an (obscure) bug because the zip in Python 2 has different semantics from the zip in Python 3.

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Claudiu.Popa
Claudiu.Popa added the comment: Terry, I had the same problem with that failing test_httpservers.test_invalid_request using the latest build on Windows. After debugging, I found out that the problem was caused by my antivirus solution. Its http scanning engine caught malformed http requests,

[issue20742] 2to3 zip fixer doesn't fix for loops.

2014-02-23 Thread Peter Otten
Peter Otten added the comment: Hm, I would expect that in 99 times out of 100 the extra list(...) would be removed in a manual step following the automated conversion. I'd really like to see the non-contrived example with a justified use of this evil side effect ;) -- nosy:

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

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Akira, do you want to write a proper patch with tests? If you are interested, you can take a look at http://docs.python.org/devguide/ You'll also have to sign a contributor's agreement at http://www.python.org/psf/contrib/contrib-form/ --

[issue20069] Add unit test for os.chown

2014-02-23 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the patch that is considerate towards Windows for Python 3.4. I'll fix the patch for Python 2.7 later. -- Added file: http://bugs.python.org/file34198/add_unit_test_os_chown_v2.patch ___ Python tracker

[issue20069] Add unit test for os.chown

2014-02-23 Thread Vajrasky Kok
Changes by Vajrasky Kok sky@speaklikeaking.com: Removed file: http://bugs.python.org/file33266/add_unit_test_os_chown.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20069 ___

[issue20199] status of module_for_loader and utils._module_to_load

2014-02-23 Thread R. David Murray
R. David Murray added the comment: What you might want to do instead is wait until just before final (or until I say I am done, if we get that lucky) and copy the whole 3.4 whatsnew file over. I'm up through Alpha 1 in the NEWS file at this point, and I do intend to continue to to work on

[issue20636] Better repr for tkinter widgets

2014-02-23 Thread Ezio Melotti
Ezio Melotti added the comment: tkinter.Button object .3070343372.3066782348 Not knowing the internal of tkinter, this seems somewhat confusing. Is that an anonymous name/id? tkinter.Button object .panel.b1 This already looks more useful. How is that determined? Why the first object is

[issue20643] Strange dot in documentation (after generator.close)

2014-02-23 Thread Ezio Melotti
Ezio Melotti added the comment: Serhiy, you seem to have added that line (in #19190). Was it a mistake or is it supposed to do something? -- nosy: +ezio.melotti, serhiy.storchaka stage: - needs patch type: - enhancement ___ Python tracker

[issue20677] Minor typo in enum docs

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 569589d3abb5 by Ezio Melotti in branch 'default': #20677: fix typo in enum docs. Patch by Saimadhav Heblikar. http://hg.python.org/cpython/rev/569589d3abb5 -- nosy: +python-dev ___ Python tracker

[issue20677] Minor typo in enum docs

2014-02-23 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Jeff Allen
Jeff Allen added the comment: Thanks for adding to the evidence here. As discussed above, disabling the security product (which is Bitdefender) on my PC didn't stop the problem for me, and I'm reluctant to uninstall. I narrowed it to the Windows Base Filtering Engine, but perhaps the

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Artur R. Czechowski
Artur R. Czechowski added the comment: Proper patch with tests available in remote hg repo attached to this comment. -- hgrepos: +217 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Artur R. Czechowski
Changes by Artur R. Czechowski artu...@hell.pl: Removed file: http://bugs.python.org/file34167/minidom.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___

[issue20636] Better repr for tkinter widgets

2014-02-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: tkinter.Button object .3070343372.3066782348 Not knowing the internal of tkinter, this seems somewhat confusing. Is that an anonymous name/id? If the name parameter is not specified, repr(id(self)) is used. Here is a button with id() == 3066782348, its

[issue20637] Support key-sharing dictionaries in subclasses

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks. I've committed a patch after augmenting the tests a bit, so it'll be in 3.4.1 as well as 3.5. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.4 ___

[issue20637] Support key-sharing dictionaries in subclasses

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16229573e73e by Antoine Pitrou in branch 'default': Issue #20637: Key-sharing now also works for instance dictionaries of subclasses. Patch by Peter Ingebretson. http://hg.python.org/cpython/rev/16229573e73e -- nosy: +python-dev

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except where specifically indicated otherwise, the Python test suite should be the same, and correct, for all implementations. If that change is correct for Jython, it should be correct for CPython. David, Ezio, or Senthil: does the change in the Jython patch

[issue20643] Strange dot in documentation (after generator.close)

2014-02-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was supposed to reset current class. Perhaps correct way is to remove this directive (and other class directive above) at all. -- keywords: +patch nosy: +georg.brandl stage: needs patch - patch review type: enhancement - behavior versions: +Python

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-02-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6815 ___

[issue20743] test_tcl memory leak

2014-02-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: Witnessed on 2.7, 3.3, 3.4: $ ./python -m test -uall -R3:3 test_tcl [1/1] test_tcl beginning 6 repetitions 123456 .. test_tcl leaked [12, 12, 12] references, sum=36 test_tcl leaked [5, 5, 5] memory blocks, sum=15 -- components: Library (Lib),

[issue20744] shutil should not use distutils

2014-02-23 Thread Matthias Klose
New submission from Matthias Klose: shutil imports distutils in _call_external_zip just for the calling of an external command. This should be done using subprocess these days. -- components: Library (Lib) messages: 212007 nosy: doko priority: normal severity: normal stage: needs

[issue20745] test_statistics fails in refleak mode

2014-02-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: $ ./python -m test -W -R3:3 test_statistics [1/1] test_statistics [...] == FAIL: assertApproxEqual (test.test_statistics.NumericTestCase) Doctest:

[issue20746] test_pdb fails in refleak mode

2014-02-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: $ ./python -m test -W -R3:3 test_pdb [1/1] test_pdb [...] == FAIL: test_list_commands (test.test_pdb) Doctest: test.test_pdb.test_list_commands

[issue20744] shutil should not use distutils

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Does it pose an actual problem? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20744 ___ ___

[issue20747] Charset.header_encode in email.charset doesn't take a maxlinelen argument and has inconsistent behavior with different encodings

2014-02-23 Thread Rik
New submission from Rik: If you look at the `header_encode` method in the `Charset` class in `email.charset`, you'll see that depending on the `header_encoding` that is set on the `Charset` instance, it will either encode it using base64 or quoted-printable (QP):

[issue20743] test_tcl memory leak

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: This actually appeared with 89b738e3d0c9, i.e. it's not a regression but an existing leak that was uncovered by a new test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20743

[issue20743] test_tcl memory leak

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, this looks mostly like a cleanup issue in the tests. Following patch seems to solve it: diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -376,6 +376,7 @@ class

[issue20743] test_tcl memory leak

2014-02-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Tests priority: high - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20743 ___

[issue20748] 3.4rc2 MSI uninstallation leaves behind ensurepip _uninstall .pyc

2014-02-23 Thread Martin v . Löwis
New submission from Martin v. Löwis: The installer currently leaves behind a single pyc file, namely Lib\ensurepip\__pycache__\_uninstall.cpython-34.pyc I believe that the problem is that installer computes the list of files to be removed in the script generation phase, finding out what

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Added file: http://bugs.python.org/file34167/minidom.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Artur: Please provide the follwing information (in this bug report, or in any other bug report you create in the future) 1. this is what I did 2. this is what happened 3. this is what should have happened instead In this case, a Python script that ought to

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2014-02-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524639 ___ ___

[issue20743] test_tcl memory leak

2014-02-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. There is a little related but more complex issue1524639. -- assignee: - pitrou stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20743

[issue20743] test_tcl memory leak

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38a06e411698 by Antoine Pitrou in branch '3.3': Issue #20743: Fix a reference leak in test_tcl. http://hg.python.org/cpython/rev/38a06e411698 New changeset 10b1f60a72fa by Antoine Pitrou in branch 'default': Issue #20743: Fix a reference leak in

[issue20743] test_tcl memory leak

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00393de6919d by Antoine Pitrou in branch '2.7': Issue #20743: Fix a reference leak in test_tcl. http://hg.python.org/cpython/rev/00393de6919d -- ___ Python tracker rep...@bugs.python.org

[issue20743] test_tcl memory leak

2014-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, fixed now. -- resolution: - invalid stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20743

[issue6143] IDLE - an extension to clear the shell window

2014-02-23 Thread Tal Einat
Tal Einat added the comment: Terry, please do give Squeezer a try before making a decision! Squeezer may be slightly more complex than ClearWindow in concept and in code, but IMO it is simpler and more appropriate for use by a novice user. I'm attaching a screenshot to give a feeling of what

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-23 Thread Tal Einat
Tal Einat added the comment: See msg212020 for a Python-style explanation of the utility of the Squeezer extension. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1529353 ___

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

2014-02-23 Thread akira
akira added the comment: Antoine, I've signed the agreement. I've added ssl_cert_time_toseconds.patch with code, tests, and documention updates. -- keywords: +patch Added file: http://bugs.python.org/file34201/ssl_cert_time_to_seconds.patch ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread ipatrol
ipatrol added the comment: The latest patch has an indentation error in an if-else clause, but I can't figure out what exactly was intended by the author. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Peter Otten
Changes by Peter Otten __pete...@web.de: -- nosy: +peter.otten ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___ ___ Python-bugs-list

[issue20646] 3.4 cherry-pick: 180e4b678003 select and kqueue round the timeout aways from zero

2014-02-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: I don't see why this cannot wait until 3.4.1. True, rounding away from zero is desirable in these cases but it seems like this should be a non issue most of the time and any distro (ubuntu) that picks up 3.4.0 can apply this fix to their own python package

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Artur R. Czechowski
Artur R. Czechowski added the comment: Martin, the exact information you need are: 1. this is what I did: #!/usr/bin/env python import unittest import xmlrunner class Foo(unittest.TestCase): def testFoo(self): self.assertTrue(False, ']]')

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2014-02-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17997 ___ ___ Python-bugs-list mailing list

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Jeff Allen
Jeff Allen added the comment: Actual patch for your convenience. I'm not set up to build CPython from source, so I've tested this with my installed CPython 2.7.6, and it's clean. [As for keeping the tests in sync, yes that's our aim. Jython's Lib contains only the customised versions, and

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Removed file: http://bugs.python.org/file34167/minidom.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I fail to see the bug in Python. minidom is behaving correctly. The error is in xmlrunner, which does error_info = str(test_result.get_error_info()) failureText = xml_document.createCDATASection(error_info) This is incorrect - it would have to check that

[issue20328] mailbox: add method to delete mailbox

2014-02-23 Thread Jonathan Dowland
Jonathan Dowland added the comment: Hi, On Fri, Jan 31, 2014 at 03:03:09PM +, R. David Murray wrote: I think your arguments are good ones. So, if you want to propose a patch that defines some semantics for delete (and possibly address the maildir folder delete similarly), I will review

[issue20749] shutil.unpack_archive(): security concerns not documented

2014-02-23 Thread Jakub Wilk
New submission from Jakub Wilk: shutil.unpack_archive() uses tarfile.extractall() under the hood, so it's not suitable for unpacking untrusted archives. But this fact is not documented. Please add a security warning to shutil.unpack_archive() documentation. -- assignee: docs@python

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: loewis - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Steve: Why are you providing a Python 3.3 patch? AFAICT, the issue does not exist with VS 2010 (express). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511

[issue20735] Documentation: mark stringprep as deprecated

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm not quite sure why the module is marked as deprecated - IMO it's not deprecated. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20735

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Artur R. Czechowski
Artur R. Czechowski added the comment: Martin, I partially agree with you. After rethinking the issue I agree that changing the behavior of createCDATASection maybe is not a good idea. On the other hand anyone in need of adding ]] into CDATA must write a few lines of code, which will be

[issue20714] Allow for ]] in CDATA in minidom

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think your proposal can be implemented. createXYZ, in DOM, only creates a single node, which is not yet attached at all into a tree. So if you would want a convenience function to create multiple CDATA section, the application would then still have

[issue20750] Roundtrip-test tokenize.untokenize(iterable_of_5_tuples)

2014-02-23 Thread Terry J. Reedy
New submission from Terry J. Reedy: Currently, test_tokenize.roundtrip only tests the 2-tuple mode of untokenize. The currently buggy 5-tuple mode needs to be tested also, as far as possible, to reduce the chance of introducing more bugs when fixing current bugs. When this is done, all the

[issue20751] Misleading examples indDescriptor protocol documentation

2014-02-23 Thread Jan Kaliszewski
New submission from Jan Kaliszewski: 1. One misleading detail in the descriptor protocol documentation for super bindings is that the following fragment of the http://docs.python.org/reference/datamodel.html#invoking-descriptors page: Super Binding If a is an instance of super, then the

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2014-02-23 Thread Chris Rose
New submission from Chris Rose: It should be possible to provide subclasses or implementations of the SequenceMatcher interface to difflib's various methods that do formatting (for example, unified_diff/context_diff et al). I've included a patch for it that satisfies my personal itch on the

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2014-02-23 Thread Chris Rose
Chris Rose added the comment: I've regenerated the patch with doc additions and Misc/ACKS changed as well. -- Added file: http://bugs.python.org/file34204/difflib-sm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20752

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I can reproduce the problem. I started debugging it; the issue is that, after reading the two comment lines (and detecting the source encoding), fileio_readinto gets called, which calls read(), and read() returns 17 (bytes read), with are -\n\nprint('test')

[issue20751] Misleading examples in the descriptor protocol documentation

2014-02-23 Thread Jan Kaliszewski
Changes by Jan Kaliszewski z...@chopin.edu.pl: -- title: Misleading examples indDescriptor protocol documentation - Misleading examples in the descriptor protocol documentation ___ Python tracker rep...@bugs.python.org

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Steve Dower
Steve Dower added the comment: My patches (which I've backed away from now - between wheels and monkey patching Distutils from a setup.py, there are enough workarounds) also handled the fact that VS 2008 is no longer freely/officially available, and presumably VS 2010 will eventually go the

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread Benjamin Peterson
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20731 ___

[issue12691] tokenize.untokenize is broken

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d6dd02a973f by Terry Jan Reedy in branch '3.3': Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The http://hg.python.org/cpython/rev/8d6dd02a973f -- ___ Python tracker

[issue8478] tokenize.untokenize first token missing failure case

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d6dd02a973f by Terry Jan Reedy in branch '3.3': Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The http://hg.python.org/cpython/rev/8d6dd02a973f -- ___ Python tracker

[issue20750] Roundtrip-test tokenize.untokenize(iterable_of_5_tuples)

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d6dd02a973f by Terry Jan Reedy in branch '3.3': Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The http://hg.python.org/cpython/rev/8d6dd02a973f New changeset 73aa6d672b81 by Terry Jan Reedy in branch 'default': Merge with 3.3,

[issue20750] Roundtrip-test tokenize.untokenize(iterable_of_5_tuples)

2014-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 2.7 tokenize tests do not have roundtrip tests. Excluding the 7 files is a temporary hack. The issue should stay open until each either passes and is removed from the exclusion list or is determined to be a permanent exclusion, like test_pep3131.

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2014-02-23 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19081 ___ ___ Python-bugs-list

[issue20753] disable test_robotparser

2014-02-23 Thread Larry Hastings
New submission from Larry Hastings: Lib/tests/test_robotparser.py uses the following url: http://mueblesmoraleda.com/robots.txt That file now serves a 404. This should be disabled for 3.4, and the test rewritten for 3.5. If we get a patch quickly I would probably cherry-pick it for 3.4

[issue20753] disable test_robotparser test that uses an invalid URL

2014-02-23 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- title: disable test_robotparser - disable test_robotparser test that uses an invalid URL ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20753

[issue20747] Charset.header_encode in email.charset doesn't take a maxlinelen argument and has inconsistent behavior with different encodings

2014-02-23 Thread R. David Murray
R. David Murray added the comment: The line wrapping is done by Header, not header_encode. The bug appears to be that maxlinelen=None is not passed to base64mime's header_encode the way it is to quoprimime's header_encode...and that base64mime doesn't handle a maxlinelen of None. Using

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20731 ___ ___

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread R. David Murray
R. David Murray added the comment: Oops, I missed the fact that it was Benjamin that added Serhiy...Benjamin can add himself if he wants :) -- nosy: -benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20731

[issue20753] disable test_robotparser test that uses an invalid URL

2014-02-23 Thread R. David Murray
R. David Murray added the comment: There are tests where we have good reasons why we hit external servers, and this is why the 'network' resource is not on by default. That said, this doesn't appear to be a test that has a good reason to hit an external resource, since it should certainly be

[issue20739] PEP 463 (except expression) implementation

2014-02-23 Thread Thomas Wouters
Thomas Wouters added the comment: http://hg.python.org/features/pep-463-except-expr now contains a version of the patch that makes the parentheses mandatory, similar to generator expressions. (Leaving the old patch for reference.) -- hgrepos: +218

[issue20754] distutils should use SafeConfigParser

2014-02-23 Thread Alex Brandt
New submission from Alex Brandt: I first noticed this issue when configuring nose via setup.cfg and reported the behavior in this issue on their tracker: https://github.com/nose-devs/nose/issues/733 I'll repaste the important bits here: When using a setup.cfg with the following contents

[issue20739] PEP 463 (except expression) implementation

2014-02-23 Thread Thomas Wouters
Changes by Thomas Wouters tho...@python.org: Added file: http://bugs.python.org/file34205/5c078eb8da39.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20739 ___

[issue20755] 3.3.4: doc build fails on Sphinx 1.2

2014-02-23 Thread fk
New submission from fk: With 5d1324b20804, building the docs with Sphinx 1.2 doesn't work anymore. Unfortunately, I don't have the specific exception handy, but in line 34, `versionlabels[node['type']]` produces a KeyError because versionlabels is missing a 'deprecated-removed' key.

[issue6143] IDLE - an extension to clear the shell window

2014-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, I will. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6143 ___ ___ Python-bugs-list mailing list

[issue20755] 3.3.4: doc build fails on Sphinx 1.2

2014-02-23 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - docs@python components: +Documentation nosy: +docs@python, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20755 ___

[issue20756] Segmentation fault with unoconv

2014-02-23 Thread Sworddragon
New submission from Sworddragon: With Python 3.4.0 RC1 on using the command unoconv -o test.pdf test.odt I'm getting a segmentation fault. In the attachments are the used LibreOffice document and a GDB backtrace. The used version of unoconv was 0.6-6 from Ubuntu 14.04 dev and can be currently

[issue20756] Segmentation fault with unoconv

2014-02-23 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: Added file: http://bugs.python.org/file34207/test.odt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20756 ___

[issue18882] Add threading.main_thread() function

2014-02-23 Thread R. David Murray
R. David Murray added the comment: In msg196529 Antoine says there are two possible interpretations of main_thread, and we must choose one. However, the documentation does not indicate which one was chosen. -- nosy: +r.david.murray ___ Python

[issue20756] Segmentation fault with unoconv

2014-02-23 Thread Ned Deily
Ned Deily added the comment: I don't know anything about these programs but it appears libpyuno.so is linked with a specific version of Python 3. Was it rebuilt linked against Python 3.4, instead of Python 3.3? http://packages.ubuntu.com/en/trusty/python3-uno -- nosy: +ned.deily

[issue20756] Segmentation fault with unoconv

2014-02-23 Thread Sworddragon
Sworddragon added the comment: Was it rebuilt linked against Python 3.4, instead of Python 3.3? I don't know. Is ../Python/pystate.c that throws the error not a part of Python? -- ___ Python tracker rep...@bugs.python.org

[issue20756] Segmentation fault with unoconv

2014-02-23 Thread Ned Deily
Ned Deily added the comment: The point is that you may be inadvertently mixing a shared library (libpyuno.so) linked to a Python 3.3 interpreter with a base Python 3.4 interpreter. Unless python3-uno is very careful to use the stable ABI there is no guarantee of binary level compatibility

[issue15858] tarfile missing entries due to omitted uid/gid fields

2014-02-23 Thread Eric Floehr
Eric Floehr added the comment: I have attached a patch file for test_tarfile.py that uses the attached 'bad.tar' to test this issue. After applying this test patch, put 'bad.tar' in Lib/test with the name 'issue15858.tar'. This tests Tarfile.next(), but the issue can be seen via the command

[issue9974] tokenizer.untokenize not invariant with line continuations

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f0e9b7d4f1d by Terry Jan Reedy in branch '2.7': Issue #9974: When untokenizing, use row info to insert backslash+newline. http://hg.python.org/cpython/rev/0f0e9b7d4f1d New changeset 24b4cd5695d9 by Terry Jan Reedy in branch '3.3': Issue #9974:

[issue12691] tokenize.untokenize is broken

2014-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f0e9b7d4f1d by Terry Jan Reedy in branch '2.7': Issue #9974: When untokenizing, use row info to insert backslash+newline. http://hg.python.org/cpython/rev/0f0e9b7d4f1d New changeset 24b4cd5695d9 by Terry Jan Reedy in branch '3.3': Issue #9974:

[issue9974] tokenizer.untokenize not invariant with line continuations

2014-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added 5-tuple mode to roundtrip() in #20750. I solved the ENDMARKER problem by breaking out of the token loop if and when it appears. Reconstructing trailing whitespace other than \n is hopeless. The roundtrip test currently only tests equality of token

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20731 ___

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-23 Thread Tal Einat
Tal Einat added the comment: Added screenshot of what working with the IDLE shell with the Squeezer extension looks like (on Windows). Note that the second squeezed text is the very long Max recursion depth exception traceback, which I manually squeezed after it was printed. -- Added

[issue20757] 3.4rc2 Traceback on Windows compilation script

2014-02-23 Thread Jeroen Ruigrok van der Werven
New submission from Jeroen Ruigrok van der Werven: Just tried the rc2 MSI on Windows 7 x64. Go through the normal setup I always pick the Advanced option of compiling the .py files. In rc1 the script it spawns works as it should, with rc2 I see it pop up, have a Traceback before it quickly

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-23 Thread Musashi Tamura
Musashi Tamura added the comment: You can avoid this by changing end of line to CRLF. (I don't know why) I attach a simpler test case. -- nosy: +miwa Added file: http://bugs.python.org/file34210/test1.py ___ Python tracker rep...@bugs.python.org

[issue20757] 3.4rc2 Traceback on Windows compilation script

2014-02-23 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven added the comment: This is, by the way, an upgrade install over rc1. Need to test a clean install at some point as well. Running the MSI with /L* gives me: Action 8:13:22: RemovePip. Action start 8:13:22: RemovePip. CustomAction RemovePip returned actual error

  1   2   >