Christian Ziemski cz...@gmx.de added the comment:
Just for my understanding:
Even the current development/testing version: Python 3.2.2 rc 1 (August 14,
2011) isn't new enough here?
So I'll have to find out how to install Python 3.3 in parallel to my 2.7.1 (on
Fedora 15).
Starting with hg
Georg Brandl ge...@python.org added the comment:
Where's the Doc changes? sys.platform is currently clearly documented as being
linux2 or linux3. Adding an entry to Misc/NEWS is not enough.
--
status: closed - open
___
Python tracker
Georg Brandl ge...@python.org added the comment:
You mean pluralize I guess.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12792
___
Changes by Georg Brandl ge...@python.org:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
___
___
New submission from Adam Simpkins a...@adamsimpkins.net:
The SSLContext.load_cert_chain() method should accept a password argument to
use if the private key is encrypted. Currently it always uses OpenSSL's
default password callback, which prompts the user interactively for a password.
I've
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +giampaolo.rodola, janssen, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12803
___
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - patch review
versions: +Python 3.3 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12803
___
Éric Araujo mer...@netwok.org added the comment:
I wouldn’t call this a performance issue. From #4359, you can see that the two
main reasons are first to avoid breakage on platforms that put pyconfig.h and
Makefile in another package than the interpreter, and most importantly than the
code
Éric Araujo mer...@netwok.org added the comment:
I did!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12792
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Even the current development/testing version: Python 3.2.2 rc 1
(August 14, 2011) isn't new enough here?
No. (Where does the quote come from?) The current development version is 3.3;
its version number is currently 3.3.0a0, to mean it was not
Christian Ziemski cz...@gmx.de added the comment:
Even the current development/testing version: Python 3.2.2 rc 1
(August 14, 2011) isn't new enough here?
No. (Where does the quote come from?)
http://python.org/download/releases/
Cloning http://hg.python.org/cpython#default will get you
Éric Araujo mer...@netwok.org added the comment:
http://python.org/download/releases/
Ah, I understand: the release candidate for 3.2.2 is a testing release, but not
a development one :)
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I’m confused about what the proposed change would actually do. Could you
explain what behavior you want to change and how?
--
___
Python tracker rep...@bugs.python.org
Rémy HUBSCHER remy.hubsc...@ionyse.com added the comment:
It is exactly what explained Alexis.
The __import__ can failed in two case :
- The module doesn't exist
- There is a error in the module
With the previous behaviour, even if the module exist, the message was that it
doesn't exists.
Hynek Schlawack h...@ox.cx added the comment:
This is a sub-issue of #12715.
ATM the consent is to add just one symlinks parameter and use the l* functions
iff src _and_ dst are symlinks.
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
Hynek Schlawack h...@ox.cx added the comment:
I work on the superficially related #12715 (symlinks for shutil). As we try to
mimic the POSIX tools and `mv` indeed doesn't follow links, I agree with the
approach of this patch.
--
nosy: +hynek
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset bf89ff3d1ec9 by Victor Stinner in branch 'default':
Issue #12326: update sys.platform doc for Linux
http://hg.python.org/cpython/rev/bf89ff3d1ec9
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
This report is older but the other one has more discussion and patches, so I’m
closing this one. You’re welcome to follow the other. If you think the
documentation for current versions should mention how symlinks are handled,
please open a
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a04e70d7d76c by Charles-François Natali in branch 'default':
Issue #12783: Fix test_posix failures on FreeBSD buildbots, due to
http://hg.python.org/cpython/rev/a04e70d7d76c
--
nosy: +python-dev
Hynek Schlawack h...@ox.cx added the comment:
We have an edge case when the caller calls copymode with symlinks=True on an OS
that doesn't have lchmod (ie any other than FreeBSD).
Should it be a nop (as in copystat), use chmod or raise an Exception?
I Personally (and some people on
Éric Araujo mer...@netwok.org added the comment:
I made two comments on rietveld but the email was rejected.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
___
Changes by Paul Moore p.f.mo...@gmail.com:
--
nosy: +pmoore
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12678
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Can you update the documentation?
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9993
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
___
___
Python-bugs-list mailing list
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
I've attached a patch that adds an extra password argument, which can be
either a string, bytes, bytearray, or a function to call to get the password.
It seems a bit strange to me to accept string types or callable in the same
argument. If it
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10504
___
Éric Araujo mer...@netwok.org added the comment:
Barry, could you review the second part of the patch? (the first was committed)
--
nosy: +barry
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12780
Éric Araujo mer...@netwok.org added the comment:
+1 to Sandro’s patch. Documenting all SO_* constants should be another bug;
right now, there is only an index entry for “SO_*”, I suppose for the benefit
of C programmers wanting to know where the constants are defined. I think the
reason for
Larry Hastings la...@hastings.org added the comment:
So what about doing the same for FreeBSD, SunOS, and Windows? The conversation
about this point sort of trailed off. But, dammit, a foolish consistency is
the hobgoblin of my small mind.
If we're changing linux2 / linux3 to just linux, we
Éric Araujo mer...@netwok.org added the comment:
Larry: the scope of this bug was narrowed to the linux breakage only; see
#12795 for other platforms.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12790
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. 2.7 is a stable version, so this would have to go in
3.3. Even where, breaking the function signature wouldn’t be possible, so we
would have to add arguments without removing any.
Have you looked at shutil.rmtree’s
Éric Araujo mer...@netwok.org added the comment:
Some changes I would like to do
+1 on those.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12798
___
Éric Araujo mer...@netwok.org added the comment:
On a related note, the Google-originated video codec WebM is used out there and
supported by various software.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1298813
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12797
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
+ Return a string representing the canonicalized pathname of *path*.
This sounds a bit strange to me; “Return a string representing the canonical
version of *path*”.
Would it be a good idea to use the full docstring of posixpath.realpath to
Éric Araujo mer...@netwok.org added the comment:
Thanks for the patch. I commented on the code review site, you should have
received an email.
--
nosy: +eric.araujo
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
New submission from Éric Araujo mer...@netwok.org:
When I run make test on 3.3 now, I get failures because the tests try to make
HTTP requests.
--
messages: 142621
nosy: eric.araujo, nadeem.vawda
priority: normal
severity: normal
status: open
title: make test should not enable the
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Are the failures because the machine you're running the test on doesn't
have internet access? Or are there problems with some of the tests?
The attached patch should solve the problem.
--
keywords: +patch
Added file:
Éric Araujo mer...@netwok.org added the comment:
Yes, the machine did not have Internet access. Before the run_tests.py patch,
the urlfetch resource was not enabled by default.
I don’t want to disconnect to test the patch, but it looks good:
/home/wok/python/3.3/python -W default -bb -E -m
Éric Araujo mer...@netwok.org added the comment:
Before the run_tests.py patch, the urlfetch resource was not enabled
by default.
I’m referring to the addition of run_tests.py, not this patch.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':
Issue #12804: Prevent make test from using network resources.
http://hg.python.org/cpython/rev/228fd2bd83a5
--
nosy: +python-dev
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12804
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6c4fa9559b7e by Nadeem Vawda in branch 'default':
Update README section on testing following issue #11651.
http://hg.python.org/cpython/rev/6c4fa9559b7e
--
___
Python
Charles-François Natali neolo...@free.fr added the comment:
I looked at multiprocessing code, but didn't understand how to trigger a
call to these functions. Makes it hard to come up with a unit test...
Here's a sample test:
import _multiprocessing
import os
import socket
for i in range(4,
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
In case of plat-* directories, please see issue #12619, which proposes some
changes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
Éric Araujo mer...@netwok.org added the comment:
Looks like the patch is not enough:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.2/builds/477/steps/test/logs/stdio/text
Please see #12785 for a patch to packaging.database that should fix
test_packaging failures and needs
Christian Ziemski cz...@gmx.de added the comment:
Attached a patch against Python 3.3
All the existing tests are still running successfully.
But I wasn't able to add additional tests for the new functionality.
Writing proper tests is a bit over my head for now - still learning.
--
R. David Murray rdmur...@bitdance.com added the comment:
Following on to Georg's comment about expressions, as a workaround, note
that:
with (
open('abc')) as foo:
works.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I have to log off for today; another committer can use the attached patch so
that we get more info.
--
Added file: http://bugs.python.org/file22974/tmp-debug.diff
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
test_argparse has a proper test infrastructure so that people don’t have to
write the same boilerplate and assertion code over and over again. If you
want, you can probably learn by copy-pasting things.
What you want to test is basically that
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
diff --git a/Lib/distutils/tests/test_sdist.py
b/Lib/distutils/tests/test_sdist.py
index 440af98..520289c 100644
--- a/Lib/distutils/tests/test_sdist.py
+++ b/Lib/distutils/tests/test_sdist.py
@@ -381,6 +381,15 @@ class
Martin v. Löwis mar...@v.loewis.de added the comment:
So what about doing the same for FreeBSD, SunOS, and Windows?
I agree that's definitely out of scope of this issue.
If we're changing linux2 / linux3 to just linux, we should be
consistent and do it for everybody. I propose sys.platform
Éric Araujo mer...@netwok.org added the comment:
Roumen: I thought too about checking the zipfile on Windows, but with Jeremy’s
patch the test force tar.gz generation, so it should amount to the same with
less code.
--
___
Python tracker
Adam Simpkins a...@adamsimpkins.net added the comment:
It seems a bit strange to me to accept string types or callable in the
same argument. If it just supported strings, people could still write
password=somefunction(), right?
The function is only called if the private key is encrypted
Terry J. Reedy tjre...@udel.edu added the comment:
'Behaviors' is quite legal. However,
behavior
Wrong or unexpected behaviors/results/exceptions. ...
could well be
behavior
Wrong or unexpected behavior, result, or exception. ...
--
___
Hynek Schlawack h...@ox.cx added the comment:
While writing my tests I realized, it would be really useful to make
write_file() return the path it wrote to. I need the concatenated filenames
most of the time, so I'm getting blocks of:
fn = os.path.join(x,y)
write_file(fn, 'contents')
I'd
Adam Simpkins a...@adamsimpkins.net added the comment:
Here's a new patch that accepts any callable. The old patch only accepted
actual function objects.
--
Added file: http://bugs.python.org/file22975/ssl-password.2.patch
___
Python tracker
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Looks like the patch is not enough:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.2/builds/477/steps/test/logs/stdio/text
That's a 3.2 builder. You only committed Jeremy's fix to default. I've tested
the fix on 3.2 on my
Nadeem Vawda nadeem.va...@gmail.com added the comment:
With the patch applied, I still get failures in test_old_record_extensions
and test_record_basic, so it doesn't seem to work.
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
Jesse Noller jnol...@gmail.com added the comment:
Yes, Charles - the test is not only welcome, but needed - it just can't rely on
reading /etc/fstab ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11657
Jesse Noller jnol...@gmail.com added the comment:
Charles; you have +commit, it seems. I would welcome the patch and test (just
as long as the aforementioned reliance on /etc/fstab was removed).
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c8e73a89150e by Nadeem Vawda in branch '3.2':
Issue #12678: Fix distutils sdist test on Windows.
http://hg.python.org/cpython/rev/c8e73a89150e
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d40856e424fd by Nadeem Vawda in branch '2.7':
Issue #12678: Fix distutils sdist test on Windows.
http://hg.python.org/cpython/rev/d40856e424fd
--
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
The test now passes on FreeBSD buildbots.
Closing.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Charles-François Natali neolo...@free.fr added the comment:
Charles; you have +commit, it seems.
Yeah, I could of course do this myself, but since Petri already
submitted a patch and seemed to be willing to update it with a test, I
thought he might be interested in this (I've also seen he's
Nadeem Vawda nadeem.va...@gmail.com added the comment:
The sdist failure is now fixed on the 3.2 XP builders.
test_record_extensions still needs attention, though.
I also tried backporting Jeremy's fix to 2.7, but that doesn't seem to
have worked; the sdist tests is still failing there. Someone
Changes by Brian May br...@microcomaustralia.com.au:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6560
___
___
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12788
___
___
New submission from John O'Connor tehj...@gmail.com:
I noticed there are a few more common cases that can be sped up in bytes.join().
When:
- The sequence length and separator length are both 0
- The separator length is 0 or 1
- The separator string contains only 1 distinct byte
These could
New submission from Graylin Kim graylin@gmail.com:
When using argparse I frequently run into situations where my helper text is a
mix of prose and bullets or options. I need the RawTextFormatter for the
bullets, and I need the default formatter for the prose (so the line wraps
Graylin Kim graylin@gmail.com added the comment:
I just noticed that the example output above repeats with a different indent.
The attached formatter isn't broken, I just messed up the editing on my post.
The repeated text isn't part of the output (and shouldn't be there).
While I'm
Changes by John O'Connor tehj...@gmail.com:
--
title: Optimzations for bytes.join() et. al - Optimizations for bytes.join()
et. al
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12805
___
Arnaud Fontaine ar...@debian.org added the comment:
Thanks for the review. Sorry to send that here instead of the review page, but
I get an error when replying: Invalid XSRF token..
This looks good, especially if all existing tests still pass as you report,
but
I wonder about one thing:
Changes by Arnaud Fontaine ar...@debian.org:
Removed file:
http://bugs.python.org/file22927/py2.7-argparse-call-type-function-once.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12776
___
Changes by Arnaud Fontaine ar...@debian.org:
Removed file:
http://bugs.python.org/file22928/py3k-argparse-call-type-function-once.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12776
___
Changes by Arnaud Fontaine ar...@debian.org:
Added file:
http://bugs.python.org/file22978/py2.7-argparse-call-type-function-once.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12776
___
Changes by Arnaud Fontaine ar...@debian.org:
Added file:
http://bugs.python.org/file22979/py3k-argparse-call-type-function-once.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12776
___
Martin Pool m...@sourcefrog.net added the comment:
this fixes the pickle warnings, and cleans up some (I'm pretty sure) dead code
in there. the pickle tests all pass.
--
keywords: +patch
nosy: +poolie
Added file: http://bugs.python.org/file22980/20110822-1150-python-warnings.diff
Graeme Cross gjcr...@gmail.com added the comment:
Here is a first pass at the README.vim file. Suggestions welcome from VIM
power-users!
--
nosy: +gjcross
Added file: http://bugs.python.org/file22981/README.vim
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c64216addd7f by Nick Coghlan in branch 'default':
Add support for the send/recvmsg API to the socket module. Patch by David
Watson and Heiko Wundram. (Closes #6560)
http://hg.python.org/cpython/rev/c64216addd7f
Nick Coghlan ncogh...@gmail.com added the comment:
Added Ned to the nosy list.
For Python core, we should also keep in mind that we do have the option of
adding a -X coverage option to avoid the need for the encodings module hack.
--
nosy: +nedbat
Nick Coghlan ncogh...@gmail.com added the comment:
As Georg noted, only individual expressions get parentheses based continuations
automatically. For statement level use of comma separation, it's decided on a
case-by-cases basis as to whether we think it is a legitimate usage based on
our
Ned Batchelder n...@nedbatchelder.com added the comment:
The tip of the coverage.py repo (https://bitbucket.org/ned/coveragepy) has a
new implementation of the encodings hack which seems to work well.
Of course, an option to run a module before anything else in the interpreter
would make the
Changes by Марк Коренберг socketp...@gmail.com:
--
nosy: +mmarkk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12715
___
___
Python-bugs-list
New submission from John O'Connor tehj...@gmail.com:
bytearray() is using a less efficient implementation of split() than its
similar friends bytes and unicode.
I added a couple extra checks to return early in {bytes,unicode} split().
- if length is 0
- if left strip removed all bytes
New submission from Tennessee Leeuwenburg tleeuwenb...@gmail.com:
Increases the coverage of codecs.py by about 3 lines...
--
files: mywork.patch
keywords: patch
messages: 142661
nosy: ncoghlan, tleeuwenburg
priority: normal
severity: normal
status: open
title: Coverage of codecs.py
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment:
Also some pep8 compliance outside of the scope of the added lines of code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12808
New submission from Michael Farrell micolous...@gmail.com:
Recently, iptables has added support for transparent proxies using a new TPROXY
target on Linux2. This requires a new option in setsockopts, IP_TRANSPARENT.
There's some background on the feature here:
Mihai Ibanescu mihai.ibane...@gmail.com added the comment:
It's a real shame the original patch was not applied before py3k was branched,
the code is now different.
Antoine, my autoconf knowledge is limited, I don't know how you'd test for
realpath accepting a NULL argument (and doing the
Martin Pool m...@sourcefrog.net added the comment:
This fixes every compiler warning so that Python build with -Werror on Ubuntu
Oneiric alpha (gcc 4.6.1-7ubuntu1).
* PyMem_Resize is a macro that mutates its first argument; the return value
shouldn't be used.
* Some variables in sre are
John Chandler therealmetal...@gmail.com added the comment:
Confirmed about not being an issue in Python 3. Just checked with Python
3.3.0a0 and the example works fine - no exception raised.
--
nosy: +John.Chandler
___
Python tracker
Changes by Anthony Briggs anthony.bri...@gmail.com:
--
nosy: +anthonyb, ncoghlan
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6484
___
Anthony Briggs anthony.bri...@gmail.com added the comment:
Added ncoghlan to the nosy list - we're reviewing/fixing unit test coverage as
part of the sprints at PyconAU. Thanks Gnofi!
--
___
Python tracker rep...@bugs.python.org
Graeme Cross gjcr...@gmail.com added the comment:
Threading module docstrings added for all classes and public methods; mainly
used a summarised version of information from the documentation.
--
keywords: +patch
nosy: +gjcross
Added file:
Graeme Cross gjcr...@gmail.com added the comment:
I have added documentation for the 'n' parameter of threading.Condition.notify
as part of the overhaul of the threading module's docstrings.
Reference: #12768
--
nosy: +gjcross
___
Python tracker
Martin Pool m...@sourcefrog.net added the comment:
The documentation for this can now point to the faulthandler module (in Python
3).
--
nosy: +poolie
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1215
Eli Bendersky eli...@gmail.com added the comment:
On Mon, Aug 22, 2011 at 07:39, Graeme Cross rep...@bugs.python.org wrote:
Graeme Cross gjcr...@gmail.com added the comment:
Threading module docstrings added for all classes and public methods;
mainly used a summarised version of
1 - 100 of 109 matches
Mail list logo