New submission from Carl Chenet :
Hi,
Could the rsplit() method be mentioned mistakenly two times in the following
sentence of the current What's new in Python 3.2 ?
"The fast-search algorithm in stringlib is now used by the split(), rsplit(),
splitlines() and replace() method
New submission from Carl Chenet :
Hi,
It seems a mistake could be in the "What's new in Python 3.2" (rc3)
documentation in the sysconfig.get_config_var('SO') example :
>>> sysconfig.get_config_var('SO') # find the full filename extension
'
New submission from Carl Chenet :
Hi,
The hashlib module could provide a tuple offering the names of the
different hash algorithms which are guaranteed to be supported.
The expected result:
>>> import hashlib
>>> hashlib.algorithms
('md5', 'sha1',
Carl Chenet added the comment:
flox : You're right, sorry about that.
Here is a fixed patch.
--
Added file:
http://bugs.python.org/file15437/algorithms_constant_value_in_hashlib_module.diff
___
Python tracker
<http://bugs.python.org/i
Changes by Carl Chenet :
Removed file:
http://bugs.python.org/file15437/algorithms_constant_value_in_hashlib_module.diff
___
Python tracker
<http://bugs.python.org/issue7
Carl Chenet added the comment:
The fixed file :
algorithms_constant_attribute_in_hashlib_module_update1.diff
--
Added file:
http://bugs.python.org/file15438/algorithms_constant_attribute_in_hashlib_module_update1.diff
___
Python tracker
<h
Carl Chenet added the comment:
Hi,
Maybe you have some ideas on this patch? I think it could be a nice
feature e.g in my app I need to support every hash algorithms available
so with optparse module it is possible to write something like :
for __hashtype in ('md5', '
New submission from Carl Chenet :
Hi,
In the current documentation at
http://docs.python.org/library/stdtypes.html#memoryview, the first example
announces :
>>> v = memoryview('abcefg')
>>> v[1]
'b'
>>> v[-1]
'g'
>>> v[1
New submission from Carl Chenet:
I'm trying to use a tar stream to a Python tarfile object but each time I do
have a TypeError: can't concat bytes to str error
Here is my test:
-8<-
#!/usr/bin/python3.4
import tarfile
import sys
tarobj = tarfile.open(mode='r|