[issue6964] import new fails

2009-09-22 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles qgal...@gmail.com added the comment: The 'new' module has been removed in python 3.0. The documentation advices you to use the 'types' modules instead (http://docs.python.org/library/new.html). I'm also pretty sure you get a message for this module if you enable

[issue4779] Can't import Tkinter

2008-12-30 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles qgal...@gmail.com added the comment: Tkinter has been renamed to tkinter (and been made a package) as part of the stdlib reorganisation : http://www.python.org/dev/peps/pep-3108/#tkinter-package -- nosy: +quentin.gallet-gilles

[issue4786] xml.etree.ElementTree module name in Python 3

2008-12-30 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles qgal...@gmail.com added the comment: ElementTree is maintained externally, that's why it wasn't renamed during the stdlib reorganization : http://www.python.org/dev/peps/pep-3108/#open-issues -- nosy: +quentin.gallet-gilles

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles qgal...@gmail.com added the comment: A little remark : please replace if not globals().has_key('TkinterError'): by if 'TkinterError' not in globals():. has_key is now deprecated in 2.6 and should be avoided. -- nosy: +quentin.gallet-gilles versions: -Python 2.5

[issue4645] configparser DEFAULT

2008-12-14 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles qgal...@gmail.com: -- versions: +Python 2.5.3 -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4645

[issue4645] configparser DEFAULT

2008-12-12 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles qgal...@gmail.com added the comment: This is already fixed in 2.6 since r60976, the related issue is #1781 I'm not sure this is a good candidate for 2.4.6 and 2.5.3 : this isn't a security fix, but I doubt fixing this would break existing code as I can't imagine people

[issue4620] Memory leak with datetime used with time.strptime

2008-12-10 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Tried it with Python 2.5.2 on WinXP, I see no memory growth either. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620

[issue2847] Remove cl usage from aifc

2008-06-03 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Updated the patch with the following corrections/improvements : - corrected a missed str - bytes - replace % formatting occurrences with str.format() - more PEP-8 conformance Added file: http://bugs.python.org/file10506/aifc_3.0.patch

[issue2847] Remove cl usage from aifc

2008-06-03 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10499/aifc_3.0.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2847

[issue2847] Remove cl usage from aifc

2008-06-01 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: The attached patch removes all cl references from the aifc module and updates it to make it usable in 3.0. It also supports more compression types because audioop has been enhanced throughout the years (i.e. support for alaw encoding

[issue2419] Remove all IRIX dependant modules from aifc module

2008-05-29 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I think this issue should be closed as a duplicate of issue 2847. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2419

[issue2847] Remove cl usage from aifc

2008-05-29 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I'm working on this one. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2847

[issue2877] Backport UserString move from 3.0

2008-05-27 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I only see UserString in the collections module. Has MutableString been removed in 3.0 ? -- nosy: +quentin.gallet-gilles __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2877

[issue2878] Backport UserList move in 3.0

2008-05-27 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Attaching a patch for the import fixer of UserList. -- keywords: +patch nosy: +quentin.gallet-gilles Added file: http://bugs.python.org/file10448/userlist_import_fixer.patch __ Tracker [EMAIL

[issue2877] Backport UserString move from 3.0

2008-05-27 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Attaching a patch for the deprecation warning in 2.6 of the MutableString class. The import fixer for 2to3 is coming next. -- keywords: +patch Added file: http://bugs.python.org/file10454/userstring_2.6.patch

[issue2877] Backport UserString move from 3.0

2008-05-27 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10455/userstring_import_fixer.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2877

[issue2872] Remove commands for PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Ok, here are the patches. Since it's a combination of renaming and removing, I had to improvize a little, particularly in the 2.6 documentation. Hope it's done correctly. I still have doubts about the following issue, as commented

[issue2872] Remove commands for PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Ok, here are the patches. Since it's a combination of renaming and removing, I had to improvise a little (particularly in the 2.6 documentation). Hope it's done correctly. I still have doubts about the following issue. As commented

[issue2872] Remove commands for PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10412/remove_commands.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2872

[issue2872] Remove commands for PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Sorry for the double post Added file: http://bugs.python.org/file10414/commands_2.6.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2872

[issue2872] Remove commands for PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10415/commands_import_fixer.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2872

[issue2775] Implement PEP 3108

2008-05-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: While working on the commands module removal, I found two missed import renaming in the py3k branch that made regrtest skip some tests. The attached patch corrects them. Added file: http://bugs.python.org/file10416

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-22 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Thanks Brett. About the Misc/ACKS file I promise I'll contribute more than just an import fixer ! On Thu, May 22, 2008 at 5:19 AM, Brett Cannon [EMAIL PROTECTED] wrote: Brett Cannon [EMAIL PROTECTED] added the comment: Applied

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-22 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10396/unnamed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861 __ ___ Python

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Well, there's only the fixer to apply. -- components: -Library (Lib) title: Patch to rename markupbase to _markupbase - 2to3 fixer to rename markupbase to _markupbase Added file: http://bugs.python.org/file10388

[issue2861] Patch to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10330/markupbase_renaming_2.6.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2861] Patch to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10328/markupbase_import_fixer.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2872] Remove commands for PEP 3108

2008-05-21 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I'm working on it. -- nosy: +quentin.gallet-gilles __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2872

[issue2861] Patch to rename markupbase to _markupbase

2008-05-20 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I'll update the patches to reflect that. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861 __ ___ Python-bugs-list

[issue2775] Implement PEP 3108

