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]
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20712
___
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
___
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
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
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.
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,
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:
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/
--
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
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
___
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
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
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
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
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
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
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
___
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
___
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
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
___
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
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
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
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
___
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),
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
New submission from Antoine Pitrou:
$ ./python -m test -W -R3:3 test_statistics
[1/1] test_statistics
[...]
==
FAIL: assertApproxEqual (test.test_statistics.NumericTestCase)
Doctest:
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
Antoine Pitrou added the comment:
Does it pose an actual problem?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20744
___
___
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):
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
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
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Tests
priority: high - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20743
___
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
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
___
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
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1524639
___
___
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
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
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
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
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
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
___
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
___
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
Changes by Peter Otten __pete...@web.de:
--
nosy: +peter.otten
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20714
___
___
Python-bugs-list
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
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, ']]')
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
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
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
___
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
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
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
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
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
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
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
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
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
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
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
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
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')
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
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
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
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
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
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,
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.
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19081
___
___
Python-bugs-list
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
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
___
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
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
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
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
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
___
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.
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
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
___
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
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
___
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
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
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
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
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
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:
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:
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
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
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
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
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
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 - 100 of 102 matches
Mail list logo