[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-18 Thread Eduard
Eduard alexandrul...@gmail.com added the comment: OTOH, the manifest embedded in python.exe references version 9.0.21022.8 I'm going to delete Microsoft.VC90.CRT.manifest and msvcr90.dll from Python installation folder and postpone py2exe experiments a bit. --

[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Eduard: is all this causing *actual* problems? Any version should be fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14608 ___

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

2012-04-18 Thread Raphael Cruzeiro
New submission from Raphael Cruzeiro raphaelcruze...@raphaelcruzeiro.com: While installing Python 2.7.3 on my Ubuntu server the configure script hanged on the verification for pthread, I then proceded to alter the script to aways return true for pthread and it hanged again checking for

[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-18 Thread Eduard
Eduard alexandrul...@gmail.com added the comment: Any version should be fine. This is all I need to know. It's just one less place to check in case of troubles. Thank you for your time and patience. -- resolution: - invalid status: open - closed

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread Stefano Taschini
New submission from Stefano Taschini tasch...@ieee.org: How to reproduce Take the following two functions: def f(l, (x, y)): ...sup = max(u*x + v*y for u, v in l) ...return ((u, v) for u, v in l if u*x + v*y == sup) def g((x, y)): ...def h():

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

2012-04-18 Thread Stefano Taschini
Stefano Taschini tasch...@ieee.org added the comment: Concrete examples can be seen in the section http://docs.python.org/library/doctest.html#option-flags-and-directives For instance at http://docs.python.org/library/doctest.html#doctest.IGNORE_EXCEPTION_DETAIL The doctest flags present in

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

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14610 ___ ___ Python-bugs-list mailing

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +michael.foord, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14611 ___ ___

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: You should remove the old code instead of comment it. +/* NOTE configure check if ncurses require such definition #define NCURSES_OPAQUE 0 +*/ +/* NOTE configure check for existence of flags + * Also flags are visible only if WINDOW

[issue14606] Memory leak subprocess on Windows

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: I don't see any leak on Linux with Python 2.7 or Python 3.3. How much KB does subprocess leak per process? -- nosy: +haypo title: Memory leak subprocess - Memory leak subprocess on Windows

[issue14591] Value returned by random.random() out of valid range

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14591 ___ ___ Python-bugs-list

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
New submission from Massimiliano Tomassoli kiuhn...@yahoo.it: Debugging script.py and jumping to line 3 makes Python crash. For instance: python -m pdb script.py (Pdb) j 3 -- components: Interpreter Core files: script.py messages: 158603 nosy: mtomassoli priority: normal severity:

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
Changes by Massimiliano Tomassoli kiuhn...@yahoo.it: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14612 ___ ___

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14612 ___ ___ Python-bugs-list

[issue14606] Memory leak subprocess on Windows

2012-04-18 Thread Roland
Roland r...@ebi.ac.uk added the comment: 20kb exactly, I can confirm it is only on Windows. I'm currently running some tests to make sure it isn't a general Windows problem. I'll post an update as soon as done. -- ___ Python tracker

[issue14606] Memory leak subprocess on Windows

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: 20kb exactly, I can confirm it is only on Windows. I'm currently running some tests to make sure it isn't a general Windows problem. I'll post an update as soon as done. Oh, that's a lot. Can you please also try with Python 3.2?

[issue14385] Support other types than dict for __builtins__

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: -assert(!builtins || PyDict_Check(builtins)); +assert(!builtins); Oops, the assert must be replaced with assert(builtins != NULL) - fixed in patch version 4. -- Added file:

[issue14428] Implementation of the PEP 418

2012-04-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Please leave the pybench default timers unchanged in case the new APIs are not available. The perf_counter_process_time.patch currently changes them, even though the new APIs are not available on older Python releases, thus breaking pybench

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: time.time() can return None, or sometimes NaN. If it can't get a proper value from the OS then I would expect it to throw an exception. The docs don't mention anything about error conditions. This was originally reported to Ubuntu

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- stage: - test needed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14613 ___

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14613 ___

[issue14613] time.time can return None or NaN

2012-04-18 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Issue 14028 is related. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14613 ___

[issue14613] time.time can return None or NaN

2012-04-18 Thread Roman
Changes by Roman roman.yepis...@canonical.com: -- nosy: +rye ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14613 ___ ___ Python-bugs-list mailing

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Formal parameter tuple unpacking was removed in Python3, so this is a Python2-only issue. Would you like to submit a patch for Python2? -- nosy: +r.david.murray priority: normal - low stage: - needs patch

[issue14613] time.time can return None or NaN

2012-04-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: What exact version of Python was used? What's the complete list of patches that was applied to this Python version? As discussed in #14028, this behavior doesn't correspond to the code at all. So hardware error, compiler error, and

[issue14590] ConfigParser doesn't strip inline comment when delimiter occurs earlier without preceding space.

2012-04-18 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: While this bug is real, I'm hesitant to fix it for 2.7 and 3.2. I can imagine someone using the current behaviour unintentionally, and getting burned by the fix. This would be a real PITA to debug. Is it fine by you if I just fix it for 3.3 and

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: For reference, here is the crash: rdmurray@hey:~/python/p33./python -m pdb script.py /home/rdmurray/python/p33/script.py(1)module() - with open('test') as f: (Pdb) j 3 python: Objects/frameobject.c:207: frame_setlineno: Assertion

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is a really important usecase for many packages including py.test and twisted, though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14609

[issue14613] time.time can return None or NaN

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: time.time() can return None, or sometimes NaN It is possible that it returns NaN, but it cannot return None. time.time() implementation of Python 2.7: static PyObject * time_time(PyObject *self, PyObject *unused) { double secs;

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14612 ___

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: So NaN is a possible result from time.time()? Perhaps that should be mentioned in the docs. Is returning NaN preferable to failing with an exception? -- ___ Python tracker

[issue14613] time.time can return None or NaN

2012-04-18 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It is possible that it returns NaN How is that possible? I can't see any way that the Python 2.7 implementation of floattime could return a NaN. In each case, floattime appears to be extracting integer fields from some suitable struct,

[issue14371] Add support for bzip2 compression to the zipfile module

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: `buf += data` is noticeably faster `b''.join()` in CPython. Perhaps because your system's memory allocator is extremely good (or buf is always very small), but b''.join() is far more robust. Another alternative is accumulating in a bytearray,

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Peter Otten
Peter Otten __pete...@web.de added the comment: frame_setlineno() doesn't keep track of with blocks. Here's a patch. -- keywords: +patch nosy: +potten Added file: http://bugs.python.org/file25258/frame_setlineno.patch ___ Python tracker

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread Stefano Taschini
Stefano Taschini tasch...@ieee.org added the comment: I'll give it a try. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14611 ___ ___

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

2012-04-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you. I think it’s clear that for the docs of the doctest flags we need to display snippets with the flags. -- resolution: invalid - stage: committed/rejected - test needed status: closed - open

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: that's a pretty sneaky hack, but I can see the (weak) point of it. So, to keep backward compatibility, importlib._bootstrap._find_and_load() would have to return sys.modules[fullname] instead of the module returned by

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I honestly don't care enough to argue over this one (I was trying to save a dict lookup but unfortunately too many people have codified the behaviour already). Just revert http://hg.python.org/cpython/rev/005fd1fe31ab to get back the original

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

2012-04-18 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: You could change Lib/imp.py to have ``import _frozen_importlib as _bootstrap`` if you want the same modules coming from imp, but I would argue against changing importlib itself being changed as that complicates development since if you screw up

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I would advocate breaking any compatability. In fact, I think it can be documented. This is a useful feature, and not hard to maintain. -- ___ Python tracker rep...@bugs.python.org

[issue14585] Have test_import run more importlib tests

2012-04-18 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14585 ___ ___

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: I would advocate breaking any compatability. Did you mean against breaking any compatability? The problem is that it's just one more sticky little detail that adds to the complexity of understanding the import system. It's things

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

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: On the _frozen_importlib point, I'm fine with that. It was just counter-intuitive that the importlib._bootstrap functions were returning loaders whose classes weren't also defined there. I'll have another look at that test tonight and

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file25259/d6aeff63fa5e.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10142 ___

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset db5e3431ee4c by Benjamin Peterson in branch 'default': rollback 005fd1fe31ab (see #14609 and #14582) http://hg.python.org/cpython/rev/db5e3431ee4c -- nosy: +python-dev

[issue14609] can't modify sys.modules during import with importlib

2012-04-18 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14609 ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- hgrepos: +119 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10142 ___ ___ Python-bugs-list mailing

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file19566/z.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10142 ___

[issue14582] Have importlib use return value from a loader's load_module()

2012-04-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset db5e3431ee4c by Benjamin Peterson in branch 'default': rollback 005fd1fe31ab (see #14609 and #14582) http://hg.python.org/cpython/rev/db5e3431ee4c -- ___ Python tracker

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file25260/3f967e00e267.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10142 ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Victor, internally Python uses 0, 1 and 2 as wired values independently of the platform values. This is probably an historic accident. Please, review. -- stage: needs patch - patch review ___ Python

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Which it doesn't, as exemplified in e8c87226bcb3 :-) -- components: Interpreter Core messages: 158632 nosy: benjamin.peterson, ncoghlan, pitrou priority: low severity: normal status: open title: PyTuple_SET_ITEM could check bounds in

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Also, PyList_SET_ITEM and friends. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14614 ___

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6a0a073e8461 by Benjamin Peterson in branch '3.2': SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) http://hg.python.org/cpython/rev/6a0a073e8461 New changeset 0695f5d028a7 by

[issue14575] IDLE crashes after file open in OS X

2012-04-18 Thread Hugh Gibbons
Hugh Gibbons hg13...@gmail.com added the comment: Thanks. I will try that and see if everything is OK with the updated Tcl/Tk. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14575 ___

[issue12633] sys.modules doc entry should reflect restrictions

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: The original motivator: http://mail.python.org/pipermail/python-dev/2011-July/112497.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12633

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: The patch is out of date, but the question is still somewhat applicable. -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12598

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: Once the dust clears from the issue 2377 and issue 13959, we should consider what import-state-related members of PyInterpreterState (Include/pystate.h) can be removed. This is in the interest of simplifying the interpreter state.

[issue12633] sys.modules doc entry should reflect restrictions

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: also, issue 14615 is related to making sys.modules authoritative. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12633 ___

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So PyState_FindModule() is an (undocumented) part of the public API, which means that it has to somehow be supported to keep ABI compatibility (unless I am reading PEP 384 incorrectly). -- ___ Python

[issue14616] subprocess docs should mention pipes.quote/shlex.quote

2012-04-18 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: The warning at http://docs.python.org/library/subprocess#frequently-used-arguments should IMO recommend using shlex.quote. Even if it strongly advises against using shell=True, there are people who need or want to use it, so let’s give them

[issue9723] Add shlex.quote

2012-04-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See #14616 for a doc edition related to this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9723 ___

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Curse you, undocumented API that we have to support! It could still wrap a simple get() on sys.modules, roughly like this: PyObject* PyState_FindModule(struct PyModuleDef* m) { PyObject* modules, module; modules =

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Ethan Furman
New submission from Ethan Furman et...@stoneleaf.us: From http://docs.python.org/py3k/reference/datamodel.html#object.__hash__ --- Classes which inherit a __hash__() method from a parent class but change the meaning of __eq__()

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

2012-04-18 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: It's been over a year since any activity on this bug, and it is still in the patch review stage. Any news? Anything else I can provide to help to get this moved to the next stage? Thanks! -- ___

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

2012-04-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Someone needs to find time to review it. You could try recruiting reviewers on python-list. Anyone can do a review. Obviously the more knowledge they have in this area the better, but any good review is likely to move the issue along.

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Right, so the question is why wasn't that done in the first place? Who decided this modules_by_index concept was even worth it? -- ___ Python tracker rep...@bugs.python.org

[issue11750] Mutualize win32 functions

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11750 ___ ___ Python-bugs-list

[issue11750] Mutualize win32 functions

2012-04-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f3a27d11101a by Antoine Pitrou in branch 'default': Issue #11750: The Windows API functions scattered in the _subprocess and http://hg.python.org/cpython/rev/f3a27d11101a -- nosy: +python-dev

[issue11750] Mutualize win32 functions

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks a lot for doing this! Patch now committed to 3.3 (after testing under Windows 7 64 bits). -- assignee: brian.curtin - components: -Windows resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14615 ___ ___ Python-bugs-list mailing

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 2.7 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14617 ___ ___

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This looks sensible. -- components: +Interpreter Core nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12598 ___

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Some of the sentence phrasing still sounds a bit awkward to me (“[...], means that not only will instances” for example, and I would also remove the parens at the end), but globally I think this is an improvement. -- nosy: +eric.araujo

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Another candidate that could probably go away, regardless of the import work, is 'modules_by_index'. As far as I can see, there is only one use ofinterp-modules_by_index in the cpython code-base: PyState_FindModule() in

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I don't see the point. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12598 ___

[issue14518] Add bcrypt $2a$ to crypt.py

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14518 ___ ___ Python-bugs-list mailing list

[issue14596] struct.unpack memory leak

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14596 ___ ___ Python-bugs-list mailing list

[issue8536] Support new features of ZLIB 1.2.4

2012-04-18 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Nadeem Vawda: Jesús, did you have any particular idea about exactly where these new features would be useful? Or was your idea that someone needs to read through the code and check whether the features can be used at all? Yes, my idea was for

[issue8536] Support new features of ZLIB 1.2.6

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- title: Support new features of ZLIB 1.2.4 - Support new features of ZLIB 1.2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8536 ___

[issue14601] PEP sources not available as documented

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14601 ___ ___ Python-bugs-list mailing list

[issue9030] ctypes variable limits

2012-04-18 Thread Pauli Rikula
Pauli Rikula pauli.rik...@gmail.com added the comment: This enchantment overlaps with sys -module's sys.float_info (new in 2.6) and sys.long_info (new in 2.7). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9030

[issue14532] multiprocessing module performs a time-dependent hmac comparison

2012-04-18 Thread Jon Oberheide
Jon Oberheide j...@oberheide.org added the comment: v3 patch, based on feedback from the review here: http://bugs.python.org/review/14532/show -- Added file: http://bugs.python.org/file25262/hmac-time-independent-v3.patch ___ Python tracker

[issue14310] Socket duplication for windows

2012-04-18 Thread sbt
sbt shibt...@gmail.com added the comment: Can this issue be reclosed now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14310 ___ ___

[issue14310] Socket duplication for windows

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14310 ___ ___ Python-bugs-list

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: Éric Araujo wrote: Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 2.7 -Python 3.1 The docs for 2.7 are correct, as __hash__ is not automatically suppressed in that version. -- ~Ethan~ --

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Sorry, Martin, for not looking at PEP 3121 before. I was thinking modules_by_index was a lot older. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14615

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-18 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've attached a patch with more tests. I simply copied and modified the tests about metaclass calculation and __prepare__ in test_descr.py, to create the tested classes with operator.build_class (and not the class statement). Although,

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

2012-04-18 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: Ah. I figured that one of the Python devs would be who would review it. Is this the normal path for bugs? Not to question the process, but I find it surprising, since I would think that it would cause a lot of bugs to stall out. Also, I had

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

2012-04-18 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I'll review your patch. On Apr 18, 2012, at 4:53 PM, Joe Peterson rep...@bugs.python.org wrote: Joe Peterson j...@skyrush.com added the comment: Ah. I figured that one of the Python devs would be who would review

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14617 ___ ___ Python-bugs-list

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

2012-04-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I see Alexander is going to take care of this. But to clarify what I suggested for your information: In an ideal world it would be a committer doing the patch review, followed by a checkin. But in the real world there aren't enough of

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

2012-04-18 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: Thanks!! :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10941 ___ ___ Python-bugs-list

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

2012-04-18 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: David, I understand - thanks for the details. Hopefully I can return the favor and review one in the future. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10941

[issue14615] pull some import state out of the interpreter state

2012-04-18 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Rather than being arbitrary, the motivation here is to limit amount of the import state that is specific to CPython. I apologize that that wasn't clear. The three import-related members of PyInterpreterState (modules,

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: More re-writing... -- Added file: http://bugs.python.org/file25264/__hash__2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14617 ___

[issue12081] Remove distributed copy of libffi

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +amaury.forgeotdarc, belopolsky, eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12081 ___

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Please leave the pybench default timers unchanged in case the new APIs are not available. Ok, done in the new patch: perf_counter_process_time-2.patch. -- Added file:

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25202/perf_counter_process_time.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25210/pep418-9.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

  1   2   >