New submission from Stephen J. Turnbull step...@xemacs.org:
Which causes the locale machinery to spit exceptions, and the program to
die, usually (eg, hg).
This manifests naturally on an Intel Mac, Mac OS X 10.5.7, but the
problem behavior is in _build_localename. When called as
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r73490. Will wait for 3.1 final release to apply it to the py3k
branch.
--
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
New submission from Jeong-Min Lee false...@gmail.com:
format(datetime_obj, format_string) return format_string. (when
format_string is not empty.)
import datetime
d = datetime.datetime.now()
format(d)
'2009-06-20 23:51:54.243428'
format(d, '')
'2009-06-20 23:51:54.243428'
d
Changes by Eric Smith e...@trueblade.com:
--
assignee: - eric.smith
components: +Interpreter Core -Extension Modules, Library (Lib)
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6316
Eric Smith e...@trueblade.com added the comment:
This is by design. Where d is a datetime, format(d, format_string)
returns d.strftime(format_string).
d.strftime('30')
'30'
--
resolution: - invalid
status: open - closed
___
Python tracker
Jeong-Min Lee false...@gmail.com added the comment:
I got it.
By the way, It would be good to document that this behaviour (at least
about datetime.__format__)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6316
Martin v. Löwis mar...@v.loewis.de added the comment:
Superseded by issue6267.
--
nosy: +loewis
resolution: - out of date
status: open - closed
superseder: - Cumulative patch to http and xmlrpc
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Superseded by issue6267.
--
nosy: +loewis
resolution: - out of date
status: open - closed
superseder: - Cumulative patch to http and xmlrpc
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Rejecting the patch because of lack of responsiveness.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1360243
Antoine Pitrou pit...@free.fr added the comment:
Everything looks ok, thanks!
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6215
___
Antoine Pitrou pit...@free.fr added the comment:
Ouch, this is quite annoying. I will try to fix this before the final
release.
--
assignee: - pitrou
nosy: +pitrou
priority: - critical
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Here is my current interpretation:
subprocess uses os.pipe() to create the file handles used for
communication. These handles normally always raise an error ([Errno 29]
Illegal seek) when trying to seek() on them, which the IO lib interprets
as
Antoine Pitrou pit...@free.fr added the comment:
Just before, could you try to type the following commands:
r, w = os.pipe()
os.lseek(r, 0, 1)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6236
Roger Serwy roger.se...@gmail.com added the comment:
The class browser relies on the pyclbr module to scan the code. This
module doesn't support classes within classes. Both pyclbr and IDLE's
class browser need to be modified.
--
nosy: +serwy
___
nlopes shelika.v...@gmail.com added the comment:
This is a pretty dumb patch, but it does it's job.
Basically it decodes the utf-8 encoded prefix and uri. Then, encodes it
into Latin1. Probably there are better ways of doing this and those
ideas are welcome. Patch attached.
--
keywords:
Fredrik Lundh fred...@effbot.org added the comment:
Converting from UTF-8 to Unicode is the right thing to do, but
converting back to Latin-1 is not correct -- note that ET returns a
Unicode string, not an 8-bit string. There's a makestring helper that
does the right thing in the library;
nlopes shelika.v...@gmail.com added the comment:
You're right about the conversion to Latin1.
I actually played a bit with makestring before going in another
direction (although not very good) because makestring alone wasn't
giving what is intended.
I'll try to check tomorrow a good approach
Terry J. Reedy tjre...@udel.edu added the comment:
The situation appears to be at least slightly different from what Guido
stated. In 3.x, all classes subclass object, which has .__ne__, so if
that stopped inferred != behavior, it would never happen.
class A:
def __eq__(s,p): return 1
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
winsound.PlaySound doesn't accept non-unicode string.
Python 3.1rc2+ (py3k, Jun 14 2009, 14:07:51) [MSC v.1200 32 bit (Intel)]
on win3
2
Type help, copyright, credits or license for more information.
import winsound
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
priority: - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6317
___
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: georg.brandl - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
___
22 matches
Mail list logo