anatoly techtonik techto...@gmail.com added the comment:
I've tried to switch to Python 3 once more and stumbled upon this problem once
more.
Seems like this regression got stale. Last Victor's proposal seems reasonable
for me. Should we open a new, more clear bug report and close this one?
Charles-François Natali neolo...@free.fr added the comment:
/usr/lib/python2.7/dist-packages/psycopg2/_psycopg.so(+0xd6aa)[0x7fbd27c806aa]
/usr/lib/python2.7/dist-packages/psycopg2/_psycopg.so(+0xde51)[0x7fbd27c80e51]
Changes by Zbyszek Szmek zbys...@in.waw.pl:
--
nosy: +zbysz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
___
Python-bugs-list mailing
New submission from Simon Sapin simon.sa...@kozea.fr:
Hi,
The attached patch adds a 'key' optional parameter to the heapq.merge function
that behaves as in sorted().
Related discussion:
http://mail.python.org/pipermail/python-ideas/2012-January/013295.html
This is my first contribution to
Simon Sapin simon.sa...@kozea.fr added the comment:
The attached script benchmarks the basline (current implementation) against 3
new implementations, as suggested on
http://mail.python.org/pipermail/python-ideas/2012-January/013296.html
On my machine, the output is:
merge_baseline
Andrew awnyst...@gmail.com added the comment:
I'll try Python 2.6, but this says 2.7 is supported:
http://initd.org/psycopg/features/
Thanks for the suggestion!
--
status: pending - open
___
Python tracker rep...@bugs.python.org
Changes by Eric V. Smith e...@trueblade.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13742
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
No, I don't think so. Another issue will not magically create more time for
anyone.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11633
Simon Sapin simon.sa...@kozea.fr added the comment:
Oops, the patch to the documentation would also need 'New in 3.3: the key
parameter', with the right Sphinx directive. But that depends on whether this
change ends up in 3.3 or 3.4.
Does 3.3 still get new features?
--
Changes by Simon Sapin simon.sa...@kozea.fr:
--
nosy: +ssapin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5441
___
___
Python-bugs-list mailing
anatoly techtonik techto...@gmail.com added the comment:
On Mon, Jan 9, 2012 at 2:03 PM, Terry J. Reedy rep...@bugs.python.orgwrote:
Terry J. Reedy tjre...@udel.edu added the comment:
No, I don't think so. Another issue will not magically create more time
for anyone.
But anyone will
Neil Muller drnlmuller+b...@gmail.com added the comment:
This patch is now more than a year old with no comment. What needs to happen to
get this bug fixed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9637
Marc-Andre Lemburg m...@egenix.com added the comment:
Marc-Andre Lemburg wrote:
Marc-Andre Lemburg m...@egenix.com added the comment:
Christian Heimes wrote:
Marc-Andre:
Have you profiled your suggestion? I'm interested in the speed implications.
My gut feeling is that your idea could
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up
http://mail.python.org/pipermail/docs/2012-January/007026.html I noticed the
whole Document class (and relative methods) is not documented.
Maybe it is a choice to not document it, or maybe it's just a missing doc,
New submission from Barry A. Warsaw ba...@python.org:
The lexical analysis documentation says this:
http://docs.python.org/py3k/reference/lexical_analysis.html?highlight=raw%20bytes
Bytes literals are always prefixed with 'b' or 'B';...
Both string and bytes literals may optionally be
Jelle Geerts jellegee...@gmail.com added the comment:
I, too, would like to see this as an option in IDLE, as I also find blinking
cursors distracting.
I can confirm that tkinter.Text's insertofftime option works on Windows as
well, so the proposed patch should work on Windows.
--
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13734
___
___
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/issue4489
___
___
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/issue13735
___
___
Python-bugs-list mailing list
Michele Orrù maker...@gmail.com added the comment:
Patch attached. Note that now unquote is called with host using map(), and b64
encoded strings are no more hardcoded. Please tell me if those changes are
acceptable - anyway they don't break any other unit tests.
--
nosy:
Barry A. Warsaw ba...@python.org added the comment:
On Jan 09, 2012, at 03:15 PM, Antoine Pitrou wrote:
Antoine Pitrou pit...@free.fr added the comment:
Either Python should accept both spellings
+1. Been annoyed several times by this.
The $64k question: is this a new feature or a bug? :)
Antoine Pitrou pit...@free.fr added the comment:
The $64k question: is this a new feature or a bug? :)
Most certainly a feature...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13744
New submission from Matthias Klose d...@debian.org:
configuring --with-dbmliborder=bdb doesn't build the gdbm extension. this
option should only affect the build of the dbm extension, not the build of the
gdbm extension.
--
messages: 150943
nosy: doko
priority: low
severity: normal
Barry A. Warsaw ba...@python.org added the comment:
On Jan 09, 2012, at 03:35 PM, Antoine Pitrou wrote:
Antoine Pitrou pit...@free.fr added the comment:
The $64k question: is this a new feature or a bug? :)
Most certainly a feature...
In that case, since we can only add the new prefixes to
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13682
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the analysis and patch. Have you tested that your patch does not
break the readline module when linking against GNU readline? If not, I can do
it.
--
keywords: +needs review
nosy: +eric.araujo, r.david.murray
stage: -
Éric Araujo mer...@netwok.org added the comment:
FWIW this issue was also noted by Terry in #4118, but there was no reply.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12207
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1612012
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
The compiler flags are not really documented in the ast module doc or anywhere:
see #12207 and #1612012.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13677
Éric Araujo mer...@netwok.org added the comment:
If you don’t have easy access to a command line, you can run the test
suite from a Python or IDLE shell:
from test import autotest
I discovered that after our discussion in this report and added it to the
devguide in c18fd0ee23ed.
BTW I
Éric Araujo mer...@netwok.org added the comment:
The first diff hunk looks a clear typo fix for all versions.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13733
___
New submission from Igor Bronshteyn igor.bronst...@gmail.com:
Consider the following snippet (the file is attached):
code starts
a = [1, 3.14, 'abc', u'XYZ']
b = (1, 3.14, 'abc', u'XYZ')
c = {1 : 3.14, 'abc' : u'XYZ'}
= code ends =
The list has correct position: (1,4), the
Igor Bronshteyn igor.bronst...@gmail.com added the comment:
I mean, that AST generated with standard ast.parse has nodes with confusing
positions. Sorry for the first indistinct message.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
In case you want opinions on pathlib: I, for one, disliked Jason Orendorff’s
path module, because it did not distinguish between pure string operations and
I/O-inducing operations, and also because it duplicated os/os.path functions.
Your API
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg150758
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9253
___
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg150815
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9253
___
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg150820
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9253
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for persevering in the face of VCS complications :) I have added a
warning to the obsolete Git wiki page; I can’t do anything for the argparse
Google code page. Anyway, trust us that argparse in the 3.3 stdlib is the
place where
Éric Araujo mer...@netwok.org added the comment:
Yes, 3.3 is still in the early development stage, and new features will be
accepted until the first beta (in June, see PEP 398). “.. versionadded:: 3.3
The *key* parameter” will do.
--
nosy: +eric.araujo
versions: -Python 3.4
Éric Araujo mer...@netwok.org added the comment:
You must realize that the most common use case for print(..., end!='\n') is
when you want
to notify user about intermediate progress of a very long operation.
References needed.
--
keywords: -3.2regression, patch
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
FTR the doc for ',' was added in a6e7ed52df9b and fa16acb2ffdd.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13718
___
Zvezdan Petkovic zvez...@zope.com added the comment:
I did not test against a readline build.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13631
___
Charles-François Natali neolo...@free.fr added the comment:
I'll try Python 2.6, but this says 2.7 is supported
(OOps, mixed up psyco and psycopg).
Anyway, if you look at the backtrace, you'll see it segfaults inside psycopg.
You should report this crash to this project.
Closing.
--
Changes by Terry J. Reedy tjre...@udel.edu:
--
Removed message: http://bugs.python.org/msg150846
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Terry J. Reedy tjre...@udel.edu added the comment:
Senthil, any comment on this?
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9637
___
Senthil Kumaran sent...@uthcode.com added the comment:
Sorry, this escaped for so long. First thing is, having different values for
HTTP_PROXY and HTTP_proxy and http_proxy is plain wrong at the user side. They
all should be same and in that case the possible problem which Kirikaza and
Neil
anatoly techtonik techto...@gmail.com added the comment:
Making documentation for simple print() statement overloaded with low level
buffering details makes language seem overly complicated for new users.
Why don't anybody require references for that?
--
Stefan Krah stefan-use...@bytereef.org added the comment:
[[fill]align][sign][#][0][width][,][.precision][type]
The ',' must be before [.precision]:
'{:,.2%}'.format(55.537568)
'5,553.76%'
In my opinion this is not a bug.
--
nosy: +skrah
___
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13742
___
___
Python-bugs-list
New submission from Ben Darnell ben.darn...@gmail.com:
The ssl module docs claim that the default ssl_version for client-side
operation is SSLv3, but it is actually SSLv23. The exact behavior depends on
the version of openssl: starting in 1.0 the connection is limited by default
to SSLv3 or
New submission from Antoine Pitrou pit...@free.fr:
As mentioned in issue13744, it is not easy to remember that br is an allowed
bytes literal but not rb. Here is a patch to allow both forms.
--
components: Interpreter Core
files: rb.patch
keywords: patch
messages: 150964
nosy: barry,
New submission from K Richard Pixley r...@noir.com:
Once I've instantiated my server class, along with a handler class, called
server.serve_forever(), handler.handle() has been called, I've done my work,
and I'm ready to shut the whole thing down...
How do I do that?
The doc says
K Richard Pixley r...@noir.com added the comment:
It appears as though the problem is that shutdown() blocks waiting for the
serve_forever loop to terminate, which won't happen as long as the process is
blocked on shutdown.
I'd like to propose that the library be changed to eliminate the
Antoine Pitrou pit...@free.fr added the comment:
Updated patch with doc.
--
Added file: http://bugs.python.org/file24189/rb2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13748
___
K Richard Pixley r...@noir.com added the comment:
On second thought, my proposal is likely to break existing code, so I withdraw
it.
I don't know how to exit the server in a way that both works in all conditions
and also continues to support existing semantics.
I expect we'll need to create
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Simon, please keep the original version fast by creating two code paths:
if key is None:
original_code
else:
new_code using the key_function
--
priority: normal - low
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13739
___
New submission from Charles-François Natali neolo...@free.fr:
Commit 190ad17f5a87481a006434a2a3d3a8e1e954a6db broke the fedora
without-threads buildbot:
./python ./Tools/scripts/run_tests.py -j 1 -u all -W --timeout=3600
Traceback (most recent call last):
File
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13750
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
The current doc says
print([object, ...], *, sep=' ', end='\n', file=sys.stdout)
Print object(s) to the stream file, separated by sep and followed by end. sep,
end and file, if present, must be given as keyword arguments.
All non-keyword
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is a duplicate of issue11205.
--
nosy: +amaury.forgeotdarc
resolution: - duplicate
status: open - closed
superseder: - Evaluation order of dictionary display is different from
reference manual.
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Fixed in changeset 32eae3c48631.
Thanks for the report.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13750
Barry A. Warsaw ba...@python.org added the comment:
On Jan 09, 2012, at 07:27 PM, Antoine Pitrou wrote:
Updated patch with doc.
Nicely done. +1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13748
New submission from Faheem Mitha fah...@faheem.info:
See my question at
http://stackoverflow.com/questions/8785899/hang-in-python-script-using-sqlalchemy-and-multiprocessing
I can't improve on the analysis by Lorenzo Bolla,
so I reproduce his example below. This example hangs if
BadExc is
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3db0abf3058b by Antoine Pitrou in branch '2.7':
Issue #13747: fix documentation error about the default SSL version.
http://hg.python.org/cpython/rev/3db0abf3058b
New changeset 4f14c249f3de by Antoine Pitrou in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7ae0f71862f9 by Antoine Pitrou in branch '3.2':
Issue #13747: fix documentation error about the default SSL version.
http://hg.python.org/cpython/rev/7ae0f71862f9
New changeset b4194af97948 by Antoine Pitrou in
Benjamin Peterson benja...@python.org added the comment:
I would be happier if there was precedent for this with ur = ru in 2.x,
which is not true.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13748
Antoine Pitrou pit...@free.fr added the comment:
I would be happier if there was precedent for this with ur = ru in
2.x, which is not true.
In my experience, raw unicode literals were very rare while raw bytes
literals are quite frequent (mainly for regular expressions).
--
Antoine Pitrou pit...@free.fr added the comment:
Thanks for noticing. I've now fixed the docs.
It would be nice if the default mode were SSLv23 with SSL_OP_NO_SSLv2
set so the defaults would be safe even with older versions of openssl
Mmmh, perhaps, although wouldn't someone deploying a new
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11205
___
___
Python-bugs-list
sbt shibt...@gmail.com added the comment:
This is not specific to multiprocessing. It is really an issue with the
pickling of exceptions:
import cPickle
class BadExc(Exception):
... def __init__(self, a):
... '''Non-optional param in the constructor.'''
...
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset bf609baff4d3 by Charles-François Natali in branch 'default':
Issue #12760: Add a create mode to open(). Patch by David Townshend.
http://hg.python.org/cpython/rev/bf609baff4d3
--
nosy: +python-dev
Simon Sapin simon.sa...@kozea.fr added the comment:
Raymond, please have a look at merge_3 in benchmark_heapq_merge.py. It is
implemented as you say.
Do you think the speed is worth the code duplication?
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
I'm not suggesting two stat calls (in the general case); you would call one or
the other depending on the magic number of the pyc file.
Anyway, it would probably be best to have some method that is expected to
return a specific object which
Antoine Pitrou pit...@free.fr added the comment:
I'm not suggesting two stat calls (in the general case); you would
call one or the other depending on the magic number of the pyc file.
The proposal is to store both mtime and size, actually, to make false
positives less likely.
--
Jason R. Coombs jar...@jaraco.com added the comment:
I've filed a support incident with the Microsoft Support team to try to push
this issue determine a fix or workaround.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
Alex Regueiro alex...@gmail.com added the comment:
That's great, thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b950267efd59 by Terry Jan Reedy in branch '3.2':
#11906 Make test_argparse work interactively by removing extra space
http://hg.python.org/cpython/rev/b950267efd59
--
nosy: +python-dev
Eric V. Smith e...@trueblade.com added the comment:
Good point. I hadn't looked at the string closely enough. Closing.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ec32e6ec16fc by Terry Jan Reedy in branch '2.7':
#11906 Make test_argparse work interactively by removing extra space
http://hg.python.org/cpython/rev/ec32e6ec16fc
--
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: - terry.reedy
resolution: - fixed
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11906
___
Nick Coghlan ncogh...@gmail.com added the comment:
OK, os.walkfd is sounding good:
- accepts a file descriptor, byte sequence or string for top
- produces 4-tuples, with the dirfd added at the end
- documents clearly that the dirfd is normally only valid until the next
iteration step, so you
Guido van Rossum gu...@python.org added the comment:
On my system (Snow Leopard OSX 10.6.8, Xcode 4.1) there are several different
versions of gcc available in /usr/bin/. Some are symlinks to others; in
particular gcc links to llvm-gccc-4.2. By using ./configure CC=gcc-4.2 I get
a working
Terry J. Reedy tjre...@udel.edu added the comment:
Sandro, I think you can apply this.
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
Ned Deily n...@acm.org added the comment:
That works for Xcode 4.1, which is now out-of-date. The current releases of
Xcode, 4.2.x for 10.7 Lion and optionally for 10.6 Snow Leopard, no longer
include gcc-4.2, only llvm-gcc and clang. I am working on completing an
extensive set of regression
Ben Darnell ben.darn...@gmail.com added the comment:
Not necessarily. If I want to run python 2.7 or 3.x on an older linux
distribution (e.g. Ubuntu 10.04 LTS, which has python 2.6 and openssl 0.9.8), I
need to build from source, but I wouldn't think to update/rebuild all the
dependencies
New submission from Benjamin Peterson benja...@python.org:
See http://mail.python.org/pipermail/python-ideas/2012-January/013292.html
--
components: Unicode
messages: 150996
nosy: benjamin.peterson, ezio.melotti
priority: low
severity: normal
status: open
title: add a casefold() method
Terry J. Reedy tjre...@udel.edu added the comment:
This paragraph follows a discussion and example of the fact that methods do
*not* have to be defined within a class statement.
Any objections to changing
The global scope associated with a method is the module containing the class
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13168
___
Benjamin Peterson benja...@python.org added the comment:
New patch. I implemented it the way Antoine desired. It seems rather
inefficient to be copying around so much data...
--
Added file: http://bugs.python.org/file24190/full-casemapping.patch
___
New submission from py.user port...@yandex.ru:
http://docs.python.org/py3k/library/stdtypes.html#str.join
str.join(iterable)¶
Return a string which is the concatenation of the strings in the iterable
iterable. A TypeError will be raised if there are any non-string values in seq,
New submission from py.user port...@yandex.ru:
http://docs.python.org/py3k/library/stdtypes.html#str.ljust
str.ljust(width[, fillchar])¶
Return the string left justified in a string of length width. Padding is
done using the specified fillchar (default is a space). The original string is
py.user port...@yandex.ru added the comment:
str.zfill also
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13754
___
___
Python-bugs-list
New submission from py.user port...@yandex.ru:
'abcd'.endswith(['a', 'b'])
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: Can't convert 'list' object to str implicitly
it would be nice like in str.join
''.join(('a', 'b'))
'ab'
''.join(['a', 'b'])
'ab'
Faheem Mitha fah...@faheem.info added the comment:
Thanks to sbt for his helpful and clear explanation.
The following bug report appears relevant, http://bugs.python.org/issue1692335.
It seems the proposed fix
was never applied because it caused breakage to existing gcode.
It is not clear to me
INADA Naoki songofaca...@gmail.com added the comment:
Any objections to changing
The global scope associated with a method is the module containing the class
definition. (The class itself is never used as a global scope.)
to
The global scope associated with a method is the module
Joonas Kuorilehto jones...@derbian.fi added the comment:
Michele, in your patch:
+authorization = (Authorization: Basic %s\r\n %
+ b64encode('a%20b:c%20d'))
This is wrong. See the original report by me and RFC 2617. The username and
password MUST NOT be
Ronald Oussoren ronaldousso...@mac.com added the comment:
The version of clang included in Xcode 4.2.1 (the current release) still
miscompiles Python 3.3 and both C files included in this issue.
The same is true for the Xcode 4.3 beta.
Python 2.7 seems to work fine with the same compiler,
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've filed an issue in Apple's tracker, #10667893. Filing more issues would be
helpful, if more issues in their tracker mention this bug it is more likely to
get fixed.
--
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
Committed.
David, thanks for the patch!
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
100 matches
Mail list logo