[issue5689] please support lzma compression as an extension and in the tarfile module

2009-04-20 Thread Koen van de Sande
Koen van de Sande k...@tibed.net added the comment: The LZMA implementation from 7-zip has been released as public domain (since version 4.62 / Nov 2008) in the LZMA SDK: http://www.7-zip.org/ sdk.html So, there shouldn't be a license issue for Windows. I am not sure if there are already

[issue5170] logging to file + encoding

2009-04-20 Thread shamilbi
shamilbi shami...@gmail.com added the comment: (python 2.6.2, WinXP) logging to console stopped working. Here is a workaround: logging/__init__.py: class StreamHandler(Handler): ... def emit(self, record): ... if (isinstance(msg, unicode) or

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

2009-04-20 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: wsgiref.headers.Headers will let you manage a collection of HTTP response headers, but the constructor forces you to provide a list: from wsgiref.headers import Headers headers = Headers([]) headers.add_header('Content-Type',

[issue5801] spurious empty lines in wsgiref code

2009-04-20 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: the wsgiref package is hard to read, there are blocs of empty lines. Can I pep8-fy it ? -- components: Library (Lib) messages: 86200 nosy: pje, tarek severity: normal status: open title: spurious empty lines in wsgiref code

[issue5802] The security descriptors of python binaries in Windows are not strict enough

2009-04-20 Thread Hong Chen
New submission from Hong Chen cn.hongc...@gmail.com: The security descriptors of python binaries (like python.exe, pythonw.exe, etc) allow any Authenticated Users to modify these binaries. This may cause a privilege-escalation problem since administrators may use python binaries when performing

[issue5790] itertools.izip python code has a typo

2009-04-20 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Thanks for the report. Fixed in r71770 and r71771. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5790

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

2009-04-20 Thread Dave Baggett
New submission from Dave Baggett jyt...@baggett.org: The implementation of encode and decode are slow, and scale nonlinearly in the size of the message to be encoded/decoded. A simple fix is to use an array.array('c') and append to it, rather than using string concatenation. This change makes

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

2009-04-20 Thread Dave Baggett
Changes by Dave Baggett jyt...@baggett.org: -- type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5803 ___ ___ Python-bugs-list

[issue3720] segfault in for loop with evil iterator

2009-04-20 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I'm okay with that hack for 2.6 and 2.5. -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3720 ___

[issue5689] please support lzma compression as an extension and in the tarfile module

2009-04-20 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The LZMA implementation from 7-zip has been released as public domain (since version 4.62 / Nov 2008) in the LZMA SDK: http://www.7-zip.org/ sdk.html That's good news. Now, if somebody could contribute a Python wrapper for these... So,

[issue3166] Make conversions from long to float correctly rounded.

2009-04-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: (Slightly updated version of) patch applied in r71772 (trunk), r71773 (py3k). -- resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think idle should be updated to look for the correct file name. -- assignee: benjamin.peterson - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5783

[issue5692] test_zipfile fails under Windows

2009-04-20 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: You should probably just add a check that the path isn't in the root to that condition. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5692

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Maybe the functions in Doc/tools/sphinxext/patchlevel.py should be moved to somewhere else then ? IDLE could use them. -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Maybe the functions in Doc/tools/sphinxext/patchlevel.py should be moved to somewhere else then ? IDLE could use them. No. IDLE shouldn't parse the version out of the header file, but instead use sys.version_info to compute the file name,

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Fine, Martin. Patch attached for idle only. -- keywords: +patch Added file: http://bugs.python.org/file13724/issue_5783.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5783

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

2009-04-20 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think the scripts should just get a 3 appended to them in installation. Unless distutils provides an easy way to do this, a patch should probably just rename the scripts before installing them. -- nosy: +tarek

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

2009-04-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5756 ___ ___

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

2009-04-20 Thread Ilya Sandler
Ilya Sandler isand...@users.sourceforge.net added the comment: I think this would be useful for anyone who builds cpython on a non-mainstream platform. I know this would have been useful for me when I tried to build cpython on an older linux distro where libs were installed in a non-std

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

2009-04-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Suggested doc change for LibRef / StringServices / string / Format String Syntax 1. In the grammar box, replace the field_name line with field_name ::= arg_name (. attribute_name | [ element_index ])* arg_name ::= (identifier |

[issue5796] test_posix, test_pty crash under Windows

2009-04-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Patch attached. Can you test this for me or should I apply it and wait to see if the buildbot passes? -- keywords: +patch stage: needs patch - patch review type: crash - behavior Added file:

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser k...@shore.net: -- assignee: - kbk nosy: +kbk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5783 ___ ___

[issue3584] Exception for test_urllib2_localnet

2009-04-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: test_urllib2_localnet works for me if something is running on port 8080 on python 2.6. Since python 2.5 is in security-fix-only mode, this bug report is out of date. -- nosy: +r.david.murray priority: - low resolution: - out of

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Fragile solution, but it works. IMO, it's a better design to just have the file named Python26.chm like it always used to be done. Now, we've duplicated someones arbitrary logic (ignoring sys.version_info.serial and special

[issue5796] test_posix, test_pty crash under Windows

2009-04-20 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think you should apply it. You can always change it if it doesn't work. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5796

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Fragile solution, but it works. IMO, it's a better design to just have the file named Python26.chm like it always used to be done. That was also fragile, as this bug report demonstrates. It broke when sphinx decided to put more version

[issue918368] urllib doesn't correct server returned urls

2009-04-20 Thread Senthil
Senthil orsent...@gmail.com added the comment: Fixed this in the revision 71780 for Python 2.7. -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue918368 ___

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2009-04-20 Thread Husen daudi
Husen daudi h...@openerp.co.in added the comment: I have solved this error, My tag has None value for one attribute. But python should check for None value in _write_data function. -- ___ Python tracker rep...@bugs.python.org

<    1   2   3