[issue28835] Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True)

2016-11-29 Thread Thomas Robitaille
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

[issue20150] API breakage in string formatting with :s option

2014-01-06 Thread Thomas Robitaille
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

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
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

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
Changes by Thomas Robitaille thomas.robitai...@gmail.com: -- type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14932

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
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