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 stdin, line 1, in module
TypeError: non-empty format string passed to object
New submission from Thomas Robitaille thomas.robitai...@gmail.com:
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
Changes by Thomas Robitaille thomas.robitai...@gmail.com:
--
type: - compile error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14932
Thomas Robitaille thomas.robitai...@gmail.com 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