2008-05-15 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I've found some places where configparser, copyreg, queue and socketserver haven't been renamed. The attached patch 'renaming_leftovers_2.6.patch' corrects this. I'm working on renaming markupbase in 2.6 as of now. Added file: http

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
New submission from Quentin Gallet-Gilles [EMAIL PROTECTED]: Before applying the attached patch, the command 'svn move Lib/markupbase.py Lib/_markupbase.py must be invoked. Little reminder : since the changes are already applied in the 3.0 codebase, the patch should also be blocked from

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10328/markupbase_import_fixer.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Updated patch : I forgot to add a check in test___all__ Added file: http://bugs.python.org/file10329/markupbase_renaming_2.6.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10327/markupbase_renaming_2.6.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Actually, the test___all__ check is an error since _markupbase has no __all__ attribute. I've restored the first version of the patch. Added file: http://bugs.python.org/file10330/markupbase_renaming_2.6.patch

[issue2861] Patch to rename markupbase to _markupbase

2008-05-15 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10329/markupbase_renaming_2.6.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2861

[issue2775] Implement PEP 3108

2008-05-14 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I'm working on renaming the ConfigParser module. -- nosy: +quentin.gallet-gilles __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775

[issue2769] Small typo in whatsnew/2.6.rst

2008-05-05 Thread Quentin Gallet-Gilles
New submission from Quentin Gallet-Gilles [EMAIL PROTECTED]: In the What's new documentation for 2.6, a code marker is missing in the paragraph about itertools.permutations. Attached patch corrects this. -- assignee: georg.brandl components: Documentation files: whatsnew_2.6.patch

[issue2479] Bytearray and io backport

2008-03-26 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I've just updated my trunk checkout on Ubuntu and run the regression test suite. All tests OK. -- nosy: +quentin.gallet-gilles __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2479

[issue2402] get rid of warnings in regrtest with -3

2008-03-26 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: -- nosy: +quentin.gallet-gilles __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2402 __ ___ Python-bugs-list mailing

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2008-03-25 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Didn't think a few days would translate into a month. My bad! Anyway, here's the promised patch. -- keywords: +patch Added file: http://bugs.python.org/file9848/cfgparser_comments.patch

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-03-25 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9217/cfgparser_doublequotes.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1714

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2008-02-26 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Okay, I'll upload a patch with unit tests and doc changes for the comment part in the next few days. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1524825

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-02-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Here's an updated patch, taking in account akuchling and schmir suggestions. -- keywords: +patch Added file: http://bugs.python.org/file9523/cfgparser_doublequotes_r61014.patch __ Tracker [EMAIL PROTECTED] http

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2008-02-23 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: I tried to come up with a patch, but the issue isn't as easy as it seems, the proposed change is too simplistic. Leading spaces in a line is already used for one purpose : continuations of a previous line. For instance : option = value continued here

[issue1146] TextWrap vs words 1-character shorter than the width

2008-01-19 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: As i revisited this one for the Bug Day, I found I could optimize the patch a little bit. Here's the updated diff. Also... I think it's a good candidate for 2.5 maintenance release. Any thoughts ? Added file: http://bugs.python.org/file9216

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-19 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Attached patch contain the added behavior, some unit tests to validate it and updated documentation. -- nosy: +quentin.gallet-gilles Added file: http://bugs.python.org/file9217/cfgparser_doublequotes.patch

[issue1671] World tool ported to py3k

2007-12-20 Thread Quentin Gallet-Gilles
New submission from Quentin Gallet-Gilles: The title says it all. I also updated the country codes and other TLDs as things have evolved a bit since 2002. -- components: Demos and Tools files: world_tool.patch messages: 58874 nosy: quentin.gallet-gilles severity: normal status: open

[issue1671] World tool ported to py3k

2007-12-20 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: You're welcome :-) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1671 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1671] World tool ported to py3k

2007-12-20 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: That was quick, thanks! I'll make sure to remember that sorted() and keys() aren't needed together. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1671

[issue1486] Idle tab command completion

2007-11-22 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Couldn't reproduce it either, with the following IDLE config: Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 IDLE 1.2.1 No Subprocess -- nosy: +quentin.gallet

[issue1437] List member inside a class is shared by all instances of the class

2007-11-13 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: That's the expected behavior, actually. The variables 'arr' and 's' are static variables in the class Blah. This is discussed in several places in the doc and the FAQ, e.g. http://www.python.org/doc/faq/programming/#how-do-i-create-static-class-data

[issue1127] No tests for inspect.getfullargspec()

2007-11-08 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Alright, thanks! __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1127 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1127] No tests for inspect.getfullargspec()

2007-09-22 Thread Quentin Gallet-Gilles
New submission from Quentin Gallet-Gilles: I created 4 tests, see attached 'test_getfullargspec.diff' patch. 2 tests verify that getargspec raises ValueError when trying to call it with the function containing keyword-only arguments or annotations. The 2 others call getfullargspec and check

[issue1146] TextWrap vs words 1-character shorter than the width

2007-09-14 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: The bug is present in trunk and has been there since rev 33955. This revision contained a fix to an infinite loop when indentation was set longer than width with long word breaking enabled. In that case, it would strip off at least one character on every

[issue1146] TextWrap vs words 1-character shorter than the width

2007-09-14 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: The previous patch is suboptimal and doesn't solve all cases. This one does. My apologies. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1146

[issue1146] TextWrap vs words 1-character shorter than the width

2007-09-14 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1146 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options