[issue14081] Allow "maxsplit" argument to str.split() to be passed as a keyword argument

2012-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed! Thanks for the reviews and for spotting the extra '['. (While suggesting the use of maxsplit, be aware that str.split uses -1 as default value, whereas re.split uses 0.) -- resolution: -> fixed stage: commit review -> committed/rejected status: o

[issue14081] Allow "maxsplit" argument to str.split() to be passed as a keyword argument

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset db968ac2b82c by Ezio Melotti in branch 'default': #14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments. http://hg.python.org/cpython/rev/db968ac2b82c -- nosy: +python-

[issue14107] Debian bigmem buildbot hanging in test_bigmem

2012-02-25 Thread Nadeem Vawda
Nadeem Vawda added the comment: The buildbot still isn't happy: http://www.python.org/dev/buildbot/all/builders/AMD64%20debian%20bigmem%203.x/builds/144/steps/test/logs/stdio Also, I ran the test on my own machine and noticed two tests that are still exceeding their nominal peak memory us

[issue13224] Change str(x) to return only the (qual)name for some types

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Ping: I’d like opinions on the request in my last message; -- ___ Python tracker ___ ___ Python-bugs-l

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: I’ve ported the fix to packaging without testing, the buildbots will shout at me if I made a mistake. For distutils2 however I have no tester and no bot, so could someone test this patch? (repo is at http://hg.python.org/distutils2) BTW if someone knows about

[issue13716] distutils doc contains lots of XXX

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Done. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: behavior -> enhancement ___ Python tracker __

[issue13447] Add tests for some scripts in Tools/scripts

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: > I meant "Test for Tools" instead of """Tests for reindent.py.""" Looks like you missed the message where I wrote how I changed s/reindent.py/scripts in the Tools directory/ Committed! Now we can tackle all these nasty pygettext and msgfmt bugs, and I will al

[issue2945] bdist_rpm does not list dist files (should effect upload)

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Fixed in 2.7 too, thanks to you both. If you have the time to run the tests, it would be great to get a confirmation (I’m not sure we have a buildbot with rpm installed for 2.7). -- resolution: -> fixed stage: patch review -> committed/rejected status:

[issue13447] Add tests for some scripts in Tools/scripts

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2887f5a97075 by Éric Araujo in branch '3.2': Add test file for scripts in Tools (#13447). http://hg.python.org/cpython/rev/2887f5a97075 -- ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 937b1613d0e6 by Éric Araujo in branch 'default': Port the #6884 fix to packaging http://hg.python.org/cpython/rev/937b1613d0e6 -- ___ Python tracker __

[issue14075] argparse: unused method?

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: > It's undocumented, and it begins with an underscore, but it would certainly > be safer > to deprecate it first. Ah, somehow I misunderstood your earlier comment and thought _get_args had been publicized. Removing is safe then. Geoffrey: > If people do overri

[issue3445] Ignore missing attributes in functools.update_wrapper

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Well, Nick judged that this was not a bug per se, but rather a request for enhancement, thus it was only committed to 3.3. -- ___ Python tracker _

[issue1040439] Missing documentation on how to link with libpython

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Is there any reason not to backport to 2.7? (Yes, I’m volunteering.) -- ___ Python tracker ___ ___

[issue6715] xz compressor support

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c22281e967c by Éric Araujo in branch '2.7': Improve interlinking of archiving/compression modules docs. http://hg.python.org/cpython/rev/7c22281e967c -- ___ Python tracker

[issue13716] distutils doc contains lots of XXX

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset e853ea9efc6e by Éric Araujo in branch '2.7': Hide or remove user-visible XXX notes from distutils doc (#13716). http://hg.python.org/cpython/rev/e853ea9efc6e -- ___ Python tracker

[issue2945] bdist_rpm does not list dist files (should effect upload)

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset f606d722ca23 by Éric Araujo in branch '2.7': Stop ignoring RPMs in distutils' upload command (#2945). http://hg.python.org/cpython/rev/f606d722ca23 -- ___ Python tracker

[issue13467] Typo in doc for library/sysconfig

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c78b41fa5258 by Éric Araujo in branch '2.7': Fix typo (#13467) http://hg.python.org/cpython/rev/c78b41fa5258 -- ___ Python tracker ___

[issue13770] python3 & json: add ensure_ascii documentation

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: json in 2.7 works a bit differently; ensure_ascii is already documented there. Closing, please reopen if the new doc is not to your satisfaction. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.7 __

[issue14123] Indicate that there are no current plans to deprecate printf-style formatting

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: I’d like to make a patch with Nick’s text and a few examples. -- assignee: docs@python -> eric.araujo nosy: +eric.araujo, ncoghlan stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue14126] Speed up list comprehensions by preallocating the list where possible

2012-02-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low type: -> performance ___ Python tracker ___ ___ Py

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the shallow/deep terminology is not unique to Python and is commonly used in computer science. In my experience teaching Python, the terms are somewhat self-descriptive and only become perplexing when someone over-explains them. That said, a glossar

[issue14075] argparse: unused method?

2012-02-25 Thread Geoffrey Spear
Geoffrey Spear added the comment: If people do override this provate method, would they really bother calling super() to get the essentially no-op functionality of the superclass method? FWIW, Google Code and github both seem to be free of any such code. -- _

[issue14075] argparse: unused method?

2012-02-25 Thread Steven Bethard
Steven Bethard added the comment: It's undocumented, and it begins with an underscore, but it would certainly be safer to deprecate it first. -- ___ Python tracker ___

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Shallow' is a common English word: "Stay in shallow water until you learn to swim!" But that is not the issue here. I think the underlying issue is that the first sentence "All slice operations return a new list containing the requested elements." is wrong.

[issue14123] Indicate that there are no current plans to deprecate printf-style formatting

2012-02-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- title: Doc change re old and new string formatting -> Indicate that there are no current plans to deprecate printf-style formatting ___ Python tracker _

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: On Sun, Feb 26, 2012 at 00:11, Ned Deily wrote: > "shallow copy" and "deep copy" are both standard computer science terms by no > means unique to or invented by Python.  We should be cautious about > documentation bloat and trying to redefine standard t

[issue14123] Doc change re old and new string formatting

2012-02-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14126] Speed up list comprehensions by preallocating the list where possible

2012-02-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14126] Speed up list comprehensions by preallocating the list where possible

2012-02-25 Thread Alex Gaynor
New submission from Alex Gaynor : This adds a new opcode which for certain list comprehensions (ones with no if statements and only a single comprehension), preallocates the list to the appropriate size. Patch is against 2.7, because it was a bit easier. On: def f(): for i in range(1000

[issue14125] Windows: failures in refleak mode

2012-02-25 Thread Stefan Krah
New submission from Stefan Krah : The following tests fail on Windows in refleak mode. I used 24ca28cc9c9c as a reference point. Build is x64. Summary: test_concurrent_futures, test_datetime, test_multiprocessing, test_strftime and test_time are leaking. C:\Users\stefan\hg\master\PCbuild>amd

[issue14120] ARM Ubuntu 3.x buildbot failing test_dbm

2012-02-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I was missing libgdbm-dev on that machine. I just installed it and am running the buildbottests by hand. Let's see if that fixes things. -- ___ Python tracker _

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Ned Deily
Ned Deily added the comment: "shallow copy" and "deep copy" are both standard computer science terms by no means unique to or invented by Python. We should be cautious about documentation bloat and trying to redefine standard terms. http://en.wikipedia.org/wiki/Object_copy#Shallow_copy

[issue14123] Doc change re old and new string formatting

2012-02-25 Thread Glenn Linderman
Changes by Glenn Linderman : -- nosy: +v+python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14123] Doc change re old and new string formatting

2012-02-25 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14124] _pickle.c comment/documentation improvement

