[issue14824] reprlib documentation references string module

2012-05-18 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: The documentation is just flat out wrong, actually: if ' ' in typename: parts = typename.split() typename = '_'.join(parts) The documentation is claiming the inverse. I don't know why we would ever have a space

[issue14824] reprlib documentation references string module

2012-05-16 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: Yes. Yes it would. In my opinion, it really shouldn't do this sort of name mangling, as it's a terrible idea, but whatever. -- ___ Python tracker <http://bugs.python.o

[issue14824] reprlib documentation references string module

2012-05-15 Thread Jasper St. Pierre
New submission from Jasper St. Pierre : http://docs.python.org/dev/library/reprlib.html """ Formatting methods for specific types are implemented as methods with a name based on the type name. In the method name, TYPE is replaced by string.join(string.split(type(obj).__name__,

[issue10292] tarinfo should use relative symlinks

2010-11-02 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: Uh, I just noticed the "python2.6" in the traceback. Looks like I *was* using 2.6 because Cygwin decided to downgrade for some reason. Uh, sorry about that. -- ___ Python tracker <http://bu

[issue10292] tarinfo should use relative symlinks

2010-11-02 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: Oh man, attaching the wrong diff and getting the diff wrong. The issue I found with Python 2.7: when creating a simple link in tar: $ mkdir tar_test $ cd tar_test $ touch one $ ln -s one two $ cd .. $ tar czf tar_test.tgz tar_test It seems obvious that