[issue1739648] zipfile.testzip() using progressive file reads

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I'm not sure about new tests, but the changes in the docstring and old tests look necessary. -- Added file: http://bugs.python.org/file25402/testzip-patch4.patch ___ Python tracker

[issue14315] zipfile.ZipFile() unable to open zip File

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Anyone can look at the patch? This same problem reported in http://bugs.python.org/msg73317 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14315

[issue14657] Avoid two importlib copies

2012-04-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Uploaded new bootstrapping patch that handles the fully explicit import machinery. I also tweaked a couple of things so it plays nicely in terms of building an initial version with the checked in importlib.h. Specifically: pythonrun still

[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-29 Thread py.user
py.user bugzilla-mail-...@yandex.ru added the comment: \S is equivalent to [^\s] like \d with \D -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14236 ___

[issue14558] Documentation for unittest.main does not describe some keyword arguments.

2012-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a patch. -- assignee: docs@python - ezio.melotti keywords: +patch stage: needs patch - commit review Added file: http://bugs.python.org/file25404/issue14558.diff ___ Python tracker

[issue14519] In re's examples the example with scanf() contains wrong analog for %x, %X specifiers

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b26471a2a115 by Ezio Melotti in branch '2.7': #14519: fix the regex used in the scanf example. http://hg.python.org/cpython/rev/b26471a2a115 New changeset e317d651ccf8 by Ezio Melotti in branch '3.2': #14519: fix

[issue14519] In re's examples the example with scanf() contains wrong analog for %x, %X specifiers

2012-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report and the suggestions! -- assignee: docs@python - ezio.melotti resolution: - fixed stage: needs patch - committed/rejected status: open - closed type: - enhancement

[issue14691] a code example not highlighted in http://docs.python.org/dev/library/stdtypes.html#memoryview

2012-04-29 Thread Ramchandra Apte
New submission from Ramchandra Apte maniandra...@gmail.com: A code example is not highlighted in the 3.3 docs for memoryview (http://docs.python.org/dev/library/stdtypes.html#memoryview) Only 3.3 is affected by this bug as the code example is for a feature in 3.3. -- assignee:

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: test_process_time_threads is failing on one of the buildbots: == FAIL: test_process_time_threads (test.test_time.TimeTestCase)

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: LGTM. Juste one nitpick: why do you sometimes import the clock source as get_time() and others _time()? _time() looks fine to me. -- ___ Python tracker rep...@bugs.python.org

[issue12947] Examples in library/doctest.html lack the flags

2012-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Is there a way to add a :keep-doctest-flags: options to literal blocks? -- stage: test needed - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org

[issue6759] zipfile.ZipExtFile.read() is missing universal newline support

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Support lines in zipfile looks contradictory and buggy. This complicates the code and makes the behavior of zipfile.ZipExtFile incompatible with the interface of other file-like objects. For example, the behavior of the read, read1 and

[issue11352] Update cgi module doc

2012-04-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: What is the reason for this one to languish for over a year now? Lack of proper patch? It’s marked “high priority”, so let’s get moving. -- nosy: +hynek, sandro.tosi ___ Python tracker

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Jakob Simon-Gaarde
New submission from Jakob Simon-Gaarde jako...@gmail.com: Hi It seems like the parse_constant keyword parameter for registering a callback function is no longer called in Python 2.7. http://docs.python.org/library/json.html#json.load I am using Python 2.7.3 on Ubuntu 12.04 I have created and

[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Good point. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14236 ___ ___ Python-bugs-list

[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 23d5b457dc71 by Ezio Melotti in branch '3.2': #14236: fix docs for \S. http://hg.python.org/cpython/rev/23d5b457dc71 New changeset 9165774a8055 by Ezio Melotti in branch 'default': #14236: merge with 3.2.

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14692 ___

[issue14671] isinstance(obj, object) returns True for _old style_ class instances

2012-04-29 Thread Q
Q abon...@gmail.com added the comment: thanks, that's rather convenient -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14671 ___ ___

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: This behavior was changed in changeset f686aced02a3 three year ago. If this change is intentional, then you need edit documentation. -- nosy: +storchaka ___ Python tracker

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Hi Jakob, parse_constant has been changed as of d95e5add3ca4 to be called only on -Infinity, Infinity, NaN: ``parse_constant``, if specified, will be called with one of the following strings: -Infinity, Infinity, NaN. This

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file25406/json_parse_constant_doc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14692

[issue14315] zipfile.ZipFile() unable to open zip File

2012-04-29 Thread Yuval Greenfield
Yuval Greenfield ubershme...@gmail.com added the comment: If we're modifying zipfile, please consider adding the reviewed patch for ZipFile.remove at http://bugs.python.org/issue6818 -- nosy: +ubershmekel ___ Python tracker rep...@bugs.python.org

[issue10376] ZipFile unzip is unbuffered

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Actually reading from the zip file is buffered (at least 4 KiB of uncompressed data at a time). Can you give tests, scripts and data, which show the problem? -- ___ Python tracker

[issue14671] isinstance(obj, object) returns True for _old style_ class instances

2012-04-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14671 ___ ___

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The original changeset is at [0], and the commit message just says even more decoder optimizations. The official website[1] and the RFC[2] don't list any constant, so I guess the definition of what a constant is is not well defined. [0]:

[issue8767] Configure: Cannot disable unicode

2012-04-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___ ___ Python-bugs-list

[issue14643] Security page out of date

2012-04-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14643 ___ ___

[issue14313] zipfile should raise an exception for unsupported compression methods

2012-04-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file25407/zipfile_unsupported_compression.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14313

[issue14672] Windows installer: add desktop shortcut(s)

2012-04-29 Thread Daniel Swanson
Daniel Swanson popcorn.tomato.d...@gmail.com added the comment: Never mind. I think I used the start menu to do it myself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14672 ___

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Dov Feldstern
New submission from Dov Feldstern dfeldst...@nds.com: Python has its own implementations of various hash functions, that can be used as fallbacks when openssl is not available. However, if openssl *is* available at build time, then these fallbacks don't get built. It would be nice if they

[issue4653] Patch to fix typos in C code

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: -mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4653 ___ ___

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: that message requests that a bug be opened about this, but I wasn't able to find it? Probably because no-one opened an issue. build onto portable or shared storage, and run on multiple machines, even if openssl happens not to be available

[issue6759] zipfile.ZipExtFile.read() is missing universal newline support

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Deprecate universal newline support in zipfile. zipfile.ZipExtFile should always work with non-modified bytes, and who need the text, let wraps zipfile.ZipExtFile with io.TextIOWrapper. This would be fine with me. -- nosy: +pitrou

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14693 ___ ___ Python-bugs-list

[issue14417] dict RuntimeError workaround

2012-04-29 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I could check it in, but I probably would mess up something (which branches are affected?). Let me know if you want me to. The priorities after that would be: 1) update docs (the warning about RuntimeError needs to be moderated) 2) convert

[issue14521] math.copysign(1., float('nan')) returns -1.

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c468511fc887 by Mark Dickinson in branch 'default': Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').

[issue14521] math.copysign(1., float('nan')) returns -1.

2012-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Now fixed. -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14521 ___

[issue14417] dict RuntimeError workaround

2012-04-29 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Actually my patch doesn't even apply cleanly. I suspect the dict refactoring for shared keys interfered. Someone please help! -- ___ Python tracker rep...@bugs.python.org

[issue6759] zipfile.ZipExtFile.read() is missing universal newline support

2012-04-29 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: This would be fine with me. It may be worth to deprecate PEP 278? Oh, only ten years have passed since 2.3, but it seems it was so long ago. -- ___ Python tracker rep...@bugs.python.org

[issue6759] zipfile.ZipExtFile.read() is missing universal newline support

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It may be worth to deprecate PEP 278? Oh, only ten years have passed since 2.3, but it seems it was so long ago. Well, I don't know if PEPs ever get deprecated. In this case, PEP 3116 is probably the superseder. --

[issue14691] a code example not highlighted in http://docs.python.org/dev/library/stdtypes.html#memoryview

2012-04-29 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Is it a sphinx version problem? I could not figure out why that particular code is not highlighted. The syntax looks correct. -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org

[issue11352] Update cgi module doc

2012-04-29 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: docs@python - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11352 ___

[issue14462] In re's named group the name cannot contain unicode characters

2012-04-29 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: It doesn't work in regex, but it probably should. IMHO, if it's a valid identifier, then it should be allowed. -- ___ Python tracker rep...@bugs.python.org

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Actually, the modules are always compiled when in debug mode. Here is a patch to always compile them. -- keywords: +patch Added file: http://bugs.python.org/file25408/hashlibfallbacks.patch ___ Python

[issue14157] time.strptime without a year fails on Feb 29

2012-04-29 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- keywords: +needs review stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14157 ___

[issue14082] shutil doesn't copy extended attributes

2012-04-29 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14082 ___ ___ Python-bugs-list

[issue14662] shutil.move broken in 2.7.3 on OSX (chflags fails)

2012-04-29 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- components: +Library (Lib) -None stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14662 ___

[issue9009] Improve quality of Python/dtoa.c

2012-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Dropping this due to lack of time; unless anyone else wants to pick it up, it should probably be closed as won't fix. -- assignee: mark.dickinson - priority: normal - low ___ Python tracker

[issue14521] math.copysign(1., float('nan')) returns -1.

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14521 ___ ___

[issue11012] Add log1p(), exp1m(), gamma(), and lgamma() to cmath

2012-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Unassigning. I'm not planning to work on this in the forseeable future, though I'd be happy to review patches. -- assignee: mark.dickinson - ___ Python tracker rep...@bugs.python.org

[issue10433] Document unique behavior of 'getgroups' on OSX

2012-04-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: This one LGTM, still applies cleanly against current tip and is languishing for a way to long time. Commit close? -- nosy: +hynek versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue14610] configure script hangs on pthread verification and PTHREAD_SCOPE_SYSTEM verification on Ubuntu

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I'm closing as invalid. If you decide to fill a bug report to your distribution (or directly to the libc in this case), it'd be interesting to post a link to the bug report here. Thanks. -- resolution: - invalid stage: -

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Anybody working on this one? I’d give it a shot otherwise. Go ahead. You could - should? - probably use the new os.fwalk() to walk directories in a safe maner. -- ___ Python tracker

[issue14694] Option to show leading zeros for bin/hex/oct

2012-04-29 Thread endolith
New submission from endolith endol...@gmail.com: Suggestion: Add an option to bin/hex/oct functions to format binary output with a minimum fixed width, including leading zeros. Also might be useful for hex and oct. Currently, bin(18) produces '0b10010' with this change, something like

[issue14694] Option to show leading zeros for bin/hex/oct

2012-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: -1. str.format already does this quite effectively; I don't see a real need to complicate the bin, hex and oct signatures. '{:016b}'.format(324) '000101000100' '{:016o}'.format(324) '0504' '{:016x}'.format(324)

[issue14694] Option to show leading zeros for bin/hex/oct

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14694 ___ ___

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-04-29 Thread endolith
endolith endol...@gmail.com added the comment: Ok. I'm not sure what backwards compatibility issues would exist, though. The only difference is that mboxrd converts \nFrom → \nFrom \nFrom → \nFrom making the conversion reversible, while mboxo does \nFrom → \nFrom \nFrom → \nFrom

[issue14694] Option to show leading zeros for bin/hex/oct

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14694 ___ ___

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Well, it always boils down to the same problem: should we offer thin wrappers around underlying syscalls or offer higher-level functions? I personally think that offering mere wrappers around syscalls doesn't make much sense: Python

[issue14688] Typos in sorting.rst

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 295fec2cd5ed by Raymond Hettinger in branch '3.2': Issue 14688: Fix typo http://hg.python.org/cpython/rev/295fec2cd5ed -- nosy: +python-dev ___ Python tracker

[issue14688] Typos in sorting.rst

2012-04-29 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14688 ___

[issue13959] Re-implement parts of imp in pure Python

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset eb5c5c23ca9b by Brett Cannon in branch 'default': Issue #13959: Re-implement imp.NullImporter in Lib/imp.py. http://hg.python.org/cpython/rev/eb5c5c23ca9b -- ___ Python

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-04-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If that's really the only difference we might indeed be able to treat it as a bug fix. I'd have to look at a proposed patch to be sure. -- ___ Python tracker rep...@bugs.python.org

[issue13959] Re-implement parts of imp in pure Python

2012-04-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Update time! With NullImporter dealt with, that leaves get_magic(), get_tag(), reload(), and get_suffixes() as things to potentially move to Lib/imp.py. I would also like to re-implement PyImport_ExecCodeModuleObject() as it's keeping a lot of

[issue13959] Re-implement parts of imp in pure Python

2012-04-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 1659 lines less than 3.2’s import.c so far! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13959 ___

[issue9154] Parser module doesn't understand function annotations.

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9f57d66689ca by Mark Dickinson in branch '3.2': Issue #9154: Fix parser module to understand function annotations. http://hg.python.org/cpython/rev/9f57d66689ca New changeset cee5cb877631 by Mark Dickinson in

[issue14034] Add argparse howto

2012-04-29 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: addressing the bulk of your comments this does not address last message, where you want the lines highlighted; it will be rather tedious; to me the code snippets are short enough, removing the need for highlighting -- Added

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1255cac63dfc by Victor Stinner in branch 'default': Issue #14428: Rewrite test_process_time_threads() test http://hg.python.org/cpython/rev/1255cac63dfc -- ___ Python

[issue14428] Implementation of the PEP 418

2012-04-29 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: The test is a bit too optimistic: a thread is looping for 0.2s, and the test checks that the process time (user + system) increased of at least 0.1s. If the thread is preempted, there's a high chance you won't get even as low as 0.1s.

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Martin, is there any reason not to commit your patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14433 ___

[issue14127] add st_*time_ns fields to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-04-29 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Failure on x86 OpenIndiana 3.x: FAIL: test_stat_attributes (test.test_os.StatAttributeTests) -- Traceback (most recent call last): File

[issue9154] Parser module doesn't understand function annotations.

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9154 ___

[issue14691] a code example not highlighted in http://docs.python.org/dev/library/stdtypes.html#memoryview

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 925fbcfbbc45 by Sandro Tosi in branch 'default': Issue #14691: indent the traceback so the example is highlighted http://hg.python.org/cpython/rev/925fbcfbbc45 -- nosy: +python-dev

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Hum, the problem is maybe that the thread is preempted, but the first problem is that the test considers that time.process_time() uses seconds. Hum, what? You mean that process_time() doesn't return seconds? --

[issue14691] a code example not highlighted in http://docs.python.org/dev/library/stdtypes.html#memoryview

2012-04-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: It's seems like a deja-vu: I thought I saw this problem once, and was already fixed - bah, it was tricky (traceback needs to be indented for the code to be highlighted), that's why I remember it -- nosy: +sandro.tosi resolution: -

[issue13959] Re-implement parts of imp in pure Python

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset eb68502731dd by Brett Cannon in branch 'default': Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py. http://hg.python.org/cpython/rev/eb68502731dd -- ___

[issue14647] imp.reload() on a package leads to a segfault or a GC assertion failure

2012-04-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Fixed by http://hg.python.org/cpython/rev/eb68502731dd -- assignee: - brett.cannon resolution: - fixed stage: test needed - status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Dov Feldstern
Dov Feldstern dfeldst...@nds.com added the comment: Thanks for the prompt response! Yes, this looks good, I made a very similar patch myself and it seemed to work correctly (but that was on 2.7, and I didn't know how exactly to fix up the tests...). Thanks again! --

[issue13959] Re-implement parts of imp in pure Python

2012-04-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So here is the deal with PyImport_ExecCodeModuleObject(): bootstrapping and Barry has made this a little annoying. =) First off, PyImport_ImportFrozenModuleObject() uses PyImport_ExecCodeModuleObject(), so that precludes just directly importing

[issue14695] Tools/parser/unparse.py is out of date.

2012-04-29 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Here's a patch that makes all tests in Tools/parser/test_unparse.py pass on the default branch. (The 'yield from' bits would have to be removed for 3.2.) -- components: Demos and Tools files: unparse.patch keywords: patch

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The official way for building certain modules despite auto-configuration is to edit Modules/Setup, or Modules/Setup.local. This already supports the exact use case, so I'm closing this as works for me. -- nosy: +loewis resolution:

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: works for me - stage: needs patch - patch review status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14693 ___

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Antoine: why did you reopen it? Leave *at least* an explanation please. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14693 ___

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Antoine: why did you reopen it? Leave *at least* an explanation please. Ah, sorry. I think it's a reasonable enhancement request, and furthermore the patch simplifies the setup code. Also, it allows us to test the _md5 (etc.) modules in

[issue10941] imaplib: Internaldate2tuple produces wrong result if date is near a DST change

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 90b9781ccb5f by Alexander Belopolsky in branch '3.2': Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near http://hg.python.org/cpython/rev/90b9781ccb5f New changeset 6e029b6c142a by Alexander

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: If it's an official feature that these modules are always built, the patch is insufficient: it then also needs to adjust the build environment for Windows, and the packaging. It potentially also affects packaging for OSX and Linux. I still

[issue14696] parser module doesn't support nonlocal statement

2012-04-29 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Here's a patch. -- files: parser_nonlocal.patch keywords: patch messages: 159651 nosy: mark.dickinson priority: normal severity: normal stage: patch review status: open title: parser module doesn't support nonlocal statement type:

[issue14696] parser module doesn't support nonlocal statement

2012-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Better test: the nonlocal statements should be in a nested scope. -- Added file: http://bugs.python.org/file25412/parser_nonlocal.patch ___ Python tracker rep...@bugs.python.org

[issue14696] parser module doesn't support nonlocal statement

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file25411/parser_nonlocal.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14696 ___

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There are many sporadic failures on the buildbots: == FAIL: test_process_time_threads (test.test_time.TimeTestCase)

[issue14696] parser module doesn't support nonlocal statement

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b7e491b9094f by Mark Dickinson in branch '3.2': Issue #14696: Fix parser module to understand 'nonlocal' declarations. http://hg.python.org/cpython/rev/b7e491b9094f New changeset 5acddc7c666d by Mark Dickinson in

[issue14696] parser module doesn't support nonlocal statement

2012-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson components: +Library (Lib) resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14696

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-04-29 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I don't have a problem with always compiling them. Distro packagers should see that the stand alone versions are not distributed with their package that has a dependency on openssl as they'll just be a waste of space. But that is up to the

[issue14697] parser module doesn't support set displays or set comprehensions

2012-04-29 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: parser.tuple2st(parser.expr('{2}').totuple()) Traceback (most recent call last): File stdin, line 1, in module parser.ParserError: could not validate expression tuple [70677 refs] parser.tuple2st(parser.expr('{x**2 for x in [1, 2,

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0bdf0727ee29 by Victor Stinner in branch 'default': Issue #14428: Make test_process_time_threads() less strict http://hg.python.org/cpython/rev/0bdf0727ee29 -- ___ Python

[issue11352] Update cgi module doc

2012-04-29 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: What is the reason for this one to languish for over a year now? Maybe because few people are concerned by the cgi module? Lack of proper patch? It would help to have a patch attached to the issue, and a review of the patch.

[issue14428] Implementation of the PEP 418

2012-04-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ad3d6010379b by Victor Stinner in branch 'default': Issue #14428: Remove test_process_time_threads() from test_time http://hg.python.org/cpython/rev/ad3d6010379b -- ___

[issue7677] improve error message for setup.py upload --sign without --identity

2012-04-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: We had a look at this bug during a sprint last week. First, it is reasonable to use --sign without --identity, as gpg will fall back to a default identity (see the description of --local-user and --default-key in the gpg man page). Second, it

[issue7677] upload: improve display for error messages from gpg

2012-04-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: improve error message for setup.py upload --sign without --identity - upload: improve display for error messages from gpg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7677

[issue6114] distutils build_ext path comparison only based on strings

2012-04-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Two people started working on this during the first Montreal sprint. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6114

  1   2   >