2012-02-25 Thread Merlijn van Deen
Changes by Merlijn van Deen : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14124] _pickle.c comment/documentation improvement

2012-02-25 Thread Merlijn van Deen
New submission from Merlijn van Deen : As suggested by loewis in msg154233, I created some documentation to help people get started with _pickle.c. -- assignee: docs@python components: Documentation, Extension Modules files: _pickle_c_doc.diff keywords: patch messages: 154284 nosy: docs

[issue14123] Doc change re old and new string formatting

2012-02-25 Thread Christine Jones
New submission from Christine Jones : Change to this http://docs.python.org/py3k/library/stdtypes.html as suggested by Nick Coghlan here http://www.gossamer-threads.com/lists/python/dev/969817 "The formatting operations described here are modelled on C's printf() syntax. They only support forma

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2012-02-25 Thread Merlijn van Deen
Merlijn van Deen added the comment: Ok, this is my first attempt at the Pickler part of the C implementation. I'll have to adapt the python implementation to match this one. All BytestrPicklerTests in test_bytestrpickle.py pass, and ./python -m test -G -v test_pickle passes. Comments on styl

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What happens is that if self._fill_cache() is called, cache_module='pep3147' > and cache={'pep3147'}. Then 'cache_module in cache' is true and the function > returns: > > loader('pep3147', './pep3147/__init__.py') > > Otherwise, find_module() returns Non

