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.
--
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
___
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
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
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():
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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14610
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +michael.foord, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14611
___
___
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
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
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14591
___
___
Python-bugs-list
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:
Changes by Massimiliano Tomassoli kiuhn...@yahoo.it:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14612
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14612
___
___
Python-bugs-list
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
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?
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:
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
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
Changes by Michael Foord mich...@voidspace.org.uk:
--
stage: - test needed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14613
___
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
___
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
___
Changes by Roman roman.yepis...@canonical.com:
--
nosy: +rye
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14613
___
___
Python-bugs-list mailing
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
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
Ł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
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
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
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;
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14612
___
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
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,
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,
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
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
___
___
É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
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
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
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
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
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14585
___
___
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
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
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
___
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
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14609
___
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
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
___
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
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
___
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
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
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
___
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
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
___
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
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
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.
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
___
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
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
É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
___
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 =
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__()
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!
--
___
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.
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
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11750
___
___
Python-bugs-list
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
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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14615
___
___
Python-bugs-list mailing
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
___
___
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
___
É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
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
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
___
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
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
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
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
___
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
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
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
sbt shibt...@gmail.com added the comment:
Can this issue be reclosed now?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
___
___
Python-bugs-list
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~
--
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
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,
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
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
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
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
Joe Peterson j...@skyrush.com added the comment:
Thanks!! :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10941
___
___
Python-bugs-list
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
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,
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
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +amaury.forgeotdarc, belopolsky, eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12081
___
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:
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
___
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 - 100 of 135 matches
Mail list logo