Re: [Python-Dev] transitioning from % to {} formatting

2009-10-08 Thread Christian Tanzer
that existing code using %-formatting is forced to stay at whatever Python version was the last one supporting %-formatting. I surely hope nobody is seriously considering such a scenario. Perl 6 seems harmless in comparison. -- Christian Tanzerhttp://www.c-tanzer.at

Re: [Python-Dev] transitioning from % to {} formatting

2009-10-08 Thread Christian Tanzer
or it isn't worth doing at all. -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] transitioning from % to {} formatting

2009-10-08 Thread Christian Tanzer
incompatibility in transitioning string formatting. `with` and `as` are trivial to fix and certainly not pervasive in existing code. String exceptions have been deprecated for years. -- Christian Tanzerhttp://www.c-tanzer.at

Re: [Python-Dev] New Super PEP

2007-05-02 Thread Christian Tanzer
is utterly wrong: Note that the __init__ method is not special -- the same thing happens with any method -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] whitespace normalization

2007-04-26 Thread Christian Tanzer
) ) In modern Emacsen, the `if` should be unnecessary. -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Rounding float to int directly ...

2006-08-03 Thread Christian Tanzer
under such a change. -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Rounding float to int directly ...

2006-08-03 Thread Christian Tanzer
Nick Maclaren [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Christian Tanzer) wrote: Greg Ewing [EMAIL PROTECTED] wrote: What's the feeling about this? If, e.g. int() were changed in Py3k to round instead of truncate, would it cause anyone substantial pain? Gratuitous breakage

Re: [Python-Dev] yield back-and-forth?

2006-01-20 Thread Christian Tanzer
to be solved. How about: def main_generator(): ... yield * sub_generator() Ducking-ly yrs, -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http