[issue13999] Queue references in multiprocessing doc points to Queue module and not to self

2012-02-25 Thread Sandro Tosi
Changes by Sandro Tosi : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue13999] Queue references in multiprocessing doc points to Queue module and not to self

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d4f2f994f75 by Sandro Tosi in branch '2.7': Issue #13999: refer to multiprocessing.Queue when needed http://hg.python.org/cpython/rev/5d4f2f994f75 -- nosy: +python-dev ___ Python tracker

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: What happens is that if self._fill_cache() is called, cache_module='pep3147' and cache={'pep3147'}. Then 'cache_module in cache' is true and the function returns: loader('pep3147', './pep3147/__init__.py') Otherwise, find_module() returns None, control is han

[issue14120] ARM Ubuntu 3.x buildbot failing test_dbm

2012-02-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14118] _pickle.c structure cleanup

2012-02-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the effort, but I'm rejecting this now. I'm not fundamentally opposed to restructing this code, but I do think that your change would be a slight loss of readability. If you absolutely cannot stand working with such a large code, please try to fin

[issue14122] operator: div() instead of truediv() in documention since 3.1.2

2012-02-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review type: -> enhancement versions: -Python 3.1, Python 3.4 ___ Python tracker ___ _

[issue14122] operator: div() instead of truediv() in documention since 3.1.2

2012-02-25 Thread Félix-Antoine Fortin
New submission from Félix-Antoine Fortin : A small regression was introduced by the changeset 57209 in the documentation of the operator module. In the abstract operations table in section 9.3.1 the first of two lines on Division, the associated function should be : truediv() instead of div(),

[issue14114] 2.7.3rc1 chm gives JS error

2012-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: Should be fixed now, let me know if it works. (Thanks Georg for the help.) -- stage: -> committed/rejected type: -> behavior ___ Python tracker ___

[issue14114] 2.7.3rc1 chm gives JS error

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 64b9ff3c91bb by Ezio Melotti in branch '2.7': #14114: don't include copybutton.js in the htmlhelp output. http://hg.python.org/cpython/rev/64b9ff3c91bb New changeset 7f651187b25c by Ezio Melotti in branch '3.2': #14114: don't include copybutton.js

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou wrote: > This might be what triggers the issue, but it's not the cause. Even with > a bad mtime, the __file__ should still be the right one, so there must > be something else. It definitely triggers the issue because the problem also occurs on Fedo

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le samedi 25 février 2012 à 16:59 +, Stefan Krah a écrit : > Bad version: > > $ ./python -m test test_dot > [1/1] test_dot > 1330188676.0 1330188676.0 This might be what triggers the issue, but it's not the cause. Even with a bad mtime, the __file__ should

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: And indeed, with this patch ... diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -777,6 +777,8 @@ mtime = _os.stat(self.path).st_mtime except OSError

[issue3445] Ignore missing attributes in functools.update_wrapper

2012-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue3445] Ignore missing attributes in functools.update_wrapper

2012-02-25 Thread Yaniv Aknin
Yaniv Aknin added the comment: Shouldn't this be fixed in 2.7 as well? It's a bug, it's in the wild, and it's causing people to do ugly (and maybe not 100% reliable) things like https://code.djangoproject.com/browser/django/trunk/django/utils/decorators.py#L68 -- nosy: +Yaniv.Aknin

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Most buildbots are green, one has a test_subprocess failure, others are still building, but I have to go soon. Release managers, please graft this fix when the bots are all green. -- resolution: -> fixed stage: patch review -> committed/rejected _

