[issue3262] re.split doesn't split with zero-width regex

2008-07-07 Thread Filip Salomonsson
Changes by Filip Salomonsson [EMAIL PROTECTED]: -- nosy: +filip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3262 ___ ___ Python-bugs-list mailing

[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

2008-07-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: It seems that mingw is unable to compile the simplest program containing a call to localtime(): $ echo #include time.h int main() { localtime(NULL); } t.c $ gcc -mno-cygwin t.c -lmsvcr90 Then starting a.exe displays a modal box with

[issue3221] SystemError: Parent module 'foo' not loaded on import statement

2008-07-07 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Bumped priority - an existing module shouldn't crash in 2.6 just because we started using __package__ as part of the import mechanism and that module happens to already set an attribute by that name. -- priority: - release blocker

[issue2517] Error when printing an exception containing a Unicode string

2008-07-07 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Adding this to my personal to-do list for the next beta release. -- assignee: georg.brandl - ncoghlan priority: normal - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2517

[issue3221] SystemError: Parent module 'foo' not loaded on import statement

2008-07-07 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Adding to my personal to-do list for next beta. -- assignee: twouters - ncoghlan ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3221 ___

[issue643841] New class special method lookup change

2008-07-07 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: The outcome of discussion of this issue on python-dev was that the lookup methodology for the special methods needs to be better documented, especially for those cases where the instance *must* be bypassed in order to avoid metaclass confusion

[issue643841] New class special method lookup change

2008-07-07 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue643841 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3312] bugs in _sqlite module

2008-07-07 Thread STINNER Victor
New submission from STINNER Victor [EMAIL PROTECTED]: (A) module_register_adapter() doesn't check microprotocols_add() result, whereas it can fails (eg. dict setitem error). Example: import _sqlite3; _sqlite3.register_adapter({}, None) = should raise a TypeError (unhashable type: 'dict').

[issue3313] dlopen() error with no error message from dlerror()

2008-07-07 Thread STINNER Victor
New submission from STINNER Victor [EMAIL PROTECTED]: Python dl_open() function (from dl module) calls dlopen() and check its result: if it's NULL, it's an error. This is correct if I read the man page. But with an invalid flag value (-1), dlopen() returns NULL but dlerror() also gives a NULL

[issue3315] abc.rst little error

2008-07-07 Thread Andrii V. Mishkovskyi
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]: 'make html' with latest py3k sources produces this warning: WARNING: /home/mishok/doc/python/abc-doc-bug/Doc/library/abc.rst:11: term not in glossary: abstract base classes I've applied little patch that fixes this. --

[issue3306] audioop.findmax() crashs with negative length

2008-07-07 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Commited in r64775. Thank you very much!! -- nosy: +facundobatista resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3306

[issue3314] urllib.parse doesn't import sys

2008-07-07 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Commited in r64781, thank you!! -- nosy: +facundobatista resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3314

[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

2008-07-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: BTW did you notice msg69367 and the attached file that shows the problem in a trivial test case? I didn't understand it, so I ignored it. What use of localtime, by whom, what tools? The mentioning of localtime seems to come out of nowhere.

[issue3316] Proposal for fix_urllib

2008-07-07 Thread Nick Edds
New submission from Nick Edds [EMAIL PROTECTED]: Here is my proposed fix_urllib. The transform function is massive because there are a lot of cases, so maybe I should break it into separate functions for each case, and it could maybe do with some more documentation as well. I also use FromImport

[issue1857] subprocess.Popen.poll/__del__ API breakage

2008-07-07 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- assignee: - gregory.p.smith keywords: +patch nosy: +gregory.p.smith ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1857 ___

[issue1606] Doc: subprocess wait() may lead to dead lock

2008-07-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: i'll come up with something for the documentation on this. -- assignee: - gregory.p.smith nosy: +gregory.p.smith resolution: - accepted type: - behavior ___ Python tracker [EMAIL PROTECTED]

[issue1068268] subprocess is not EINTR-safe

2008-07-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: fyi - To fix issue #2113 I added handling of a select.error errno.EINTR being raised during the select.select call in r64756. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1068268

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]: Since r64688, zipfile.py contains duplicated definitions. The attached patch removes them. Also, Twisted uses a zipfile item that have been renamed by this change: zipfile.stringFileHeader (now magicFileHeader). This makes some tests

[issue3316] Proposal for fix_urllib

2008-07-07 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: I broke up transform into the logical pieces of it, so I think now the code is a little bit more clear. Added file: http://bugs.python.org/file10846/fix_urllib.diff ___ Python tracker [EMAIL PROTECTED]

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Alan, what do you think? -- nosy: +alanmcintyre ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3317 ___

