M.-A. Lemburg: > "Martin v. Loewis" wrote: > > ... > > if sys.platform == "win32": > > use_unicode_for_filenames = windowsversion in ['nt','w2k','xp'] > > elif sys.platform.startswith("darwin"): > > use_unicode_for_filenames = 1 > > else: > > use_unicode_for_filenames = 0 > > Sounds like this would be a good candidate for platform.py which I'll > check into CVS soon. With its many platform querying APIs it should > easily be possible to add a function which returns the above > information based on the platform Python is running on. OK. I'll remove unicodefilenames() from the PEP and my patch. Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4