Joonas Kuorilehto jones...@derbian.fi added the comment:
Also adding a patch that may be enough to fix the problem in python3.2. Review
needed, did not test more than passing the previously failed unit test.
--
Added file:
Charles-François Natali neolo...@free.fr added the comment:
This is questionable, unexpected, and should be documented.
There's already this note at the top of the socket module documentation:
Note
Some behavior may be platform dependent, since calls are made to the
operating system socket
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4fc5dfad766a by Senthil Kumaran in branch '3.2':
Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for
printing the 10 slowest test.
http://hg.python.org/cpython/rev/4fc5dfad766a
New changeset
Senthil Kumaran sent...@uthcode.com added the comment:
I add -o as a short form for --slow. regrtest was using getopt and this
conflicting option was not caught. I see it is a bug than a feature so the
change is made in 3.2 and 3.3
default: b84f61fdcb4c and 6797e7458ad0
Thanks for catching
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8bcbe2dc3835 by Charles-François Natali in branch 'default':
Issue #12760: Refer to the new 'x' open mode as exclusive creation mode.
http://hg.python.org/cpython/rev/8bcbe2dc3835
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 80e3b8de4edd by Senthil Kumaran in branch '3.2':
Fix Issue #13642: Unquote before b64encoding user:password during Basic
Authentication.
http://hg.python.org/cpython/rev/80e3b8de4edd
New changeset 4b4029fc8cf2 by
Senthil Kumaran sent...@uthcode.com added the comment:
Here we go! I thought the problem did not exist in py3k, but good that the
tests caught them and we have a fix now.
Thanks for the complete patch, Joonas. I hope it was easy to port the patch to
3k. The encoding part may perhaps be the
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13766
___
___
Python-bugs-list
New submission from patrick vrijlandt patrick.vrijla...@gmail.com:
Problem:
Locator methods return the location where the event starts, not where it ends.
Locator line numbers start at 1, Locator column numbers can be 0.
Proposal:
Adapt documentation.
From the docs:
Instances of Locator
Joonas Kuorilehto jones...@derbian.fi added the comment:
Updating the issue with version 3.2 tag since it was fixed there as well. Still
fixed, of course.
You are correct that the encodings can be tricky. Luckily I only added coding
to tests. But you're right, I would consider very carefully
Charles-François Natali neolo...@free.fr added the comment:
Thanks, I've committed your version.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12760
___
Erno Tukia erno.tu...@iki.fi added the comment:
--start requires an argument but short opt -S does not.
in Lib/test/regrtest.py
opts, args = getopt.getopt(sys.argv[1:], '...S...',
[..., 'start=', ...])
Patch included.
--
keywords: +patch
Added file:
Changes by Erno Tukia erno.tu...@iki.fi:
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13726
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c4919642fd25 by Senthil Kumaran in branch '3.2':
Fix issue13726: -S accepts an argument just as --start.
http://hg.python.org/cpython/rev/c4919642fd25
New changeset 347f6305bd26 by Senthil Kumaran in branch
Senthil Kumaran sent...@uthcode.com added the comment:
Fixed now. Thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13726
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e1177b9167ce by Benjamin Peterson in branch 'default':
make YieldFrom its own distinct from Yield (closes #13780)
http://hg.python.org/cpython/rev/e1177b9167ce
--
nosy: +python-dev
resolution: - fixed
Nick Coghlan ncogh...@gmail.com added the comment:
Also check any GetAttr and CallMethod operations to see if they should be moved
over to the new *Id variants.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13783
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f80f9eb5df02 by Meador Inge in branch '3.2':
Issue #13725: regrtest does not recognize -d flag.
http://hg.python.org/cpython/rev/f80f9eb5df02
New changeset f2b764dd0851 by Meador Inge in branch 'default':
Issue
Meador Inge mead...@gmail.com added the comment:
Éric, I got it.
Erno, thanks for the patch.
--
nosy: +meador.inge
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3e9b107fb5da by Meador Inge in branch '3.2':
Issue #13725: Add a NEWS entry.
http://hg.python.org/cpython/rev/3e9b107fb5da
New changeset 7332e97587da by Meador Inge in branch 'default':
Issue #13725: Add a NEWS
New submission from Juan Javier jjdomingu...@gmail.com:
Hello,
This is a proposal to make the state of Future objects public.
The idea is to have access to the current state of the Future using a property
instead of calling several methods (done, cancelled, etc.).
Also, a history property
New submission from Meador Inge mead...@gmail.com:
While fixing issue13725 I noticed that there is a long option for 'trace', but
it is not actually handled:
[meadori@motherbrain cpython]$ ./python -m test --trace
No handler for option --trace. Please report this as a bug at
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
Python-bugs-list mailing list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a32bc62b8772 by Meador Inge in branch '3.2':
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.
http://hg.python.org/cpython/rev/a32bc62b8772
New changeset 9b14b04a0cdd by Meador Inge in branch
Meador Inge mead...@gmail.com added the comment:
Fixed.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13786
Erno Tukia erno.tu...@iki.fi added the comment:
Meador, thanks for the acknowledgement.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13725
___
Sandro Tosi sandro.t...@gmail.com added the comment:
On Sat, Jan 14, 2012 at 04:36, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
I just replied to your python-dev email. I think you can update 2.7 to use
Sphinx 1.0 as soon as you’re down to a
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d4669f43d05f by Benjamin Peterson in branch 'default':
add str.casefold() (closes #13752)
http://hg.python.org/cpython/rev/d4669f43d05f
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
Charles-François Natali neolo...@free.fr added the comment:
However, extending RLock to provide ForkClearedRLock (this would be used by
logging, i.e.) is quite straighforward.
The extended class would simply need to record the process ID, in which the
lock was created, and the process ID,
Gregory P. Smith g...@krypto.org added the comment:
A new lock type will NOT solve this. It is ALWAYS okay to clear all
thread/threading module locks after a fork.
They are and always have been process-local by definition so they are also by
definition 100% invalid to any child process.
Brian Quinlan br...@sweetapp.com added the comment:
Thanks for the patch!
1. The fetching the state feature seems reasonable but I think that explaining
the difference between CANCELLED and CANCELLED_AND_NOTIFIED is going to be
hard. Maybe you could look at how
Sandro Tosi sandro.t...@gmail.com added the comment:
Documenting Python has been:
- moved to devguide; http://hg.python.org/devguide/rev/5d4a90e568ed
- removed from 2.7, 3.2 and default;
http://hg.python.org/cpython/rev/8975f7d0fbf7
http://hg.python.org/cpython/rev/70c46599fb0e
Changes by Mahmoud Hashemi mak...@gmail.com:
--
nosy: +mahmoud
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12949
___
___
Python-bugs-list
New submission from Mahmoud Hashemi mak...@gmail.com:
On Python 3.1.4, attempting to create a code object will apparently result in a
TypeError (must be str, not tuple), even when you're creating a code object
from another, working code object:
# co_what.py
def foo():
return 'bar'
co =
Mahmoud Hashemi mak...@gmail.com added the comment:
And here's the working Python 2 version (works fine on Python 2.7, and likely a
few versions prior).
--
Added file: http://bugs.python.org/file24240/co_what2.py
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
All right. I’ll do like other parameters (see check_circular for an example)
and just duplicate the two-line doc.
--
assignee: docs@python - eric.araujo
versions: +Python 2.7
___
Python tracker
New submission from Ferringb ferri...@gmail.com:
The current implementation of closerange essentially is a bruteforce invocation
of close for every integer in the range.
While this works, it's rather noisy for stracing, and for most invocations, is
near a thousand close invocations more than
Ferringb ferri...@gmail.com added the comment:
Fixed tabs/spaces...
--
Added file: http://bugs.python.org/file24242/closerange-optimization.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13788
Changes by Ferringb ferri...@gmail.com:
Removed file: http://bugs.python.org/file24241/closerange-optimization.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13788
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Thanks for the patch.
However, this cannot as far as I understand be used for the subprocess
implementation due to the limitation of what can be called after a fork() and
before an exec().
Take a look at #8052 for some more discussion
New submission from Terry J. Reedy tjre...@udel.edu:
Modules/_tkinter.py #includes Modules/tkinter.h, tcl.h, and tk.h. The latter
two #include tclDecls.h, tclPlatDecls.h, and tkDecls.h. I obtained 8.5.9
versions of all 5 and added them to Include/. Although they came from Ubuntu,
they appear
New submission from py.user port...@yandex.ru:
'{0:d}'.format('a')
Traceback (most recent call last):
File stdin, line 1, in module
ValueError: Unknown format code 'd' for object of type 'str'
'{0:d}'.format(1+1j)
Traceback (most recent call last):
File stdin, line 1, in module
ValueError:
Roger Serwy roger.se...@gmail.com added the comment:
There was another regression introduced by (a4bd8a4805a8). IDLE 3 no longer
allows for editing of new files from the command line.
For example:
idle -e /tmp/newfile.py
will momentarily flash an editor window before it is closed. This
Eric V. Smith e...@trueblade.com added the comment:
I agree it's not the best error message. What's happening is that these types
(list, tuple, etc.) do not implement __format__, so object.__format__ is used.
It returns str(self). Then the resulting string is formatted with the given
Terry J. Reedy tjre...@udel.edu added the comment:
If you are saying that it is better to open a blank window than to not open a
filled window, I agree.
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
45 matches
Mail list logo