[issue3256] Multiprocessing docs are not 3.0-ready

2008-07-07 Thread Andrii V. Mishkovskyi
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment: So, after 5 days of silence I present my current status on the patch. This patch fixes Doc/includes/mp_*.py examples, except for the fact that I couldn't make mp_distributing.py work, but I'm still working on this issue. --

[issue3256] Multiprocessing docs are not 3.0-ready

2008-07-07 Thread Andrii V. Mishkovskyi
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment: And this patch is for Doc/library/multiprocessing.rst. Still, there are lot of issues, and as you none of you (Jesse or Richard) answered my email, I'll post them tomorrow here. Right now, the patch. :) Added file:

[issue3256] Multiprocessing docs are not 3.0-ready

2008-07-07 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Thanks - sorry I didn't reply to the mail yet, had to deal with some other stuff first, I should be freed up tonight ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3256

[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

2008-07-07 Thread Roger Binns
Roger Binns [EMAIL PROTECTED] added the comment: I will ask on the MinGW lists. I am still curious as to how MinGW is supposed to know which MSVC library will be used at compile time since distutils doesn't tell it until link time. As a seperate issue Python isn't too helpful when an extension

[issue3318] Documentation: timeit: lower bound should read upper bound

2008-07-07 Thread unutbu
New submission from unutbu [EMAIL PROTECTED]: Re: http://docs.python.org/lib/module-timeit.html Where the documentation says In a typical case, the lowest value gives a lower bound for how fast your machine can run the given code snippet, it should read instead, In a typical case, the lowest

[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

2008-07-07 Thread Roger Binns
Roger Binns [EMAIL PROTECTED] added the comment: I guess you can close this now. Unfortunately SourceForge goes out of its way to not make an easy link for the MinGW mailing list but you can see the messages on 8th July 2008:

[issue3262] re.split doesn't split with zero-width regex

2008-07-07 Thread Mike Coleman
Changes by Mike Coleman [EMAIL PROTECTED]: -- nosy: +mkc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3262 ___ ___ Python-bugs-list mailing list

[issue3315] abc.rst little error

2008-07-07 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: This is fixed on the trunk, and should be merged into Py3k shortly. -- nosy: +benjamin.peterson resolution: - later status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3262] re.split doesn't split with zero-width regex

2008-07-07 Thread Mike Coleman
Mike Coleman [EMAIL PROTECTED] added the comment: I don't want to discourage you, but #852532, which is essentially the same bug report, was closed--without explanation--as 'wont fix' in April, after four-plus years. I wish you good luck--this is an important and irritating bug, in my

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Alan McIntyre
Alan McIntyre [EMAIL PROTECTED] added the comment: I don't see a patch attached, but the duplicated code does need removing. If you can attach a patch I'll try it out. As much as I dislike the string names (magicXXX seemed much more descriptive), I suppose they're publicly available and

[issue2275] urllib2 header capitalization

2008-07-07 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Please have a look at this patch. - Included a CaseInsensitiveDict Lookup for Headers interface. - Headers will now be .title()-ed instead of .capitalized() ed. - Included Tests for the changes made. In the test_urllib2, I have not removed this line

[issue2916] urlgrabber.grabber calls setdefaulttimeout

2008-07-07 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: This bug is not related to Python Stdlib. There isn't a module by name urlgrabber in Python Stdlib and the author is referring to http://linux.duke.edu/projects/urlgrabber/help/urlgrabber.grabber.html Author should move his suggestion to urlgrabber

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-07-07 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Senthil, could you handle this? Sure, I shall take this up, Facundo. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152 ___

[issue3045] Windows online help broken when spaces in TEMP environ

2008-07-07 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: This is a really quick fix. Someone with tracker admin access can apply the patches and close this. [Applies to py26 and py3k] -- keywords: +patch versions: +Python 2.6, Python 3.0 -Python 2.5 Added file:

[issue3045] Windows online help broken when spaces in TEMP environ

2008-07-07 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10851/issue3045-py3k.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3045 ___

[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

2008-07-07 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- resolution: - wont fix status: open - closed versions: +3rd party ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3308 ___

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-07-07 Thread Ismail Donmez
Ismail Donmez [EMAIL PROTECTED] added the comment: I managed to hang on Ubuntu, here is the backtrace that I got with CTRL-C: Process PoolWorker-5:1: Traceback (most recent call last): File /home/cartman/Sources/py3k/Lib/multiprocessing/process.py, line 232, in _bootstrap test_bsddb