[issue3574] compile() cannot decode Latin-1 source encodings

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch looks fine to me, please apply. I notice that the diff file reports changes to test_pep3120.py. No such changes should be necessary, so please exclude them from committing. -- assignee: loewis - brett.cannon keywords:

[issue957650] Fix for bugs relating to ntpath.expanduser()

2008-10-15 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- assignee: loewis - priority: high - normal resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue957650 ___

[issue3725] telnetlib module broken by str to unicode conversion

2008-10-15 Thread Dmitry Vasiliev
Dmitry Vasiliev [EMAIL PROTECTED] added the comment: The patch is good. It's exactly what I told about in msg72132. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3725 ___

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2008-10-15 Thread Jakob Schiøtz
Jakob Schiøtz [EMAIL PROTECTED] added the comment: Don't get me wrong: I am not complaining about the code breakage, it is unavoidable as long as Python is a developing language. As you say I can use newer versions of at least some of the modules. I just think it would be nice for developers

[issue3905] subprocess failing in GUI applications on Windows

2008-10-15 Thread Weird
Weird [EMAIL PROTECTED] added the comment: Georg Brandl thank you, i was having the same problem, but now is fixed -- nosy: +Weird ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3905 ___

[issue4036] Support bytes for subprocess.Popen()

2008-10-15 Thread Toshio Kuratomi
Changes by Toshio Kuratomi [EMAIL PROTECTED]: -- nosy: +a.badger ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4036 ___ ___ Python-bugs-list mailing

[issue4126] remove not decodable environment variables

2008-10-15 Thread Toshio Kuratomi
Toshio Kuratomi [EMAIL PROTECTED] added the comment: About your subprocess example: we choose to refuse it because we don't mix bytes (your non decodable PATH) and unicode ('myapp.sh') If python3 is doing things right we shouldn't be mixing bytes and unicode here: 1) the programmer is only

[issue4128] Performance regression in long division in 2.6

2008-10-15 Thread Fredrik Johansson
Fredrik Johansson [EMAIL PROTECTED] added the comment: The speed difference comes from different compiler options. I figured as much. I'm using the binaries from python.org (see the .txt file; it includes version headers). The question is why the compilation changes for 2.6 slowed down

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2008-10-15 Thread Jakob Schiøtz
New submission from Jakob Schiøtz [EMAIL PROTECTED]: In general, the Python C/API manual is very careful to document when changes have occurred in the API, this is really useful information when writing portable extension modules to be used with different Python versions. However, there is a

[issue4043] Warnings in IDLE raise TypeError (such as attempting to import deprecated modules)

2008-10-15 Thread Russell Blau
Russell Blau [EMAIL PROTECTED] added the comment: This error is caused by line 27 in run.py: def idle_formatwarning_subproc(message, category, filename, lineno): needs to be changed to -- def idle_formatwarning_subproc(message, category, filename, lineno, line=None): so that the

[issue3574] compile() cannot decode Latin-1 source encodings

2008-10-15 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On Tue, Oct 14, 2008 at 11:05 PM, Martin v. Löwis [EMAIL PROTECTED] wrote: Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch looks fine to me, please apply. Great! I notice that the diff file reports changes to

[issue4128] Performance regression in long division in 2.6

