R. David Murray rdmur...@bitdance.com added the comment:
I agree with Eric. I've run in to this error, and immediatly figured out what
I'd done wrong based on the existing error message.
--
nosy: +r.david.murray
resolution: - invalid
stage: - committed/rejected
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
To answer Glenn's procedural question: no this is not a bug whose fix can be
backported. API changes are not allowed in maintenance releases. Doc
improvements can be backported, though, so I'm leaving versios alone
(alternatively
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14226
___
___
Python-bugs-list
Juan Javier jjdomingu...@gmail.com added the comment:
I'm writting an application where users can submit long running jobs and I want
to disply a list of those jobs and the state of each one.
My idea is to use an executor and use the futures to display information about
the jobs: not started,
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14209
___
___
Python-bugs-list
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1469629
___
___
Mark Shannon m...@hotpy.org added the comment:
Unmodified CPython (without the patch) already passes the new test in the patch.
The unmodified code already raises a Runtime error; a recursion limit exceeded
error!
--
___
Python tracker
New submission from Arkadiusz Miskiewicz
Arkadiusz Miskiewicz ar...@maven.pl:
I'm trying to run python from UID which doesn't have entry in passwd database.
This fails with:
Traceback (most recent call last):
File /usr/share/python2.7/site.py, line 567, in
Nadeem Vawda nadeem.va...@gmail.com added the comment:
This looks similar to a sporadic failure on the debian bigmem buildbot:
http://www.python.org/dev/buildbot/all/builders/AMD64%20debian%20bigmem%203.x/builds/168/steps/test/logs/stdio
ERROR: test_expanduser
Changes by Georg Brandl ge...@python.org:
--
nosy: +benjamin.peterson, georg.brandl
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14234
___
Georg Brandl ge...@python.org added the comment:
I hope this can be integrated during the PyCon sprints?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14234
___
Georg Brandl ge...@python.org added the comment:
I agree -- there should be a guard here that just doesn't add user site
directories if the lookup fails.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14116
___
___
STINNER Victor victor.stin...@gmail.com added the comment:
Unmodified CPython (without the patch) already passes the new test in the
patch.
You should try Lib/test/crashers/nasty_eq_vs_dict.py, not my test.
--
___
Python tracker
Georg Brandl ge...@python.org added the comment:
I agree. It should not be too hard to add complete_break() and other similar
methods that do this to Pdb.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
New submission from Mark Shannon m...@hotpy.org:
I get the following compiler warning (rev 2a142141e5fd)
Its not strictly an error, but an unitialised variable in such an
important function is dangerous.
Objects/object.c: In function ‘_PyObject_GenericSetAttrWithDict’:
Objects/object.c:1144:
Changes by Mark Shannon m...@hotpy.org:
Added file: http://bugs.python.org/file24766/257e16e71654.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13903
___
Georg Brandl ge...@python.org added the comment:
Here's a patch for 3.3, adding completion to most commands (either completes
locations, breakpoint numbers or expressions). Please test!
--
assignee: - georg.brandl
keywords: +patch
Added file:
Nicholas Cole nicholas.c...@gmail.com added the comment:
Could we have an update on the status of this? I ask because if 3.3 is going to
(finally) fix unicode for curses, it would be really nice if it were possible
to calculate the width of what's being displayed! It looks as if there was
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1a721b9a4039 by Eli Bendersky in branch 'default':
Issue #14178: Problem deleting slices with steps != +1 in the _elementtree
module.
http://hg.python.org/cpython/rev/1a721b9a4039
--
nosy: +python-dev
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14178
___
New submission from Thomas Turner ttur...@joinerysoft.com:
Problem with lstrip
s = 'msgid supplier code'
s.lstrip('msgid ')
'upplier code'
It should come back with supplier code
To get round the bug I did
s.lstrip('msgid ').lstrip('')
'supplier code'
--
components: None
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is expected behavior:
http://docs.python.org/library/stdtypes.html#str.lstrip
The chars argument is not a prefix; rather, all combinations of its values
are stripped
--
nosy: +amaury.forgeotdarc
resolution: - invalid
New submission from Mark Shannon m...@hotpy.org:
io.UnsupportedOperation.__new__(io.UnsupportedOperation)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: ValueError.__new__(UnsupportedOperation) is not safe, use
OSError.__new__()
Looking at the mro of
STINNER Victor victor.stin...@gmail.com added the comment:
ba6376dff6c4 changed dict_subscript(): _PyType_Lookup() is replaced by
_PyObject_LookupSpecial(). 7b4b921f3335 fixed a reference introduced in this
change.
_PyObject_Lookup() returns a borrowed reference, whereas
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 850d7f6af1b0 by Victor Stinner in branch 'default':
Issue #14231: Lib/test/crashers/borrowed_ref_1.py was fixed by ba6376dff6c4.
http://hg.python.org/cpython/rev/850d7f6af1b0
--
nosy: +python-dev
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14231
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a428f85de29c by Victor Stinner in branch 'default':
Issue #14205: Document the dict lookup change in What's New in Python 3.3
http://hg.python.org/cpython/rev/a428f85de29c
--
STINNER Victor victor.stin...@gmail.com added the comment:
Guido Given all this I think we should keep it as you have committed
Guido and add it to the docs and whatsnew.
I updated What's New in Python 3.3 document. I also wrote an email to
python-dev to notify all developers of this change.
Mark Shannon m...@hotpy.org added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@gmail.com added the comment:
Guido Given all this I think we should keep it as you have committed
Guido and add it to the docs and whatsnew.
I updated What's New in Python 3.3 document. I
Ezio Melotti ezio.melo...@gmail.com added the comment:
My opinion is that in general you should worry about the semantic of the
role/directive you are using, rather than its aspect while rendered.
Some entries (especially some directives) might benefit from a rendered
example, but I don't
telmich nico-bugs.python@schottelius.org added the comment:
The problem is *NOT* in the parent: The problem is in the *CHILD* that is being
called from the shell that is throwing a traceback, which I cannot prevent in
the python code.
Please run the script yourself and try to get around
Antoine Pitrou pit...@free.fr added the comment:
The problem is *NOT* in the parent: The problem is in the *CHILD* that
is being called from the shell that is throwing a traceback, which I
cannot prevent in the python code.
Python does not (at least, should not) run differently as a child or
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14241
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
Nicholas: I consider this issue fixed. There already *is* any API to compute
the width of a character. Closing this as works for me.
--
resolution: - works for me
status: open - closed
___
telmich nico-bugs.python@schottelius.org added the comment:
You are right, there is no different behaviour as parent or child in general.
I used this example python = shell = python, because it is actually being
used like this in cdist (first link in the first post).
The problem arises
Armin Rigo ar...@users.sourceforge.net added the comment:
I will attempt a last time to mention that the docstrings in borrowed_ref_*.py
used to say they were *examples*.
That means: (1) find any internal or external C function that returns a
borrowed reference; (2) find all callers and write
Antoine Pitrou pit...@free.fr added the comment:
Ha, good catch. Indeed, under Linux MMAP_FAILED seems to be ((void *) -1).
--
stage: - commit review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14232
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Ezio Melotti ezio.melo...@gmail.com added the comment:
Another idea that we were discussing on IRC (and IIRC on another issue that I
can't find anymore), was to add at the top a table like:
Ezio Melotti ezio.melo...@gmail.com added the comment:
I also agree. I'm just thinking someone who reads that doc should be
able to see the output without building anything.
Indeed I wasn't thinking about this use case, but IME people learn most of they
know about rst on the field (i.e. by
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Thanks for the work.
I see that completion now works for user-defined variables, but:
* completing with 'b' doesn't work at all
* completing with 'break' only completes the first directory that gets the TAB
key
* also, 'break' doesn't
Antoine Pitrou pit...@free.fr added the comment:
Ok, I see. Would an option to disable the default SIGINT handlers (and let the
OS kill the process) be an acceptable solution to your use case?
Keep in mind that letting the OS kill the process will bypass any destructors
at the Python level,
Antoine Pitrou pit...@free.fr added the comment:
Another problem with my suggestion is that C exit() ANDs the status with 255
before transmitting it to the parent.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14229
Antoine Pitrou pit...@free.fr added the comment:
(faulthandler works around that problem by restoring the previous signal
handler and calling raise(), apparently)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14229
Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +easy
nosy: +eric.araujo
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14238
___
Jim Jewett jimjjew...@gmail.com added the comment:
As of Feb 28, 2012, the PEP mentions an additional
optimization of storing the values in an array indexed
by (effectively) key insertion order, rather than key
position. (Alternative Implementation)
It states that this would reduce memory
Georg Brandl ge...@python.org added the comment:
I see that completion now works for user-defined variables, but:
* completing with 'b' doesn't work at all
Right, that needs to be added for every shortcut.
* completing with 'break' only completes the first directory that gets the
TAB key
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14239
___
___
Python-bugs-list
Jim Jewett jimjjew...@gmail.com added the comment:
On Fri, Mar 9, 2012 at 12:13 PM, Jim Jewett
So to get beneath 2/3 without lots of reallocation
probably requires knowing when the key set is likely
to be complete, and that is indeed more complex than
the current changes. (That said, you
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Works much better, but there are still some issues:
* using relative path completes, but I get something like '../prog.py' not
found from sys.path
* using ~/ to try to complete the HOME directory doesn't work... it completes
the root
Georg Brandl ge...@python.org added the comment:
* using relative path completes, but I get something like '../prog.py' not
found from sys.path
That has nothing to do with the completion.
* using ~/ to try to complete the HOME directory doesn't work... it
completes the root directory
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14236
___
___
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Georg Brandl ge...@python.org added the comment:
* using relative path completes, but I get something like '../prog.py' not
found from sys.path
That has nothing to do with the completion.
If I give it an absolute path it works,
Georg Brandl ge...@python.org added the comment:
* using relative path completes, but I get something like '../prog.py' not
found from sys.path
That has nothing to do with the completion.
If I give it an absolute path it works, hence the complaint.
But that has to do with how relative
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Within a character set \A and \Z should behave like, say, \C; in other words,
they should be the literals A and Z.
--
___
Python tracker rep...@bugs.python.org
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
But that has to do with how relative paths are handled, not with how they are
entered: they are taken relative to sys.path[0]. I don't know why, and if
that is the useful thing to do, but it's for another issue.
Perhaps refuse to
Georg Brandl ge...@python.org added the comment:
Nope, don't think so. They are accepted and handled (albeit strangely) after
all.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14210
___
Марк Коренберг socketp...@gmail.com added the comment:
Okay, it returns that field, but still not print one in repr(). Please fix.
--
nosy: +mmarkk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue211481
Benjamin Peterson benja...@python.org added the comment:
Fixed in differently in 46e600fa8d05 Thanks anyway.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14239
Benjamin Peterson benja...@python.org added the comment:
Since this has been approved upstream and the Python change is minimal, I think
this can just be applied.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14234
Jim Jewett jimjjew...@gmail.com added the comment:
So the risk is that descr may be given garbage memory that just happens to look
like an object with 1 reference, so that it really does a decref and tries to
re-deallocate whatever was there before.
I would rather see the change at the top of
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Марк, issue11698 already track this.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue211481
___
Antoine Pitrou pit...@free.fr added the comment:
+1. Also, the repr() should show the float values of st_mtime and friends,
rather than truncated integers.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11698
Antoine Pitrou pit...@free.fr added the comment:
Note sure I understand: XML_SetHashSalt() takes a parser argument, but the hash
secret is global?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14234
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
No, the salt is stored on the parser. See the line:
+#define hash_secret_salt (parser-m_hash_secret_salt)
Yes, expat code is confusing.
--
nosy: +amaury.forgeotdarc
___
Python tracker
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
After an increase to a delay in the test(1.01 - 1.1 seconds) the problem seems
to have disappeared. So closing for now, since this error appears not to have
occurred over a period of a few days.
--
resolution: - fixed
status:
Antoine Pitrou pit...@free.fr added the comment:
One of our buildbots seems to have recurring issues with the timeout issues. I
don't know if the machine is very loaded:
==
FAIL: test_wait_integer
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 70fbb02d588c by Victor Stinner in branch 'default':
Issue #14205: Fix test_dict.test_mutating_lookup()
http://hg.python.org/cpython/rev/70fbb02d588c
--
___
Python tracker
Miki Tebeka miki.teb...@gmail.com added the comment:
Of course now the tests pass and I can't reproduce it. Sorry.
You can close the issue or wait to see if someone else has the same problem.
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
Two things I realized yesterday that need to be implemented (and some
double-checking and/or opinion would be nice) while I wait for a full patch
review.
One is ``python -v`` support. sys.flags has a verbose attribute that can be
used to
Dave Burton ncdave4l...@gmail.com added the comment:
This is a patch for the os.path.realpath() bug under Windows,
http://bugs.python.org/issue9949 os.path.realpath on Windows does not follow
symbolic links
ntpath.diff fixes the realpath() function to resolve symbolic links to their
Antoine Pitrou pit...@free.fr added the comment:
One is ``python -v`` support. sys.flags has a verbose attribute that
can be used to properly guard printing imported modules. It might be
tricky, though, if sys.stderr is not set up properly during very early
imports.
Might or might not. You
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ba8f85e16dd9 by Victor Stinner in branch 'default':
Close #14232: catch mmap() failure in new_arena() of obmalloc
http://hg.python.org/cpython/rev/ba8f85e16dd9
--
nosy: +python-dev
resolution: - fixed
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Sad. That means all the documentation of workarounds needs to be written, even
figured out in the first place. Steven's code, while being a nice
implementation when proper arguments are provided, produces inappropriate
errors, because
py.user port...@yandex.ru added the comment:
Martin v. Löwis wrote:
What behavior would you expect?
I expected similar work
re.search(r'[\s]a', ' a').group()
' a'
re.search(r'[\s]a', 'ba').group()
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError: 'NoneType'
New submission from Dan Colish dcol...@gmail.com:
The hardcoding of /bin/sh in the Popen _execute_child method can be a point of
frustration when so many users are used to their chosen environment shell. The
module can easily support the re-use of the defined $SHELL variable. I've
attached a
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - patch review
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14241
___
Terry J. Reedy tjre...@udel.edu added the comment:
It is not unusual and perhaps common for markup documentation to give rendered
output for example input. This is similar to what we do in the tutorial and
elsewhere with interactive examples:
2 + 2 # input code
4 # output of running
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
\s matches a character, whereas \A and \Z don't. Within a character set \s
makes sense, but \A and \Z don't, so they should be treated as literals.
--
___
Python tracker
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Of course, if a real solution can only be shipped in 3.3, it may want to use
a different API than parse_args to avoid the parameter, parse_intermixed_args,
perhaps. But my t18.py uses the name parse_args, but just always does the
New submission from Dave Abrahams d...@boostpro.com:
NamedTemporaryFile is too hard to use portably when you need to open the file
by name after writing it. To do that, you need to close the file first (on
Windows), which means you have to pass delete=False, which in turn means that
you get
Éric Araujo mer...@netwok.org added the comment:
there should be a guard here that just doesn't add user site directories if
the lookup fails.
Agreed too. site is easy to fix (I can do it or review a patch), but we also
need to fix sysconfig; I think the right thing to do would be not to
Éric Araujo mer...@netwok.org added the comment:
I think too that function annotations don’t need to be in the glossary;
documenting them in the language reference section that talks about defining
functions should be enough. What do you think, Chris?
--
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
Sure. Don’t know if we should use a seealso section or just a regular link.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14186
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14219
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and patch. This begs the question: why does the current
buggy code not cause a test failure?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Please open another report for your second bug. Thanks.
--
nosy: +eric.araujo
title: In help(re) are insufficient details - re: Docstring for \s and \S
don’t mention Unicode
versions: +Python 2.7, Python 3.3
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14241
___
___
Python-bugs-list
Chris Rebert pyb...@rebertia.com added the comment:
My suggestion was a seealso to parallel those in the The with Statement and
Class definitions sections of the same page.
--
___
Python tracker rep...@bugs.python.org
Ramchandra Apte maniandra...@gmail.com added the comment:
What is the status of this bug?
It has been about two months since the last message.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13532
New submission from Ramchandra Apte maniandra...@gmail.com:
help(re.split)
split(pattern, string, maxsplit=0, flags=0)
Split the source string by the occurrences of the pattern,
returning a list containing the resulting substrings.
No info is given about behaviour with groups in
Ramchandra Apte maniandra...@gmail.com added the comment:
Done so see issue14244 .
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14236
___
Ramchandra Apte maniandra...@gmail.com added the comment:
Oops. The link in the last sentence doesn't work.
It should be see msg155283 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14244
Tim Lesher tles...@gmail.com added the comment:
Victor: would you object to ysj.ray's solution?
I don't think it was an option when we last looked at this issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8070
Changes by py.user port...@yandex.ru:
--
components: +Regular Expressions
nosy: +ezio.melotti, mrabarnett, py.user
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14244
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14243
___
___
Python-bugs-list
Jim Jewett jimjjew...@gmail.com added the comment:
If I understood correctly, that *is* the minimal case, which suggests some sort
of size problem.
That said, I could not duplicate on 2.6.2, nor with py_compile.compiler in
3.2.2; I am not currently sufficiently motivated to install another
Terry J. Reedy tjre...@udel.edu added the comment:
Many issues take a while, depending on volunteers time and choice of priority.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13532
___
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14229
___
___
Josh Watson j...@joshwatson.com added the comment:
That particular function only gets called by running `./python
Lib/test/test_cmd.py -c`, and not through regrtest.py, so I suspect that's why
it wasn't noticed before. I just happened to be exploring test files and ran
into an unhandled
1 - 100 of 105 matches
Mail list logo