New submission from Thomas Robitaille:
In Python 3.5, the following code:
import warnings
def deal_with_warning(*args, **kwargs):
print("warning emitted")
with warnings.catch_warnings(record=True):
warnings.showwarning = deal_with_warning
war
New submission from Thomas Robitaille:
The following code:
>>> "{0:s}".format([1,2,3])
no longer works in Python 3.4b1, and gives the following exception:
>>> "{0:s}".format([1,2,3])
Traceback (most recent call last):
File "", line 1, in
Typ
Thomas Robitaille added the comment:
Thanks for the quick reply - wouldn't it make sense to add a directive to the
configure script so that if the compiler matches
'i686-apple-darwin11-llvm-gcc-4.2', clang is used instead?
--
___
Changes by Thomas Robitaille :
--
type: -> compile error
___
Python tracker
<http://bugs.python.org/issue14932>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Thomas Robitaille :
I can build Python 2.6 to 3.2 on MacOS 10.7 with XCode 4.3.2 using solely:
./configure
make
But if I do this with Python 3.3 alpha 3 I get the following error:
gcc -framework CoreFoundation -o python.exe Modules/python.o
libpython3.3m.a