Author ronaldoussoren
Recipients Dmitry.Jemerov, barry-scott, loewis, ned.deily, r.david.murray, ronaldoussoren, vstinner
Date 2015-03-31.13:28:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
1) I agree with Ned that the OSX behavior is not broken, it is different but within spec. Python makes assumption about the format of locale names that aren't universally valid.

2) We should be careful in using CFLocale. Those APIs are part of CoreFoundation and CoreFoundation APIs cannot be used in the child proces after calling os.fork. 

As an aside to 2), CoreFoundation and any other Apple "Cocoa" frameworks should be assumed to use threads and hence the comment about threads in the fork specification (link below) apply, and currently Apple doesn't appear to use pthread_atfork to make sure library state is valid in child processes after fork.

Date User Action Args
2015-03-31 13:28:30ronaldoussorensetrecipients: + ronaldoussoren, loewis, barry-scott, vstinner, ned.deily, r.david.murray, Dmitry.Jemerov
2015-03-31 13:28:30ronaldoussorensetmessageid: <>
2015-03-31 13:28:30ronaldoussorenlinkissue18378 messages
2015-03-31 13:28:29ronaldoussorencreate