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

2012-04-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Eduard: is all this causing *actual* problems? Any version should be fine. -- ___ Python tracker ___ _

[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 : 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 PTHREAD_SCOPE_SYSTEM, which I also bypasse

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

2012-04-18 Thread Eduard
Eduard 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 ___ Python tracker

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread Stefano Taschini
New submission from Stefano Taschini : 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 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 the sources in h

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

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

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +michael.foord, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2012-04-18 Thread STINNER Victor
STINNER Victor 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 structure is not opaque #

[issue14606] Memory leak subprocess on Windows

2012-04-18 Thread STINNER Victor
STINNER Victor 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 ___ Python tracker

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

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
New submission from Massimiliano Tomassoli : 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: normal status: open ti

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
Changes by Massimiliano Tomassoli : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14606] Memory leak subprocess on Windows

2012-04-18 Thread Roland
Roland 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 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 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: http://bugs.python.org/file25257/builtins-4.p

[issue14428] Implementation of the PEP 418

2012-04-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 for e.g. Python

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
New submission from Michael Foord : 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 One and there has been di

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Changes by Michael Foord : -- stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Changes by Michael Foord : -- versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14613] time.time can return None or NaN

2012-04-18 Thread Mark Dickinson
Mark Dickinson added the comment: Issue 14028 is related. -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14613] time.time can return None or NaN

2012-04-18 Thread Roman
Changes by Roman : -- nosy: +rye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue14611] inspect.getargs fails on some anonymous tuples

2012-04-18 Thread R. David Murray
R. David Murray 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 ___ P

[issue14613] time.time can return None or NaN

2012-04-18 Thread Martin v . Löwis
Martin v. Löwis 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 downstream patches are lik

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

