[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2007-11-01 Thread Ali Polatel

Changes by Ali Polatel:


--
nosy: +hawking

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1651995>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue756093] complex pow() crash on Alpha

2008-05-25 Thread Ali Polatel

Ali Polatel <[EMAIL PROTECTED]> added the comment:

Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2.

test test_pow failed -- Traceback (most recent call last):
  File
"/var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py",
line 109, in test_bug705231
eq(pow(a, 1.23e167), 1.0)
ValueError: negative number cannot be raised to a fractional power

I'll test with 2.6 and report back.

--
nosy: +hawking


Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue756093>

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3563] fix_idioms.py generates bad code

2008-08-16 Thread Ali Polatel

New submission from Ali Polatel <[EMAIL PROTECTED]>:

fix_idioms.py generates bad code for conversions in try/except blocks.
Example:
s=(1, 2, 3)
try:
t = list(s)
t.sort()
except TypeError:
pass

fix_idioms.py generates this diff:
--- test.py (original)
+++ test.py (refactored)
@@ -7,8 +7,7 @@
 
 s=(1, 2, 3)
 try:
-t = list(s)
-t.sort()
-except TypeError:
+t = sorted(s)
+except TypeError:
 pass
 
except TypeError is indented wrongly.

--
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 71199
nosy: collinwinter, hawking
severity: normal
status: open
title: fix_idioms.py generates bad code

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3563>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3678] Ignored LDFLAGS during linking libpython$(VERSION).so

2008-08-29 Thread Ali Polatel

Changes by Ali Polatel <[EMAIL PROTECTED]>:


--
nosy: +hawking

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3678>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com