[issue14075] argparse: unused method?

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Hm, I was about to commit this and did a double-take. Are we 100% sure that nobody in the whole wide world of Python does not override this function? Shouldn’t we first send a DeprecationWarning in 3.3 and remove later? --

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: So I think the good version proceeds to refresh the _path_cache: <_FileFinder(_relaxed_path_cache={'pep3147'}, packages=[('.py', ), ('.pyc', )], _path_mtime=, modules=[('.cpython-33m.so', ), ('.abi3.so', ), ('.so', ), ('.py', ), ('.pyc', )], path='.', _cache_re

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: OK, I stepped in parallel through the non-failing and the failing versions. The first divergence is when _path_mtime is compared. The comparison in the good version returns 'False', the one in the bad version returns 'True': Good version (Fedora 16): (gdb) p w $1

[issue13447] Add tests for some scripts in Tools/scripts

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Hi Mark. You’re the author of Tools/parser/test_unparse.py; any objection if I move it to the new Lib/test/test_tools.py file, so that all tests for Tools are in one place? -- nosy: +mark.dickinson ___ Python tracker

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13641] decoding functions in the base64 module could accept unicode strings

2012-02-25 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13637] binascii.a2b_* functions could accept unicode strings

2012-02-25 Thread R. David Murray
R. David Murray added the comment: Discussion resolved in favor of patch. -- status: open -> closed ___ Python tracker ___ ___ Python

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73aa4c9305b3 by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/73aa4c9305b3 -- ___ Python tracker

[issue9691] sdist includes files that are not in MANIFEST.in

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73aa4c9305b3 by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/73aa4c9305b3 -- ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73aa4c9305b3 by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/73aa4c9305b3 -- ___ Python tracker

[issue14004] Distutils filelist selects too many files on Windows

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73aa4c9305b3 by Éric Araujo in branch '3.2': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/73aa4c9305b3 -- ___ Python tracker

[issue13447] Add tests for some scripts in Tools/scripts

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 020364d3e359 by Éric Araujo in branch '2.7': Add test file for scripts in Tools (#13447). http://hg.python.org/cpython/rev/020364d3e359 -- nosy: +python-dev ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47788c90f80b by Éric Araujo in branch '2.7': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/47788c90f80b -- nosy: +python-dev ___ Python tracker

[issue14004] Distutils filelist selects too many files on Windows

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47788c90f80b by Éric Araujo in branch '2.7': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/47788c90f80b -- nosy: +python-dev ___ Python tracker

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47788c90f80b by Éric Araujo in branch '2.7': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/47788c90f80b -- ___ Python tracker

[issue9691] sdist includes files that are not in MANIFEST.in

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47788c90f80b by Éric Araujo in branch '2.7': Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). http://hg.python.org/cpython/rev/47788c90f80b -- nosy: +python-dev ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Nadeem Vawda
Nadeem Vawda added the comment: 3.2 patch looks good on Windows. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: A link to a glossary may be better than a link to the top of the copy module. I wonder if we could use glossary markup in the copy module docs instead of adding terms to the global glossary. Tim: I like “undeep”, it’s used to describe a geographical feature of

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is this expected? Looks rather strange to me, it means we have importlib importers on sys.path_importer_cache. Still, the fact that path == '.' above (in _FileFinder as well as find_module_path) makes it difficult to understand the later failure. --

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: I’ll commit the 2.7 patch, see how buildbots fare, then commit the 3.2 version (also attached in case someone wants to test it). -- Added file: http://bugs.python.org/file24638/filelist-regex-bugs-3.2.diff ___ Python t

[issue13491] Fixes for sqlite3 doc

2012-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: docs@python -> petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14082] shutil doesn't copy extended attributes

2012-02-25 Thread Éric Araujo
Éric Araujo added the comment: Sounds good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14080] Sporadic test_imp failure

2012-02-25 Thread Stefan Krah
Stefan Krah added the comment: I've trouble debugging this: Is the new version of importlib already being used? I'm stepping through the offending pep3147 import, which should correspond to this line in test_dot.py: m = __import__('pep3147') Until here Python/import.c is used: find_mod