2012-04-18 Thread Łukasz Langa
Łukasz Langa 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 update the backp

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread R. David Murray
R. David Murray 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)() -> with open('test') as f: (Pdb) j 3 python: Objects/frameobject.c:207: frame_setlineno: Assertion `blockstack_top > 0' failed. z

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

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is a really important usecase for many packages including py.test and twisted, though. -- ___ Python tracker ___ _

[issue14613] time.time can return None or NaN

2012-04-18 Thread STINNER Victor
STINNER Victor 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; secs = floattime();

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list

[issue14613] time.time can return None or NaN

2012-04-18 Thread Michael Foord
Michael Foord 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 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, and then combining

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

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou 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, since it uses

[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 added the comment: I'll give it a try. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

2012-04-18 Thread Éric Araujo
Éric Araujo 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 ___ Python tr

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

2012-04-18 Thread Eric Snow
Eric Snow 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 loader.load_module(fullname). My inclination

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

2012-04-18 Thread Brett Cannon
Brett Cannon 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 behaviour. --

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

2012-04-18 Thread Brett Cannon
Brett Cannon 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 importlib._boots

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

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson 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 _

[issue14585] Have test_import run more importlib tests

2012-04-18 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2012-04-18 Thread Eric Snow
Eric Snow 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 like this that turn people o

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

2012-04-18 Thread Eric Snow
Eric Snow 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 run the patch through the fu

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file25259/d6aeff63fa5e.diff ___ Python tracker ___ ___ Python-bugs-list mailin

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

2012-04-18 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

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

2012-04-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- hgrepos: +119 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file19566/z.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2012-04-18 Thread Roundup Robot
Roundup Robot 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 : Removed file: http://bugs.python.org/file25259/d6aeff63fa5e.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file25260/3f967e00e267.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-18 Thread Jesús Cea Avión
Jesús Cea Avión 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 tracker

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 debug mode type:

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Also, PyList_SET_ITEM and friends. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Roundup Robot
Roundup Robot 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 Benjamin Peterson in branch 'def

[issue14575] IDLE crashes after file open in OS X

2012-04-18 Thread Hugh Gibbons
Hugh Gibbons added the comment: Thanks. I will try that and see if everything is OK with the updated Tcl/Tk. -- ___ Python tracker ___ _

[issue12633] sys.modules doc entry should reflect restrictions

2012-04-18 Thread Eric Snow
Eric Snow added the comment: The original motivator: http://mail.python.org/pipermail/python-dev/2011-July/112497.html -- ___ Python tracker ___ __

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

2012-04-18 Thread Eric Snow
Eric Snow added the comment: The patch is out of date, but the question is still somewhat applicable. -- versions: +Python 3.3 ___ Python tracker ___ ___

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

2012-04-18 Thread Eric Snow
New submission from Eric Snow : 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. The most straightforward candi

[issue12633] sys.modules doc entry should reflect restrictions

2012-04-18 Thread Eric Snow
Eric Snow added the comment: also, issue 14615 is related to making sys.modules authoritative. -- ___ Python tracker ___ ___ Python-b

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

2012-04-18 Thread Brett Cannon
Brett Cannon 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 tracker

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

2012-04-18 Thread Éric Araujo
New submission from Éric Araujo : 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 a pointer to the

[issue9723] Add shlex.quote

2012-04-18 Thread Éric Araujo
Éric Araujo added the comment: See #14616 for a doc edition related to this. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2012-04-18 Thread Eric Snow
Eric Snow 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 = PyImport_GetModuleDict(); if (modules

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Ethan Furman
New submission from Ethan Furman : >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__() such that the has

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

2012-04-18 Thread Joe Peterson
Joe Peterson 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! -- ___ Python tracker

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

2012-04-18 Thread R. David Murray
R. David Murray 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. -- nosy: +r.

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

2012-04-18 Thread Brett Cannon
Brett Cannon 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 __

[issue11750] Mutualize win32 functions

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11750] Mutualize win32 functions

2012-04-18 Thread Roundup Robot
Roundup Robot 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 ___ Python

[issue11750] Mutualize win32 functions

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou 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 : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 2.7 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2012-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: This looks sensible. -- components: +Interpreter Core nosy: +pitrou ___ Python tracker ___ ___ Pyth

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Éric Araujo 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 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 Python/pystate.c. Likewise

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

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't see the point. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list m

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

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14596] struct.unpack memory leak

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8536] Support new features of ZLIB 1.2.4

2012-04-18 Thread Jesús Cea Avión
Jesús Cea Avión 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 somebody t

[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 : -- title: Support new features of ZLIB 1.2.4 -> Support new features of ZLIB 1.2.6 ___ Python tracker ___

[issue14601] PEP sources not available as documented

2012-04-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9030] ctypes variable limits

2012-04-18 Thread Pauli Rikula
Pauli Rikula 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 ___ __

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

2012-04-18 Thread Jon Oberheide
Jon Oberheide 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 added the comment: Can this issue be reclosed now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14310] Socket duplication for windows

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14617] confusing docs with regard to __hash__

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

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

2012-04-18 Thread Eric Snow
Eric Snow added the comment: Sorry, Martin, for not looking at PEP 3121 before. I was thinking modules_by_index was a lot older. -- ___ Python tracker ___

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-18 Thread Daniel Urban
Daniel Urban 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, there is one thing I'm no

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

2012-04-18 Thread Joe Peterson
Joe Peterson 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 no idea it was t

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

2012-04-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I'll review your patch. On Apr 18, 2012, at 4:53 PM, Joe Peterson wrote: > > Joe Peterson 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 proc

[issue14617] confusing docs with regard to __hash__

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2012-04-18 Thread R. David Murray
R. David Murray 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 us with enough time t

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

2012-04-18 Thread Joe Peterson
Joe Peterson added the comment: Thanks!! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2012-04-18 Thread Joe Peterson
Joe Peterson added the comment: David, I understand - thanks for the details. Hopefully I can return the favor and review one in the future. -- ___ Python tracker ___

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

2012-04-18 Thread Eric Snow
Eric Snow 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, modules_reloading, and modules_by_index), ar

[issue14617] confusing docs with regard to __hash__

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

[issue12081] Remove distributed copy of libffi

2012-04-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +amaury.forgeotdarc, belopolsky, eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
STINNER Victor 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: http://bugs.python.org/file25265/perf_counter_process_time-2.patch _

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file25202/perf_counter_process_time.patch ___ Python tracker ___ ___ Python-b

[issue14428] Implementation of the PEP 418

2012-04-18 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file25210/pep418-9.patch ___ Python tracker ___ ___ Python-bugs-list mailing

  1   2   >