Message154638
I don't seen any refcounting problem here, but your patch is buggy.
Before patch:
>>> os.device_encoding(0)
'UTF-8'
After patch:
>>> os.device_encoding(0) is None
True
Interestingly, it seems there is no test for os.device_encoding. Perhaps add one to test_os? |
|
Date |
User |
Action |
Args |
2012-02-29 15:19:27 | pitrou | set | recipients:
+ pitrou, brett.cannon, vstinner, benjamin.peterson |
2012-02-29 15:19:27 | pitrou | set | messageid: <1330528767.26.0.403915015073.issue14153@psf.upfronthosting.co.za> |
2012-02-29 15:19:26 | pitrou | link | issue14153 messages |
2012-02-29 15:19:26 | pitrou | create | |
|