homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients MrJean1, amaury.forgeotdarc, db3l, flox, ixokai, loewis, mark.dickinson, michael.foord, ned.deily, piro, pitrou, ronaldoussoren, rpetrov, skip.montanaro, slmnhq, vstinner
Date 2010年10月27日.00:51:22
SpamBayes Score 1.4151134e-07
Marked as misclassified No
Message-id <1288140686.04.0.212440512202.issue10209@psf.upfronthosting.co.za>
In-reply-to
Content
Patch for os.fsencode/fsdecode importing unicodedata in the function (instead of a global import). unicodedata module is not builtin and is dynamically loaded. We should maybe ignore ImportError if the module is not available? With a warning?
For PyUnicode_EncodeFSDefault() and PyUnicode_DecodeFSDefault(AndSize)() (C implementation), we can maybe use a hook (eg. implemented as as configurable callback) and set the hook after loading the unicodedata module.
It would be easier if unicodedata would be builtin module :-)
History
Date User Action Args
2010年10月27日 00:51:26vstinnersetrecipients: + vstinner, loewis, skip.montanaro, ixokai, db3l, ronaldoussoren, amaury.forgeotdarc, mark.dickinson, pitrou, piro, MrJean1, ned.deily, rpetrov, michael.foord, flox, slmnhq
2010年10月27日 00:51:26vstinnersetmessageid: <1288140686.04.0.212440512202.issue10209@psf.upfronthosting.co.za>
2010年10月27日 00:51:24vstinnerlinkissue10209 messages
2010年10月27日 00:51:24vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /