Changes by Alvaro al...@ifca.unican.es:
--
nosy: +aloga
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4660
___
___
Python-bugs-list mailing list
Mark Dickinson dicki...@gmail.com added the comment:
I also think it would be good to use PyOS_double_to_string here. That
does make it impossible to format long doubles, though, except by doing
a possibly lossy conversion to double first.
As far as I can see, Python doesn't use long double
New submission from izarf izarf.m...@gmail.com:
it is impossible to retrieve a latin-1 encoded string from sqlite3 database.
How to:
1. create a new db.
2. create a new table with text field.
3. insert a row with data like åäö
4. select all rows from table
5. write:
for data in cursor1:
R. David Murray rdmur...@bitdance.com added the comment:
Pesonally I would prefer that the deprication be reversed. In most of
my optparse use cases it is more convenient than calling set_defaults.
In fact, I'm not sure I've ever used set_defaults, though I am glad that
it exists since I can
New submission from Baptiste Carvello baptiste...@free.fr:
I have tried to build python (version 3.1 beta 1) on linux and install
it to a non-standard prefix which contains non-ascii utf-8 characters
(my locale being utf-8). The build directory's path is ascii-only. The
exact configure line is
Baptiste Carvello baptiste...@free.fr added the comment:
And here comes the patch
--
keywords: +patch
Added file: http://bugs.python.org/file13975/text_file.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6011
Tomalak m8r-t1tu...@mailinator.com added the comment:
Francesco,
if you want to encode the newline character,
this should be done by both parseString and
setAttribute methods. Otherwise, the
behaviour is not symmetric.
I believe you still don't see the issue. The behaviour is not
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
This issue comes from #5990.
Currently, O doesn't accept general cleanup function. This causes
memory leak sometimes. Here is an experimental patch to create new
format O similar to O but have general cleanup function.
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I opened #6012 to handle O memory leak issue.
--
nosy: +ocean-city
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5990
___
Tomalak m8r-t1tu...@mailinator.com added the comment:
Daniel Diniz:
The proposed behaviour is correct:
http://www.w3.org/TR/2000/WD-xml-c14n-2119.html#charescaping
In attribute values, the character information items
TAB (#x9), newline (#xA), and carriage-return (#xD)
are represented by
Changes by Tomalak m8r-t1tu...@mailinator.com:
Removed file: http://bugs.python.org/file13919/minidom.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5752
___
Changes by Tomalak m8r-t1tu...@mailinator.com:
Added file: http://bugs.python.org/file13977/minidom.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5752
___
Jean-Paul Calderone exar...@divmod.com added the comment:
Even though I still don't understand the original issue, apparently,
it is an issue only if the localtime() function is used. Extensions
that don't use it might still work fine, according to the report.
I have an extension which
Tomalak m8r-t1tu...@mailinator.com added the comment:
I changed the patch to include support for TAB characters, which were
also left unencoded before.
Also I switched encoding from '#13;' etc. to '#xD;'. This is
equivalent, but the spec uses the latter variant.
--
Changes by Tomalak m8r-t1tu...@mailinator.com:
--
title: xml.dom.minidom does not escape newline characters within attribute
values - xml.dom.minidom does not escape CR, LF and TAB characters within
attribute values
___
Python tracker
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Confirmed here, tested with python2.6
on Linux with sys.stding.encoding == 'ISO-8859-1'
on Windows with sys.stdin.encoding == 'cp437'
import sqlite3
db = sqlite3.connect(':memory:')
cur = db.cursor()
cur.execute(create table foo
R. David Murray rdmur...@bitdance.com added the comment:
I added 'variables' and 'functions' section to module docstring parallel
to the way 'time' does it, and documented 'version' there.
Checked in in r72597, r72598, and in r72599, r72600.
--
resolution: - fixed
stage: patch review
Renaud Blanch rndbl...@gmail.com added the comment:
looks very good to me.
thanks daniel for your work
renaud
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1672568
___
New submission from Thomas Heller thel...@ctypes.org:
The json package is a lot slower than the simplejson package. Both
packages have their C compiled speedup module; however:
C:\py26 -m timeit -s from json import dumps, loads
loads(dumps(range(32)))
1000 loops, best of 3: 618 usec per
Antoine Pitrou pit...@free.fr added the comment:
This is probably because your simplejson is much more recent than the
json version shipped with 2.6.
Can you try again with trunk and post the numbers?
--
nosy: +pitrou
___
Python tracker
Thomas Heller thel...@ctypes.org added the comment:
Here are the numbers from trunk (rev ) and release26-maint branch (rev ):
c:\svn\release26-maint\PCbuildpython -m timeit -s from json import loads,
dumps loads(dumps(range(32)))
1000 loops, best of 3: 726 usec per loop
Changes by Francesco Sechi francesco.se...@iet.unipi.it:
--
nosy: -sechi_francesco
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5752
___
___
Antoine Pitrou pit...@free.fr added the comment:
Given the amount of changed code between the two simplejson versions,
I'm afraid there's no way the new version will be backported to
release26-maint. You can probably do the backport manually in your
Python install, though (or bite the bullet and
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: +enhance getargs O to accept cleanup function
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5990
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
priority: - normal
stage: - patch review
type: - resource usage
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6012
___
Mark Dickinson dicki...@gmail.com added the comment:
A few comments:
(1) I agree that signed overflows should be avoided
where possible.
(2) I think some of the changes in the latest patch
(fix-overflows-final.patch) are unnecessary, and
decrease readability a bit. An example is the following
Gregory P. Smith g...@krypto.org added the comment:
I assume these changes were made to silence warnings from
-Wstrict-overflow, but I don't think that should be a goal:
I'd suggest only making changes where there's a genuine
possibility of overflow (even if it's a remote one), and
leaving the
Antoine Pitrou pit...@free.fr added the comment:
It's true inspect.findsource() behaves likes this, but help() has only
been broken very recently (and only in py3k), so I suggest these are
separate bugs.
--
nosy: +pitrou
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
nosy: +r.david.murray
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4050
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Was python installed with another user account, or a just for me install?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4625
Mark Dickinson dicki...@gmail.com added the comment:
There is a lot of value in being able to compile with -Wstrict-overflow
and know that every warning omitted is something to be looked at.
I agree in principle; this certainly applies to -Wall. But -Wstrict-
overflow doesn't do a
Ismail Donmez ism...@namtrac.org added the comment:
You should be using gcc 4.4 to get the best warning behaviour.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I think I found the relevant documentation:
http://wiki.tcl.tk/1842
On Unix, when typing a filename without extension, the first extension
belonging to the currently selected filetype will be appended to the
filename. On Windows, this
R. David Murray rdmur...@bitdance.com added the comment:
Patches applied to 2.7 in r72605 and 3.1 in r72607, after discussion on
#python-dev. Blocked on 2.6 since it represents a behavior change and
doesn't actually break anything in the 2 series.
The change that introduced the pydoc
R. David Murray rdmur...@bitdance.com added the comment:
Decision is not to backport.
--
status: open - closed
versions: +Python 2.7, Python 3.1 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4050
Daniel Diniz aja...@gmail.com added the comment:
Amaury,
Your patch also forces '.py' to any saved file on Linux, but using
'defaultextension = ' it works correctly here. Does if fix things on
Windows?
--
___
Python tracker rep...@bugs.python.org
Pavel Kosina g...@post.cz added the comment:
Trying to patch the latest revision 72608 and it didnt work, here on winxp.
C:\prg\Python30\Lib\idlelibsvn update
Restored 'IOBinding.py'
At revision 72608.
C:\prg\Python30\Lib\idlelibpatch IOBinding.py defaultextension.patch
--verbose
Hmm...
Mark Dickinson dicki...@gmail.com added the comment:
Thanks Ismail. I'm currently using gcc-4.4 with the -ftrapv (not
-fwrapv!) option to see how much breaks. (Answer: quite a lot. :-[ )
I'm finding many overflow checks that look like:
size = Py_SIZE(a) * n;
if (n size / n
Jean Brouwers mrje...@gmail.com added the comment:
Indeed, this is Python 3.1b1 built from source on MacOS X 10.4.1 Tiger
(Intel).
MacOS considers some of these win*.exe files directories. See the
attached picture and below.
% ls -l Python-3.1b1/Lib/distutils/command/win*
-rw-r--r-- 1
Jean Brouwers mrje...@gmail.com added the comment:
Another attempt to attach the image.
--
Added file: http://bugs.python.org/file13979/Issue5956.jpg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5956
Mark Dickinson dicki...@gmail.com added the comment:
[and then perform the multiplication unsigned, to silence the
warning - right?]
That wasn't actually what I was thinking: I was proposing to rewrite it
as:
if (Py_SIZE(a) 0 n PY_SSIZE_T_MAX/Py_SIZE(a)) {
Daniel Diniz aja...@gmail.com added the comment:
On trunk, I get the described struct behavior with DeprecationWarning:
struct integer overflow masking is deprecated. The xdr.py script gives:
18446744073709551615 - - 4294967295
On py3k, both raise struct.error: argument out of range.
Mark Dickinson dicki...@gmail.com added the comment:
I'll take a look.
--
assignee: - marketdickinson
nosy: +marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1523
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
type: - feature request
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue731991
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - resource usage
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1739648
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - needs patch
type: - behavior
versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1783
Daniel Diniz aja...@gmail.com added the comment:
Unless someone can confirm the warnings still exist, this will be closed.
--
nosy: +ajaksu2
priority: normal - low
stage: - test needed
status: pending - open
type: - behavior
versions: +Python 2.6, Python 3.1 -Python 2.5
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +patch
versions: +Python 2.7, Python 3.2 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1866
___
New submission from Ralf Seliger ad...@kreidestaub.de:
Platform: Ubuntu 8.10
Affected versions: Python 2.6.2, IDLE 2.6.2 and Python 2.5.4, IDLE 1.2.4
From IDLE I run a program that opens a graphics window (e.g. using the
Natural Language Toolkit: import nltk followed by nltk.download()).
Daniel Diniz aja...@gmail.com added the comment:
That would be issue 1983.
--
dependencies: +Return from fork() is pid_t, not int
nosy: +ajaksu2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2005
Changes by Ralf Seliger ad...@kreidestaub.de:
--
title: No shell prompt when a graphics that was started from IDLE is closed -
No shell prompt when a graphics window that was started from IDLE is closed
___
Python tracker rep...@bugs.python.org
Daniel Diniz aja...@gmail.com added the comment:
Is this pending for trunk and py3k too or just for 2.5 (and hence can be
closed)?
--
nosy: +ajaksu2
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1983
Daniel Diniz aja...@gmail.com added the comment:
Does anyone want to adopt this one? :)
--
nosy: +ajaksu2
stage: - patch review
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5
___
Python tracker rep...@bugs.python.org
Daniel Diniz aja...@gmail.com added the comment:
PyBUF_CHARACTER is now gone, and getargs.c reads:
/*TEO: This can be eliminated --- here only for backward
compatibility */
case 't': { /* 8-bit character buffer, read-only access */
--
nosy: +ajaksu2,
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +patch
stage: - patch review
versions: +Python 2.6, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1932
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1294
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2492
___
Daniel Diniz aja...@gmail.com added the comment:
This now works correctly (returns False) in release26-maint, trunk and py3k.
--
nosy: +ajaksu2
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker
Daniel Diniz aja...@gmail.com added the comment:
Michael,
How does this interact with the fix from issue 706406?
--
components: +Extension Modules -None
nosy: +ajaksu2
priority: - normal
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1534607
___
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +haypo, loewis
priority: - normal
stage: - test needed
type: - behavior
versions: +Python 3.1 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3070
Changes by Daniel Diniz aja...@gmail.com:
--
priority: - normal
type: behavior - feature request
versions: +Python 2.7, Python 3.2 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2981
Daniel Diniz aja...@gmail.com added the comment:
Confirmed on release26-maint and trunk.
--
nosy: +ajaksu2
priority: - normal
stage: - test needed
type: - resource usage
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2521
New submission from Jerome knap...@yahoo.com:
Hi, when I try to use the scrollbar to scroll through the REPL window or
through a file I'm editing with IDLE in os x 10.5 the image of the
scroll bar doesn't seem to correspond to anything, it moves more or less
than my mouse when I'm trying to
Antoine Pitrou pit...@free.fr added the comment:
Uh, this was done a long time ago.
--
nosy: +pitrou
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2492
Changes by Daniel Diniz aja...@gmail.com:
--
dependencies: +Documentation for Descriptors in the main docs
stage: - needs patch
versions: +Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1376292
Daniel Diniz aja...@gmail.com added the comment:
Maybe we should close this in favor of issue 1376292?
--
nosy: +ajaksu2
stage: - needs patch
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue966625
Alan McIntyre alan.mcint...@gmail.com added the comment:
It would appear that the change to testzip has already been made:
http://mail.python.org/pipermail/python-checkins/2008-August/072892.html
http://mail.python.org/pipermail/python-3000-checkins/2008-August/004310.html
I can add some
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I'll check but much of this has been done already.
--
assignee: - rhettinger
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue966625
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
There is no warning now. Seems to be fixed.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1932
New submission from Daniel Diniz aja...@gmail.com:
The attached patch makes setup.py use the shipped zlib.h in
Modules/zlib/ when a bogus zlib.h is found by find_file.
However, I couldn't test it (nor make it work) when a system zlib is
missing (no time right now). Can we build the shipped zlib
New submission from Steven D'Aprano st...@pearwood.info:
I'm not sure if this is a documentation bug or a behaviour bug, or
possibly both.
The documentation warns about adding or deleting items from a dict
while iterating over it:
Using iteritems() while adding or deleting entries in the
72 matches
Mail list logo