Message215973
| Author |
kwirk |
| Recipients |
kwirk |
| Date |
2014年04月12日.15:33:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1397316819.31.0.463593532744.issue21207@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've seen an issue with using urandom on Python 3.4. I've traced down to fd being closed (not by core CPython, but by third party library code). After this, access to urandom fails.
I assume this is related to persistent fd for urandom in http://bugs.python.org/issue18756
$ python -c "import os;os.urandom(1);os.closerange(3,256);os.urandom(1)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
OSError: [Errno 9] Bad file descriptor |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年04月12日 15:33:39 | kwirk | set | recipients:
+ kwirk |
| 2014年04月12日 15:33:39 | kwirk | set | messageid: <1397316819.31.0.463593532744.issue21207@psf.upfronthosting.co.za> |
| 2014年04月12日 15:33:39 | kwirk | link | issue21207 messages |
| 2014年04月12日 15:33:39 | kwirk | create |
|