[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-02-29 Thread Thomas Herve
Thomas Herve added the comment: Is there a chance for this go in the first alpha? FWIW, I've tested it with twisted kqueue and epoll reactors, and didn't get any problems. There are still 2 typos in the patch: KQ_ADD is used 2 times in the docs instead of KQ_EV_ADD. Everything else looks good

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-02-29 Thread Christian Heimes
Christian Heimes added the comment: I love to get it into the next alpha but I don't have time to today. Can you take it to the mailing list and ask somebody to review and submit the patch? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657

[issue2207] Bug in Sphinx highlighting when pygments not available

2008-02-29 Thread Tim Golden
New submission from Tim Golden: When pygments is not available to the sphinx build environment, the PygmentsBridge in the highlighting.py module raises an exception in the unhighlighted function. This function attempts to use the .dest attribute which isn't set in the __init__ if the pygments

[issue2209] mailbox module doesn't support compressed mbox

2008-02-29 Thread Jürgen A. Erhard
New submission from Jürgen A. Erhard: (Not sure if this goes here) The mbox class (actually, the _singlefileMailbox class) takes a path, and not, as the old mailbox module did, an opened file object. This makes it hard(er) to access gzipped mbox files (mailbox.open = gzip.open works, but is

[issue2208] Patch to doc/make.bat to allow non-standard HTML Help location

2008-02-29 Thread Tim Golden
New submission from Tim Golden: The doc/make.bat file for building the docs under Windows assumes the standard location for the HTML Help Workshop. The attached patch looks for an env var called HTMLHELP and uses that if it's set, falling back to the standard location. -- components:

[issue2208] Patch to doc/make.bat to allow non-standard HTML Help location

2008-02-29 Thread Tim Golden
Tim Golden added the comment: Corrected patch which replaces the @echo off at the top of the file. Added file: http://bugs.python.org/file9573/doc-make-r61125.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2208 __

[issue1152248] Enhance file.readlines by making line separator selectable

2008-02-29 Thread Nick Coghlan
Nick Coghlan added the comment: The mail.python.org link I posted previously is broken. Here's an updated link to the relevant c.l.p. thread: http://mail.python.org/pipermail/python-list/2005-February/310020.html From my point of view, I still think it's an excellent idea and would be happy to

[issue2210] Nested module import clutters package namespace

2008-02-29 Thread Rüdiger Kupper
New submission from Rüdiger Kupper: When one module of a package imports another module of the same package, the second module will not only be introduced in the namespace of the importing module, but also in the namespace of the enclosing package. I.e., the module will be introduced as variable

[issue1569] Add VS CRT redist to the MSI installer

2008-02-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven added the comment: Hi Martin, yes, that's exactly what I am saying actually. :) This is the resulting file I created: Python26.msi Right now it only installs into C:\Python26 and puts python.exe, pythonw.exe and python26.dll there, but it is a start. In

[issue2196] Fix hasattr's exception problems

2008-02-29 Thread Georg Brandl
Georg Brandl added the comment: Please reformat your patch using tabs. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2196 __ ___

[issue2206] critical memory leak in hashlib.md5

2008-02-29 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: - invalid status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2206 __ ___ Python-bugs-list mailing list

[issue2204] document ConfigParser behaviour when a file has same section multiple times

2008-02-29 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: Should this 'undesirable' behavior be documented? My thoughts are Document should definitely reflect the code whether the behaviour is desirable or not. a) All the key,value pairs in the named section be retrived from entire file. Just appending

[issue2205] os.times() returns incorrect value

2008-02-29 Thread Georg Brandl
Georg Brandl added the comment: Isn't that tracked in #1040026? -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2205 __ ___ Python-bugs-list

[issue1569] Add VS CRT redist to the MSI installer

2008-02-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: Ok, I never doubted VS can do merge modules (what else if not VS could do so?). What I'm still questioning that it is possible to do a full Python installer as a VS setup project. I personally don't think it's even worth the effort to try, but I might be wrong.

[issue2207] Bug in Sphinx highlighting when pygments not available

2008-02-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r61134. -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2207 __

[issue2208] Patch to doc/make.bat to allow non-standard HTML Help location

2008-02-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r61135. -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2208 __

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2008-02-29 Thread Jamie Bliss
New submission from Jamie Bliss: The primary offender is in BaseCookie.load(), which uses the test: type(rawdata) == type() which should be: isinstance(rawdata, basestring) -- components: Library (Lib) messages: 63145 nosy: astronouth7303 severity: normal status: open title:

[issue1766304] improve xrange.__contains__

2008-02-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here are my comments on the py3k patch: 1. Sign of a PyLong object o is the same as the sign of Py_SIZE(o). I would think it is safe to use this fact within python core. (User code that may need to work across multiple versions of python may need to

[issue2196] Fix hasattr's exception problems

2008-02-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: After looking more closely, I saw that this is documented at http://www.python.org/dev/patches/style/. So the C uses tabs, and the Python uses spaces? Added file: http://bugs.python.org/file9576/hasattr_fixes-good-indentation.diff

[issue2199] cPickle error with gtk GEnum classes

2008-02-29 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Please close this issue. It is a PyGObject bug, nothing to do with Python: http://bugzilla.gnome.org/show_bug.cgi?id=519645 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2199 __

[issue2199] cPickle error with gtk GEnum classes

2008-02-29 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- resolution: - invalid status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2199 __ ___ Python-bugs-list mailing list

[issue2211] Cookie.Morsel interface needs update

2008-02-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: Would you be interested to work on a patch? -- nosy: +loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2211 __ ___

[issue2195] urlparse() does not handle URLs with port numbers properly

2008-02-29 Thread Gawain Bolton
Gawain Bolton added the comment: On the contrary, RFC 1738 does mention the port number in section 3.1. Common Internet Scheme Syntax: While the syntax for the rest of the URL may vary depending on the particular scheme selected, URL schemes that involve the direct use of an IP-based

[issue2196] Fix hasattr's exception problems

2008-02-29 Thread Brett Cannon
Brett Cannon added the comment: On Fri, Feb 29, 2008 at 2:04 PM, Benjamin Peterson [EMAIL PROTECTED] wrote: Benjamin Peterson added the comment: After looking more closely, I saw that this is documented at http://www.python.org/dev/patches/style/. So the C uses tabs, and the Python

[issue2213] build_tkinter.py does not handle paths with spaces

2008-02-29 Thread Joseph Armbruster
New submission from Joseph Armbruster: http://svn.python.org/projects/python/trunk/PCbuild/build_tkinter.py rev 61127 Is it still in python-devs interest to support building the tree in a path that contains spaces? I (pretty much always) do, so if a patch for this is desired, I can put one

[issue1672853] Error reading files larger than 4GB

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: Using: http://svn.python.org/projects/python/trunk @ 61127 OS Name:Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 2 Build 2600 I would like to report a positive follow-up on this issue. The output I received was as follows,

[issue1451466] reading very large files

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: I believe this may be related to issue 1672853. http://bugs.python.org/issue1672853 -- nosy: +JosephArmbruster _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1451466 _

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: Using: http://svn.python.org/projects/python/trunk @ 61127 OS Name:Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 2 Build 2600 test_shutil 1 test OK. -- nosy: +JosephArmbruster __ Tracker

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: On another note, I just completed building the docs in windows and shutil.destinsrc does not appear to be documented. I did notice this description for shutil: The shutil module offers a number of high-level operations on files and collections of files. In

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-29 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: On Fri, Feb 29, 2008 at 9:21 PM, Joseph Armbruster [EMAIL PROTECTED] wrote: On another note, I just completed building the docs in windows and shutil.destinsrc does not appear to be documented. I did notice this description for shutil: destinsrc()