[issue14113] Failure in test_strptime on Windows

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5aa731bae5e by Nadeem Vawda in branch 'default': Use assertEqual in test_strptime for better failure messages (cf. issue #14113). http://hg.python.org/cpython/rev/d5aa731bae5e -- nosy: +python-dev ___ P

[issue14113] Failure in test_strptime on Windows

2012-02-25 Thread Nadeem Vawda
Nadeem Vawda added the comment: Also failing on the Windows 7 bot: http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/4453/steps/test/logs/stdio -- ___ Python tracker

[issue12801] C realpath not used by os.path.realpath

2012-02-25 Thread Charles-François Natali
Charles-François Natali added the comment: > - os.realpath() uses canonicalize_file_name() if available, or use > realpath() with a buffer of MAXPATHLEN bytes MAXPATHLEN is not necessarily defined (e.g. on the Hurd): if it's not defined, it is set either to MAX_PATH (if it's defined an greate

[issue13491] Fixes for sqlite3 doc

2012-02-25 Thread Petri Lehtinen
Petri Lehtinen added the comment: Both patches look good to me. The text_factory example is OK on 2.7 because the OptimizedUnicode flag works correctly there. -- ___ Python tracker ___

[issue14120] ARM Ubuntu 3.x buildbot failing test_dbm

2012-02-25 Thread Nadeem Vawda
Nadeem Vawda added the comment: Also failing on 3.2: http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.2/builds/227/steps/test/logs/stdio -- versions: +Python 3.2 ___ Python tracker ___

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-02-25 Thread Charles-François Natali
Charles-François Natali added the comment: > +1 to Antoine’s proposal of removal. Agreed. Here's a patch. Do note, however, that it's a behavior change: the address_string() method is documented to return a resolved hostname (when possible). -- keywords: +needs review stage: test nee

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue8305] memoview[0] creates an invalid view if ndim != 1

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue12834] PyBuffer_ToContiguous() incorrect for non-contiguous arrays

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue5231] Change format of a memoryview

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue7433] MemoryView memory_getbuf causes segfaults, double call to tp_releasebuffer

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue14118] _pickle.c structure cleanup

2012-02-25 Thread Merlijn van Deen
Merlijn van Deen added the comment: See https://bitbucket.org/valhallasw/cpython/src/ee0d2beaf6a4/Modules/_pickle.c for a rough structure overview - which maybe also explains why I thought restructuring made sense in the first place. However, I'm not the person who has to maintain the module.

[issue14074] argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple

2012-02-25 Thread Steven Bethard
Steven Bethard added the comment: Looks like the problem is that "_format_action_invocation" is not being as careful with the different possibilities for metavar as "_format_args" is. Patches welcome! -- ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-25 Thread Georg Brandl
Georg Brandl added the comment: Be sure to notify me when you have committed a fix, as changes made now in the 3.2 branch will *not* show up in the final release. -- ___ Python tracker

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2012-02-25 Thread Steven Bethard
Steven Bethard added the comment: Yes, this is a known bug (Issue 11874). Patches welcome. -- resolution: -> duplicate superseder: -> argparse assertion failure with brackets in metavars ___ Python tracker _

[issue14118] _pickle.c structure cleanup

2012-02-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm -1 on splitting the file. This is C, splitting it up will make it *harder* to understand, as you have to search across multiple files to find anything. If you want to make it more readable, I propose that you a) put a comment in the top explaining how the

[issue14082] shutil doesn't copy extended attributes

2012-02-25 Thread Hynek Schlawack
Hynek Schlawack added the comment: If nobody objects, I'd cook up a patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14082] shutil doesn't copy extended attributes

2012-02-25 Thread Charles-François Natali
Charles-François Natali added the comment: I'm also in favor of adding extended attributes to copy2: """ Similar to shutil.copy(), but metadata is copied as well """ extended attributes are metadata. And there are already too many copy functions... -- ___

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2012-02-25 Thread Thomas Leonard
Thomas Leonard added the comment: Just to add a couple of data points to argue in favour of a secure-by-default behaviour: 0install.net: http://secunia.com/advisories/47935 (spoofing attack due to certificate names not being validated) Mozilla is recommending people avoid using Python's bui

[issue14114] 2.7.3rc1 chm gives JS error

2012-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: JQuery and the other scripts (like sidebar.js) are part of Sphinx, whereas the copy button is something that was added to our instances only, by changing the template. -- ___ Python tracker

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2012-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: > FWIW it's pretty much the only way of saying what it means. However, even using "not deep" here would still be ambiguous. What's a deep copy? What's a non-deep copy? Using "shallow" might be a problem, but the real problem is that regardless of the wording,

  1   2   >