[issue6972] zipfile.ZipFile overwrites files outside destination path

2012-04-07 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: I'll update my patch to work on the current 3.x head later tonight. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972

[issue8005] datetime's comparison methods do not return NotImplemented when they should

2010-04-27 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: It's just a test. Finishing the patch completely slipped my mind. I'll work on it later tonight. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8005

[issue8005] datetime's comparison methods do not return NotImplemented when they should

2010-04-27 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: I'm still reasonably new to the codebase, but I'm certainly going to try to fix the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8005

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-10-01 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Even if we can't fix things for this release, presumably it's not too late to fix things for 2.7, right? Yes, there certainly are cases where you might want to have creative usage of symlinks and stored paths to allow overwriting existing files

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-29 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Uploading patch. This actually should fix my theoretical symlink bug since realpath() properly follows symlinks. The only thing that I haven't been able to test is the behavior of realpath() on case-insensitive operating systems. This should do

[issue7008] str.title() misbehaves with apostrophes

2009-09-28 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: If correct handling of apostrophe's and quotation marks, keeping the string length unchanged, and only changing desired letters from lower to uppercase with no other side-effects is the criterion we want, then what I suggested (toupper() the first

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-28 Thread Thomas W. Barr
Changes by Thomas W. Barr t...@rice.edu: -- nosy: +twb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972 ___ ___ Python-bugs-list mailing list

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-31 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Patch uploaded to rietveld: http://codereview.appspot.com/96202/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6606

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: The Sniffer.sniff routine doesn't set the doublequote property at all right now. I'm working on a patch to see if I can add this functionality. -- nosy: +twb type: behavior - feature request ___ Python

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Test for this issue. -- keywords: +patch Added file: http://bugs.python.org/file14610/test_csv.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6606

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Patch for the issue. Looks for extraneous quote inside the quotes by the delimiters. -- Added file: http://bugs.python.org/file14611/csv.py.diff ___ Python tracker rep...@bugs.python.org http

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: The documentation doesn't actually say what parameters are sniffed, so technically, that doesn't need to be changed. Should this be added? -- ___ Python tracker rep...@bugs.python.org http

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Changes by Thomas W. Barr t...@rice.edu: Removed file: http://bugs.python.org/file14611/csv.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6606

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Reformatted line in patch. -- Added file: http://bugs.python.org/file14612/csv.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6606