[issue5170] logging to file + encoding

2009-04-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Can you retry with setting the encoding attribute of the file to cp1251? That should work and that should be the appropriate method to avoid the problem. test_logging.py in the Python distribution has a test which exercises Unicode

[issue5756] idle pydoc et al removed from 3.1 without versioned replacements

2009-04-21 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Couldn't we just rename them in the repository? IIRC the name with a '3' suffix would be the official name for these tools in Python 3.x, which would make it more natural to change the name in the repository as well. I don't know

[issue5170] logging to file + encoding

2009-04-21 Thread shamilbi
shamilbi shami...@gmail.com added the comment: Can you retry with setting the encoding attribute of the file to cp1251? That should work and that should be the appropriate method to avoid the problem. test_logging.py in the Python distribution has a test which exercises Unicode

[issue672115] Assignment to __bases__ of direct object subclasses

2009-04-21 Thread Lars
Lars gemer...@gmail.com added the comment: in my project i need to be able to let the user dynamically make and remove inheritance relationships between classes and in my testing i think i have run into this issue assigning to __bases__. the class object(object): pass trick seems to work,

[issue5170] logging to file + encoding

2009-04-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Trunk and release26-maint were recently changed (r71657, r71658) to use the following logic, which differs from the code snippet you posted. if (isinstance(msg, unicode) and getattr(stream,

[issue5775] marshal.c needs to be checked for out of memory errors

2009-04-21 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Fixed in r71783. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5775 ___

[issue5796] test_posix, test_pty crash under Windows

2009-04-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Applied in r71785. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5796 ___ ___

[issue5805] Distutils (or py2exe) error with DistributionMetaData

2009-04-21 Thread Vah Rashim
New submission from Vah Rashim d233...@bsnow.net: I'find issue http://bugs.python.org/issue708320. It's closed, but in python 2.6 this problem are yet exists. I'm fix it, but don't know, is this good solution. quote this my message from above issue without changes^ I'm running py2exe on

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Dave Fliger
New submission from Dave Fliger plattecountydu...@yahoo.com: I recently (in the last 5 days) downloaded and installed Python 2.6.x. Upon startup of this machine I noticed a Windows warning that mysqld.exe could not start I really didn't pay attention to it until today since I had no plans

[issue5807] ConfigParser.RawConfigParser it's an old-style class

2009-04-21 Thread Vito De Tullio
New submission from Vito De Tullio vito.detul...@gmail.com: RawConfigParser does not inherit from object, so using (to make an example) super() it's impossible. Python 2.6 (r26:66714, Feb 3 2009, 20:52:03) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type help, copyright, credits or

[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Are these environment variables Python-specific? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5575 ___

[issue1590864] import deadlocks when using PyObjC threads

2009-04-21 Thread ayal baron
ayal baron ayal.ba...@rocketier.com added the comment: Hi, We have the same problem while running two threads where one is running a subprocess command and the other is importing modules. This will cause a deadlock and this IS a bug!!! This happens quite often on a slow machine (once every 2-3

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Do you have a patch? Also, detailed timing examples are welcome (you can e.g. use the timeit module from the command line). -- nosy: +pitrou versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2009-04-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: - normal stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5803 ___ ___

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2009-04-21 Thread Dave Baggett
Dave Baggett jyt...@baggett.org added the comment: I can certainly generate a patch for you. What form would you like it in, and against what source tree? Also, do you have a preference between the use of array.array vs. standard arrays? (I don't know whether it's good or bad to depend on import

[issue5761] add file name to py3k IO objects repr()

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Benjamin, do you think it can still be added after beta1? (I ask that in case noone does it before) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5761

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch must be against the SVN trunk, in standard unified diff (svn diff does the trick). What do you call standard arrays? Do you mean the builtin list type? Storing one separate character per list element is a poor choice because it will

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2009-04-21 Thread Dave Baggett
Dave Baggett jyt...@baggett.org added the comment: Yes, sorry, I meant built-in list type not array. Your point about using lists this way is valid, and is why I used array.array('c'). I will do as you suggest and try all three methods. I did time the array.array approach vs. the one currently

[issue5804] Add a tail argument to zlib.decompress

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: As usual the patch should come with some unit tests. Also, it seems you don't test the return value of PyString_FromStringAndSize before building your tuple. -- nosy: +pitrou priority: - normal stage: - patch review versions: +Python

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Lawrence Allan Jones
New submission from Lawrence Allan Jones mrwizard8...@earthlink.net: When attempting to use the subprocess.getstatusoutput() function on Windows, I noticed an unusual error message: '{' is not recognized as an internal or external command, operable program or batch file. When the output

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Lawrence Allan Jones
Lawrence Allan Jones mrwizard8...@earthlink.net added the comment: Oops: user error. The manual states that subprocess.getstatusoutput() is only open under Unix. Somehow :) I missed this note. Sorry for wasting bandwidth. -- status: open - closed

[issue5804] Add a tail argument to zlib.decompress

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It is not necessary to test the return value, it is done by Py_BuildValue(). Sorry, it's ok then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5804

[issue5809] No such file or directory with framework build under MacOS 10.4.11

2009-04-21 Thread Michael J. Fromberger
New submission from Michael J. Fromberger michael.j.fromber...@gmail.com: Checkout: http://svn.python.org/projects/python/tags/r262 Configure: env CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib sh ./configure --enable-framework --enable-shared --enable-readline Build: make The

[issue5809] No such file or directory with framework build under MacOS 10.4.11

2009-04-21 Thread Michael J. Fromberger
Michael J. Fromberger michael.j.fromber...@gmail.com added the comment: Sorry, I managed to not copy the error message. It is: i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.6/Python: No such file or directory make: *** [python.exe] Error 1 --

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Python doesn't care about mysql. You can use a third party library to talk to mysql from python, but only if you install that third party library. Otherwise, python isn't even aware of whether or not mysql is installed. So whatever the

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Dave Fliger
Dave Fliger plattecountydu...@yahoo.com added the comment: Thanks for the response. I wasn't sure what the deal was, and sort of intuitively knew it wasn't the problem. I wouldn't have mentioned it with the exception that uninstalling solved the problem. That's a bit odd, don't you think?  

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, you mentioned that you also added something to your startup...so it wasn't _only_ uninstalling python. That's why I suggested resinstalling it and seeing if things broke again...and then if it did getting help to track down why,

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Dave Fliger
Dave Fliger plattecountydu...@yahoo.com added the comment: Thank you, sir. I'll try that later in the day. I just don't want to break what I have. I'm eager to look under the hood of Python.   Dave Fliger Webmaster Rogers Sporting Goods 1760 N. Church Road Liberty, MO 64068 (816) 781 9026  

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-04-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5786 ___

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-04-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Essentially, the only argument for reverting this is breaking compatibility with 2.6.0 and 2.6.1. But, in the process, reverting it means breaking compatibility with 2.6.2. Since the cat is already out of the bag for 2.6.2,

[issue5761] add file name to py3k IO objects repr()

2009-04-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2009/4/21 Antoine Pitrou rep...@bugs.python.org: Antoine Pitrou pit...@free.fr added the comment: Benjamin, do you think it can still be added after beta1? (I ask that in case noone does it before) Yes, I think that would be ok.

[issue5807] ConfigParser.RawConfigParser it's an old-style class

2009-04-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Changing it would break compatibility. -- nosy: +benjamin.peterson resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5807

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-04-21 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: If 2.6.3 isn't imminent, I agree this change should be left in place. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5786 ___

[issue5757] Documentation error for Condition.notify()

2009-04-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r71786. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5757 ___

[issue5751] Typo in documentation of print function parameters

2009-04-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r71787. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5751 ___

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5808 ___ ___

[issue5434] datetime.monthdelta

2009-04-21 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___ ___ Python-bugs-list

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-04-21 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Thanks, Terry. Your changes look reasonable to me. Can you commit them, or at least convert it to a patch against the existing docs? -- ___ Python tracker rep...@bugs.python.org

[issue5805] Distutils (or py2exe) error with DistributionMetaData

2009-04-21 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The bug report was closed here because it is not a bug in Python, but in py2exe, which is independent of Python. Please report it to the py2exe maintainers. Closing this one as well. -- nosy: +loewis resolution: - invalid status:

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Removed file: http://bugs.python.org/file13730/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5806 ___

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Removed file: http://bugs.python.org/file13731/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5806 ___

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As David says: Python has no business with mysql. If they interfere, it could be because of a bug in Python, or because of a bug in mysql, or because of a bug in Windows, or because of a plain misconfiguration on your side. So unless you can

[issue5806] MySQL crash on machine startup....

2009-04-21 Thread Dave Fliger
Dave Fliger plattecountydu...@yahoo.com added the comment: True enough, my friend. I really didn't know if it had been reported before. If I go over the sequence of events tat I performed here on this machine, then my only conclusion was the installation of Python because everything worked

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-04-21 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I am not a committer and cannot make patches. However, I did download http://svn.python.org/view/python/trunk/Doc/library/string.rst?revision=70650view=markup, as string27.txt, carefully edit using the existing rst format, and upload. I trust

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-04-21 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: PS. I first edited http://svn.python.org/view/python/branches/py3k/Doc/library/strings.rst?revision=63803view=markup but then noticed that this goes in 2.7. My impression is that the procedure is to commit to trunk and then forward port, so I

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-04-21 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Thanks, Terry. I think the only changes I'll make are: arg_name: (`identifier` | `integer`)* should be: arg_name: (`identifier` | `integer`)? And leave: conversion: r | s instead of: conversion: r | s | a because 'a' isn't valid in 2.7.

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-04-21 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Documentation changes checked into trunk in r71788 and py3k in r71790. Issue closed. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5237

[issue5797] there is en exception om Create User page

2009-04-21 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Which Create User page? What is the error you get, where and how does it happen? -- nosy: +ajaksu2 type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5797

[issue5753] CVE-2008-5983 python: untrusted python modules search path

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - critical stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5753 ___

[issue5727] doctest pdb readline broken

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5727 ___

[issue1540112] Allow choice of copy function in shutil.copytree

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1540112 ___ ___ Python-bugs-list

[issue5800] make wsgiref.headers.Headers accept empty constructor

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800 ___ ___

[issue5754] Shelve module writeback parameter does not act as advertised

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5754 ___ ___

[issue5789] powerset recipe listed twice in itertools docs

2009-04-21 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Clear Bug Day candidate, but I just can't see the duplication :) -- keywords: +easy nosy: +ajaksu2 type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5789

[issue5752] xml.dom.minidom does not handle newline characters in attribute values

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - test needed versions: -Python 2.4, Python 2.5, Python 2.7, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5752

[issue1752919] Exception in HTMLParser for special JavaScript code

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1752919 ___ ___ Python-bugs-list

[issue1672568] silent error in email.message.Message.get_payload

2009-04-21 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Looks good to me, adding tests and docs could be a nice Bug Day task. -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1672568

[issue1745761] Bad attributes/data handling in SGMLib

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745761 ___ ___ Python-bugs-list

[issue1738179] help() can't find right source file

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1738179 ___ ___ Python-bugs-list

[issue809887] Improve pdb breakpoint feedback

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue809887 ___ ___ Python-bugs-list mailing

[issue5650] Obsolete RFC's should be removed from doc of urllib.urlparse

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - needs patch type: - behavior versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5650 ___

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1711605 ___ ___ Python-bugs-list

[issue1284670] Allow to restrict ModuleFinder to get direct dependencies

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1284670 ___ ___ Python-bugs-list

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1721862 ___ ___ Python-bugs-list

[issue1681333] email.header unicode fix

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1681333 ___ ___ Python-bugs-list

[issue1560032] confusing error msg from random.randint

2009-04-21 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Don't worry :) Tagging as a Bug Day candidate. -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1560032 ___

[issue1076515] shutil.move clobbers read-only files.

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1076515 ___ ___ Python-bugs-list

[issue1648102] proxy_bypass in urllib handling of local macro

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1648102 ___ ___ Python-bugs-list

[issue1726208] SimpleHTTPServer extensions_map

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1726208 ___ ___ Python-bugs-list

[issue1515142] sgmllib should recover from unmatched quotes

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy, patch stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1515142 ___

[issue1553375] Add traceback.print_full_exception()

2009-04-21 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1553375 ___ ___ Python-bugs-list

[issue5789] powerset recipe listed twice in itertools docs

2009-04-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Already fixed. -- nosy: +rhettinger resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5789