2008-10-15 Thread Fredrik Johansson
New submission from Fredrik Johansson [EMAIL PROTECTED]: On my laptop (Windows XP, 32-bit), long division is about 15% slower in 2.6 compared to 2.5. See the attached .txt for timings. I noticed this when comparing the unit tests for mpmath (http://code.google.com/p/mpmath/) under 2.5 and 2.6.

[issue4027] wrong page index number in reference book of python documentation

2008-10-15 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: We are all volunteers here, and I see three replies. This may or may not be trivial to fix, and may take some time. Python docs are written in rst format and translated by Sphinx to various formats. The main translation is to html, as viewed

[issue3909] Building PDF documentation from tex files

2008-10-15 Thread Sergey Lipnevich
Sergey Lipnevich [EMAIL PROTECTED] added the comment: I don't know what the proper procedure is (reopening or filing a new ticket), but I see this problem with Sphinx 0.5dev-20081015 and Python 2.6 on Windows XP. The change recommended by Winfried in msg73874 seems to fix it (patch attached

[issue4027] wrong page index number in reference book of python documentation

2008-10-15 Thread Ray Wang
Ray Wang [EMAIL PROTECTED] added the comment: any feedback here? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027 ___ ___ Python-bugs-list mailing list

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2008-10-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I think the Py_ssize_t change is clearly documented in the What's new document: http://docs.python.org/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type This paragraph also links to:

[issue4128] Performance regression in long division in 2.6

2008-10-15 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: The source code is unchanged except the format functions (binary and octal bases with the new prefixes: 0b, 0o). The speed difference comes from different compiler options. - (Ubuntu Gutsy) python2.5: 1010 ms - python trunk: 1010 ms -

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I don't think that we will change the 2.5 manuals anymore; Python 2.5 is about to see its last bug-fix release. For 2.6, I suppose contributions would be welcome. -- nosy: +loewis ___ Python

[issue3574] compile() cannot decode Latin-1 source encodings

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I added a test for compile() in there, which is why the patch is claiming that. There is an uploaded version of test_pep3120.py on the issue. Ah, ok. I missed that - that change is also fine. ___ Python

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2008-10-15 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Note that the code on wwwsearch.sf.net only reads cookies, and does not write them. Also, the approach used is fragile to changes to MS's index.dat database, which was the reason why that code was not included when cookielib was added. As far as

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2008-10-15 Thread jared jennings
New submission from jared jennings [EMAIL PROTECTED]: If the Intel 9.1 compilers are used to compile Python 2.6, the following compiler error results: /mnt/gpfs/usrpeople/jenninjl/Python-2.6-intel/Modules/_ctypes/libffi/src/x86/ffi64.c(43): error: identifier __int128_t is undefined

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Why are you reporting this as a bug in Python? Isn't it rather a bug in icc? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4130

[issue3725] telnetlib module broken by str to unicode conversion

2008-10-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66904. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3725 ___

[issue1570255] redirected cookies

2008-10-15 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Sorry I turned up rather late here (is there a way to subscribe to changes to all bugs whose comments or title contain a given string?) If it works with Firefox and not with cookielib it's almost certainly a bug. However, it's not clear to me

[issue4049] IDLE does not open at all

2008-10-15 Thread Chris Ozeroff
Chris Ozeroff [EMAIL PROTECTED] added the comment: This bug does not just affect Vista. I am running Windows XP Professional x64 and encountered the same problem. Everything appeared to go fine on the installation, but then IDLE just refuses to run, nothing appears in the task manager, no

[issue4043] Warnings in IDLE raise TypeError (such as attempting to import deprecated modules)

2008-10-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66905. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4043

[issue4049] IDLE does not open at all

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I am running Windows XP Professional x64 and encountered the same problem. Everything appeared to go fine on the installation, but then IDLE just refuses to run, nothing appears in the task manager, no errors, nothing. Command line still

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-10-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: If you'd like, I can add support for skipping backup files to 2to3. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4073

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-10-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: If you'd like, I can add support for skipping backup files to 2to3. That would be useful, I think. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4073

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2008-10-15 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: I think firefox 3 no longer writes cookies.txt (it writes cookies.sqlite instead). Can anybody point out a version of firefox that wrote this HttpOnly information to cookies.txt, so the patch can be tested? ___

[issue4131] Note that Firefox 3 does not write cookies.txt

2008-10-15 Thread John J Lee
New submission from John J Lee [EMAIL PROTECTED]: Just adds a note to the cookielib documentation to point out that Firefox 3 no longer writes cookies.txt, the file format understood by cookielib.MozillaCookieJar (firefox now maintains persistent cookie state in an sqlite database). --

[issue3704] cookielib doesn't handle URLs with / in parameters

2008-10-15 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Do we have an RFC 3986 URI parser in the stdlib now? It would be better to use that if so, but I don't see one. Failing that, an implementation of the relevant part of that RFC is only about four lines of code, so that would be better than

[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead

2008-10-15 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: The sensible fix for this is to strip the quotes off, defaulting to version 0 on failure to parse the version cookie-attribute. It's not necessary to retain the original version string. By the way, what you posted warning rather than a strictly

[issue4027] wrong page index number in reference book of python documentation

2008-10-15 Thread Ray Wang
Ray Wang [EMAIL PROTECTED] added the comment: We are all volunteers here, and I see three replies. This may or may not be trivial to fix, and may take some time. Python docs are written in rst format and translated by Sphinx to various formats. The main translation is to html, as viewed on

[issue3704] cookielib doesn't handle URLs with / in parameters

2008-10-15 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: John, issue3647 tries relative url parsing and joins to be RFC3986 compliance. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3704 ___