Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
At least my one unicode char is one space suggestion corrects the case
of Western languages, and all messages with single-width characters.
I'm not happy with this solution. ;-(
Doesn't the exact width depend on
the terminal
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Experimental patch was experimental, wcswidth(3) returns 1 for East
Asian Ambiguous character.
debian:~/python-dev/py3k# ./python /mnt/windows/a.py
File /mnt/windows/a.py, line 3
♪xÅx abc
^
should point 'c'. And another
New submission from Gerard [EMAIL PROTECTED]:
I'm using an IBM compiler running in AIX 5.3.
Compilation of Python 2.6 fails (see explanation below).
Compilation of Python 2.5.2 is ok.
/home/xyz/python/Python-2.6$ lslpp -L | grep vac
vac.C 10.1.0.0C FIBM XL C
T.Morin [EMAIL PROTECTED] added the comment:
I've applied the patch to the release26-maint branch, and I was able to
properly compile, run and do some basic testing of the result.
Find attached a patch applying cleanly to SVN release26-maint branch.
--
versions: +Python 2.6 -Python 2.5
Ulrich Eckhardt [EMAIL PROTECTED] added the comment:
Add a patch that fixes a warning.
--
keywords: +patch
Added file:
http://bugs.python.org/file11708/Python-unicode-redefine-warning.0.patch
___
Python tracker [EMAIL PROTECTED]
New submission from Govind [EMAIL PROTECTED]:
I tried to process a text file (with UTF-8 encoding) which has
contents like this:
FILE=India
asbds
FILE=Indonasia
ssgsds
FILE=Africa
DBGDGDFG
When I use the below code:
f = open(e:\\temp\\file.txt, 'r')
lines = f.readlines()
for line in
New submission from Govind [EMAIL PROTECTED]:
I tried to process a text file (with UTF-8 encoding) which has
contents like this:
FILE=India
asbds
FILE=Indonasia
ssgsds
FILE=Africa
DBGDGDFG
When I use the below code:
f = open(e:\\temp\\file.txt, 'r')
lines = f.readlines()
for line in
STINNER Victor [EMAIL PROTECTED] added the comment:
Duplicate of issue4054.
--
nosy: +haypo
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4053
___
STINNER Victor [EMAIL PROTECTED] added the comment:
It's not a bug. Please read the documentation of the split() method:
http://docs.python.org/library/stdtypes.html#str.split
If you want to get the value after =, use:
value = line.split(FILE=, 1)[1]
or:
value = line[len('FILE='):]
or:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
This is not specific to generators, this is due to the fact that a lot
of recursion checks have been added all over the place. When an internal
function designed to ignore exceptions (for example
PyErr_GivenExceptionMatches()) encounters such a
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Here is a patch that fixes the problem as proposed. An installer built
with that patch is available from
http://www.dcl.hpi.uni-potsdam.de/home/loewis/u/python-3.0.14158.msi
--
keywords: +patch
Added file:
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment:
ok.
what's not explained, and isn't clear, is exactly whether you're
supposed to - or even _capable_ of - cross-compiling the _entire_
python sourcecode base with mingw32, or whether you're supposed to
get _just_ the python.exe
Changes by Jesse Noller [EMAIL PROTECTED]:
--
assignee: - jnoller
nosy: +jnoller
priority: - normal
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4028
___
Changes by Jesse Noller [EMAIL PROTECTED]:
--
assignee: - jnoller
nosy: +jnoller
priority: - normal
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3876
___
Changes by Jesse Noller [EMAIL PROTECTED]:
--
title: multiprocessing does not compile on *BSD and potentialy other systems -
multiprocessing does not compile on systems which do not define sem_timedwait
___
Python tracker [EMAIL PROTECTED]
Martin v. Löwis [EMAIL PROTECTED] added the comment:
So what's the status of this? Who is still interested in seeing what
patches considered?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1597850
___
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Here is a patch that should fix this.
--
keywords: +needs review, patch
priority: critical - release blocker
Added file: http://bugs.python.org/file11712/init.diff
___
Python tracker [EMAIL
Changes by Martin v. Löwis [EMAIL PROTECTED]:
--
keywords: +needs review
priority: normal - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4018
___
rwmjones [EMAIL PROTECTED] added the comment:
I'm very slowly working up a patch here (again 2.5.2).
Since I haven't actually got even python.exe compiled
yet I can't promise anything, but you never know ...
___
Python tracker [EMAIL PROTECTED]
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Ok, I have now removed the Alpha designation, in r66814, r66815, and r66816.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4014
Steve Lee [EMAIL PROTECTED] added the comment:
Works for me on Vista, Not tried on XP.
Seems a reasonable temporary compromise though we are now stopping all
possibility of an 'all' install but as noted there is probably little
need for it when application installers are created.
Facundo Batista [EMAIL PROTECTED] added the comment:
Let me reopen this, I think we have an issue with this fix.
The conclusion of this discussion so far is that in 3.0 the crc32 will
behave like the standard, which is a good thing (tm), but in 2.6 it will
not: it should return a signed
New submission from Ignacio Vazquez-Abrams [EMAIL PROTECTED]:
The documentation on the website seems to have lost the numbers
identifying the various sections. It was useful to point a user to e.g.
§3.6.2 of the libref in order to guide them to the string interpolation
documentation. This is now
Jesús Cea Avión [EMAIL PROTECTED] added the comment:
Greg, is this issue still pending?. Can we close it?.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2960
___
Terry J. Reedy [EMAIL PROTECTED] added the comment:
To add support to the proposal: there is currently yet another thread on
c.l.p on how to calculate numbits efficiently. The OP needs it for
prototyping cryptographic algorithms and found Python-level code slower
than he wanted.
--
Gregory P. Smith [EMAIL PROTECTED] added the comment:
An int is 32-bits on all popular platforms. Anyways i'll double check
things. What platforms did you run your test on?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1202
New submission from Ian Bicking [EMAIL PROTECTED]:
I used a reference like :Class:`something` (note the capitalization) and
got this exception:
Traceback (most recent call last):
File
/home/ianb/src/env/lib/python2.4/site-packages/sphinx/__init__.py,
line 135, in main
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Please create a separate tracker item per individual change (or per
group by enourmously similar changes). Each change will be reviewed
separately, and will get accepted or rejected separately.
This specific patch
New submission from Robert Lehmann [EMAIL PROTECTED]:
The markup in the Doc/whatsnew/2.6.rst document is somewhat messy in
some places. I fixed indentation (spaces to tabs -- made some things
readable in the docutils output but not in the source), code samples
(- notation to Python prompt) and
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I'm ok with that patch.
--
keywords: -needs review
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3740
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Done in r66817.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2744
___
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11698/tokenizer_iso-8859-1.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3574
___
New submission from Robert Lehmann [EMAIL PROTECTED]:
The sqlite3 documentation misses Row and Cursor.description.
Additionally it does not use the best markup in all places (missing
links, basically, and forgotten .. class:: statements).
A patch is attached.
--
assignee: georg.brandl
Changes by STINNER Victor [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11716/tokenizer_iso-8859-1-patch3.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3574
___
STINNER Victor [EMAIL PROTECTED] added the comment:
benjamin was afraid by the comment /* dirty hack */ in my previous
comment. After reading tokenizer.c again and again, I can say that the
fix is correct: the file is closed and then re-opened by fp_setreadl()
(using io.open()), and so the
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11677/idle_encoding-2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4008
___
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11715/python3_bytes_filename-3.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3574
___
STINNER Victor [EMAIL PROTECTED] added the comment:
My patch version 2 included an unrelated fix for the issue2384.
Added file: http://bugs.python.org/file11715/python3_bytes_filename-3.patch
___
Python tracker [EMAIL PROTECTED]
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Have you verified the numbers? They don't look right to me.
The problem is the 2nd argument of cProfile's constructor has a
different semantic meaning than the one for profile.py. For profile.py,
it is used to set the bias (I presume it
Benjamin Peterson [EMAIL PROTECTED] added the comment:
No, I didn't look too hard at it; I just got it scraping along, so I can
forward port a fix for it. I'll reopen this, so you can take more
action, so you wish. :)
--
resolution: fixed -
status: closed - open
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Unassigning myself as I don't have the time to fix this properly.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2744
___
Changes by Alexandre Vassalotti [EMAIL PROTECTED]:
--
assignee: alexandre.vassalotti -
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2744
___
___
Changes by STINNER Victor [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11718/json_test.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3623
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
Does this also affect sys.byteorder and the struct module ?
I think those would be more important to get right than the UTF-16
codec, since this only uses the native byte ordering for increased
performance and compatibility with other OS
STINNER Victor [EMAIL PROTECTED] added the comment:
Similar issue: issue4034 proposes to be able to set tb.tb_frame=None.
It's easy to implement this, I can write a patch for this.
--
nosy: +haypo
___
Python tracker [EMAIL PROTECTED]
Brett Cannon [EMAIL PROTECTED] added the comment:
2.7 through r66819, 2.6 through r66820, and 3.0 through r66821.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3758
___
Trent Mick [EMAIL PROTECTED] added the comment:
Does this also affect sys.byteorder and the struct module ?
Doesn't seem to affect sys.byteorder:
$ /usr/bin/python -c import sys; print sys.byteorder
big
$ python2.6 -c import sys; print sys.byteorder
big
I think those would be more
STINNER Victor [EMAIL PROTECTED] added the comment:
Instead of converting tb_frame attribute to read only, I prefer to
allow the user to clear the traceback to free some memory bytes. So I
wrote a different patch.
marge$ ./python
Python 2.7a0 (trunk:66786M, Oct 7 2008, 00:48:32)
try:
... a
Trent Mick [EMAIL PROTECTED] added the comment:
BTW: Does this simplified approach really work for Python on Mac OS X
It works for Python 2.5:
http://svn.python.org/view/*checkout*/python/branches/release25-maint/configure.in?rev=66299
search for BIGENDIAN.
Changes by Trent Mick [EMAIL PROTECTED]:
--
keywords: +patch
Added file: http://bugs.python.org/file11720/issue4060_macosx_endian.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4060
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-10-07 00:52, Trent Mick wrote:
Trent Mick [EMAIL PROTECTED] added the comment:
BTW: Does this simplified approach really work for Python on Mac OS X
It works for Python 2.5:
New submission from Mehmet Yozcu [EMAIL PROTECTED]:
I don't know what's wrong but when I write on the IDLE
2.3+6.3
it gives an answer like 8.596 or similar
when I write on the IDLE
print 2.3+6.3
the answer is 8.6 as I expected
I tried these two commands on the DrPython IDE;the result
STINNER Victor [EMAIL PROTECTED] added the comment:
Would it possible to close this issue since os.listdir() is fixed and
many other related functions (posix, posixpath, ntpath, macpath, etc.)
are also fixed? I propose to open new issues for new bugs since this
issue becomes a little big long
Benjamin Peterson [EMAIL PROTECTED] added the comment:
This is a result of poor floating-point precision:
2.3
2.2998
6.3
6.2998
See http://docs.python.org/tutorial/floatingpoint.html for more information.
--
nosy: +benjamin.peterson
resolution: - invalid
STINNER Victor [EMAIL PROTECTED] added the comment:
Use Decimal to get an exact result:
from decimal import Decimal
print Decimal('2.3') + Decimal('6.3')
8.6
--
nosy: +haypo
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4061
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Would it possible to close this issue since os.listdir() is fixed and
many other related functions (posix, posixpath, ntpath, macpath, etc.)
are also fixed?
IIUC, these fixes are still not complete: they lack documentation
changes. Of
New submission from Orestis Markou [EMAIL PROTECTED]:
The docs for the ast module refer to a __version__ number, that should track
the
Subversion id.
However, this doesn't exist:
import ast
ast.__version__
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError:
STINNER Victor [EMAIL PROTECTED] added the comment:
Le Tuesday 07 October 2008 01:13:22 Martin v. Löwis, vous avez écrit :
IIUC, these fixes are still not complete: they lack documentation
changes. (...) Of course, it would have been better if the original patches
already contained the
Mehmet Yozcu [EMAIL PROTECTED] added the comment:
Dear Victor Stinner;
Thank you very much for your answer. That was very helpful
Best Wishes
2008/10/7 STINNER Victor [EMAIL PROTECTED]:
STINNER Victor [EMAIL PROTECTED] added the comment:
Use Decimal to get an exact result:
from decimal
Skip Montanaro [EMAIL PROTECTED] added the comment:
I checked in r66823 to add the -R flag extraction like Brett's -L
extraction. I'll leave the issue open while folks discuss Roumen's
proposal. I have no particular desire to delve deeper into
distutils.
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
The patch looks good to me.
You may want to fix the refleak in the PyList_Append() calls (I counted
4) too:
if (PyList_Append(chunks, chunk)) {
goto bail;
}
should be:
if
David W. Lambert [EMAIL PROTECTED] added the comment:
I installed google chrome. The manual display is absolutely beautiful.
Thanks for your good work!
Proofreader Dave.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4029
62 matches
Mail list logo