[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread Walter Dörwald
Walter Dörwald added the comment: Don't worry, I've switched to using Python 3 in 2012, where this isn't a problem. ;) -- ___ Python tracker ___

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread STINNER Victor
STINNER Victor added the comment: Walter Dörwald added the comment: > Don't worry, I've switched to using Python 3 in 2012, where this isn't a > problem. ;) Wow, cool! We still have 1 or 2 customers stuck with Python 2, haha. -- ___ Python tracker

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> resolved ___ Python tracker ___

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then feel free to commit your patch please. It LGTM. -- stage: patch review -> commit review ___ Python tracker ___

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f2c52c9ff38 by Victor Stinner in branch '2.7': Issue #7267: format(int, 'c') now raises OverflowError when the argument is not https://hg.python.org/cpython/rev/2f2c52c9ff38 -- nosy: +python-dev ___

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread STINNER Victor
STINNER Victor added the comment: > Then feel free to commit your patch please. It LGTM. Thanks for the review ;-) @Walter: Sorry for the late fix (6 years later!). -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7267] format method: c presentation type broken in 2.7

2015-11-09 Thread STINNER Victor
STINNER Victor added the comment: > Both ways, with OverflowError and Py3k DeprecationWarning, are good to me. > What would you say about this Benjamin? I prefer an OverflowError. I don't like having to enable a flag to fix a bug :-( According to the issue title, it's really a bug: "format

[issue7267] format method: c presentation type broken in 2.7

2015-06-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___ ___ Python-bugs-list mailing list

[issue7267] format method: c presentation type broken in 2.7

2015-05-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___ ___

[issue7267] format method: c presentation type broken in 2.7

2015-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a modification of Victor's patch, that just emits Py3k warning. Both ways, with OverflowError and Py3k DeprecationWarning, are good to me. What would you say about this Benjamin? -- Added file:

[issue7267] format method: c presentation type broken in 2.7

2015-05-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be just emit a warning in -3 mode? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___

[issue7267] format method: c presentation type broken in 2.7

2015-05-07 Thread Mark Lawrence
Mark Lawrence added the comment: What if any harm can be done by applying the patch with Victor's work around? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___

[issue7267] format method: c presentation type broken in 2.7

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: format method: c presentation type broken - format method: c presentation type broken in 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267