Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] PEP 414

Barry Warsawbarry at python.org
Sun Feb 26 22:06:57 CET 2012


On Feb 26, 2012, at 09:20 PM, Nick Coghlan wrote:>It reduces the problem (compared to omitting the import and using a>u() function), but it's still ugly and still involves the "action at a>distance" of the unicode literals import.Frankly, that doesn't bother me at all.  I've been using the future import inall my code pretty successfully for a long while now.  It's much moreimportant for a project to use or not use the future import consistently, andthen there really should be no confusion when looking at the code for thatproject.I'm not necessarily saying I'm opposed to the purpose of the PEP.  I do thinkit's unnecessary for most Python problem domains, but can appreciate that WSGIapps are feeling a special pain here that should be addressed somehow.  Itwould be nice however if the solution were in the form of a separate modulethat could be used in earlier Python versions.-Barry


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp