Longpoke added the comment:
Okay I've attached one for the py3k branch. What about 2.7? Same patch applies
there.
--
keywords: +patch
Added file: http://bugs.python.org/file18645/shelve.rst.patch
___
Python tracker
<http://bugs.py
New submission from Longpoke :
Loading a shelve can cause arbitrary code to be executed [1] and other black
magic (because it's backed by Pickle). Shouldn't there be a big fat warning at
the top of the shelve documentation page?
Unless you're like me and assume anyt
Longpoke added the comment:
Yes, it should definately be os.sterror. Dunno how I ended up omitting that,
sorry.
--
___
Python tracker
<http://bugs.python.org/issue8
New submission from Longpoke :
This function in asyncore is buggy:
def _strerror(err):
res = os.strerror(err)
if res == 'Unknown error':
res = errorcode[err]
return res
- os.strerror may throw ValueError depending on the os, or return a string
saying some