[issue12725] Docs: Odd phrase "floating seconds" in socket.html

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8730fdc9349f by Ezio Melotti in branch '3.2': #12725: fix working. Patch by Ben Hayden. http://hg.python.org/cpython/rev/8730fdc9349f -- ___ Python tracker __

[issue12839] zlibmodule cannot handle Z_VERSION_ERROR zlib error

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2fb00b6ed17c by Nadeem Vawda in branch '3.2': Issue #12839: Fix crash in zlib module due to version mismatch. http://hg.python.org/cpython/rev/2fb00b6ed17c -- ___ Python tracker

[issue10946] bdist doesn’t pass --skip-build on to subcommands

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset a78629c62ee8 by Éric Araujo in branch '3.2': Make bdist_* commands respect --skip-build passed to bdist (#10946) http://hg.python.org/cpython/rev/a78629c62ee8 -- ___ Python tracker

[issue12838] FAQ/Programming typo: range[3] is used

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e156a6c4fd9 by Georg Brandl in branch '3.2': Close #12838: fix range() call. http://hg.python.org/cpython/rev/6e156a6c4fd9 -- ___ Python tracker

[issue12781] Mention SO_REUSEADDR near socket doc examples

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 126069a5ecf6 by Sandro Tosi in branch '3.2': #12781: Mention SO_REUSEADDR flag near socket examples http://hg.python.org/cpython/rev/126069a5ecf6 -- ___ Python tracker

[issue12761] Typo in Doc/license.rst

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b21312c3800 by Sandro Tosi in branch '3.2': #12761: fix wording of zlib license section http://hg.python.org/cpython/rev/5b21312c3800 -- ___ Python tracker _

[issue9651] ctypes crash when writing zerolength string buffer to file

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset f19d00b5220a by Amaury Forgeot d'Arc in branch '3.2': Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to http://hg.python.org/cpython/rev/f19d00b5220a -- ___ Python tracker

[issue12333] test_distutils and test_packaging failures under Solaris

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 137e45f15c0b by Antoine Pitrou in branch '3.2': Issue #12333: fix test_distutils failures under Solaris and derivatives http://hg.python.org/cpython/rev/137e45f15c0b -- ___ Python tracker

[issue12672] Some problems in documentation extending/newtypes.html

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8083e51522ee by Eli Bendersky in branch '3.2': Issue #12672: remove confusing part of sentence in documentation http://hg.python.org/cpython/rev/8083e51522ee -- ___ Python tracker

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 265da863d017 by Victor Stinner in branch '3.2': Issue #12326: sys.platform is now always 'linux2' on Linux http://hg.python.org/cpython/rev/265da863d017 New changeset e11b4c945f7e by Georg Brandl in branch '3.2': Update sys.platform doc for #12326.

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 402c4bbedf9c by Éric Araujo in branch '3.2': Refactor the copying of xxmodule.c in distutils tests (#12141). http://hg.python.org/cpython/rev/402c4bbedf9c -- ___ Python tracker

[issue11360] In documentation of getopt, advertise argparse instead of optparse

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset dff0f4db67da by Éric Araujo in branch '3.2': Remove outdated pointer to optparse (fixes #11360). http://hg.python.org/cpython/rev/dff0f4db67da -- ___ Python tracker _

[issue12213] BufferedRandom: issues with interlaced read-write

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8de8945ebfc3 by Antoine Pitrou in branch '3.2': Issue #12213: make it clear that BufferedRWPair shouldn't be called with the http://hg.python.org/cpython/rev/8de8945ebfc3 -- ___ Python tracker

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset cba2558b73ee by Sandro Tosi in branch '3.2': #5301: add image/vnd.microsoft.icon (.ico) MIME type http://hg.python.org/cpython/rev/cba2558b73ee -- ___ Python tracker _

[issue12678] test_packaging and test_distutils failures under Windows

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6fe19f421a16 by Nadeem Vawda in branch '3.2': Issue #12678: Fix distutils sdist test on Windows. http://hg.python.org/cpython/rev/6fe19f421a16 New changeset b173cfbf49a0 by Éric Araujo in branch '3.2': Fix distutils tests on Windows (#12678). http:

[issue12508] Codecs Anomaly

2011-09-03 Thread Ezio Melotti
Ezio Melotti added the comment: IIUC this happens because StreamReader calls codecs.utf_8_decode without passing final=1 [0], so when the decoder finds the trailing F4 it doesn't decode it yet because it waits from the other 3 bytes (F4 is the start byte of a 4-bytes UTF-8 sequence): >>> b =

[issue12008] HtmlParser non-strict goes wrong with unquoted attributes

2011-09-03 Thread Piet van Oostrum
Piet van Oostrum added the comment: I was bitten by this bug today. Hope it will be solved in the next release of Python 3. It is also possible to use the third argument of search in line 285: m = attrfind_tolerant.search(rawdata, k, endpos) This seems to me to be a more `nat

[issue2636] Adding a new regex module (compatible with re)

2011-09-03 Thread Vlastimil Brom
Vlastimil Brom added the comment: Not that it matters in any way, but if the regex semantics has to be distinguished via "non-standard" custom flags; I would prefer even less wordy flags, possibly such that the short forms for the in-pattern flag setting would be one-letter (such as all the o

[issue12815] Coverage of smtpd.py

2011-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-09-03 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Please delete Lib/plat-linux3 directories on 2.7 and 3.2 branches. -- ___ Python tracker ___ _

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The test makes sure that the error message contains the path to the > file (which the incomplete error message you report also does, BTW), > and an explanation of the error (to address the OP’s concern that the > message must be helpful): it looks for the stri

[issue12659] Add tests for packaging.tests.support

2011-09-03 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Hi Éric, sorry but I've not received that email. Could you simply paste/send me the link (I've not used Rietveld already and I can not to find that review). Thanks ! -- ___ Python tracker

[issue2636] Adding a new regex module (compatible with re)

2011-09-03 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs added the comment: Although V1, V2 is less wordy, technically the current behavior is version 2.2.2, so logically this should be re.VERSION222 vs. re.VERSION3 vs. re.VERSIONn, with corresponding "(?V222)", "(?V3)" and future "(?Vn)". But that said, I think 2.2.2 can be shor

[issue12881] ctypes: segfault with large structure field names

2011-09-03 Thread Meador Inge
Meador Inge added the comment: Here is a patch that replaces the 'alloca' call with 'PyMem_Malloc'. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file23094/issue12881.patch ___ Python tracker

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-09-03 Thread Éric Araujo
Éric Araujo added the comment: > I also noticed that your latest comment > "All text is bytes, so we can do all I/O in bytes when writing > resources and avoid special-casing." > contradicts your earlier position: > "I agree about the nonsense of opening in binary mode." It does :) My earlier

[issue10914] Python sub-interpreter test

2011-09-03 Thread Éric Araujo
Éric Araujo added the comment: BTW, about this comment in the code: # XXX only tested under Unix checkouts It is possible to install the _testembed.c file alongside xxmodule.c and compile it at test time. To test under Windows, I’ve re-read your first patch using distutils and it’s not that l

[issue12862] ConfigParser does not implement "comments need to be preceded by a whitespace character" correctly

2011-09-03 Thread Éric Araujo
Éric Araujo added the comment: > Éric, the docs clearly state that currently only full-line comments > are enabled by default. Wow, I missed that. I use such comments in some config files or config file examples in documentation :( -- ___ Python t

[issue12891] Clean up traces of manifest template in packaging

2011-09-03 Thread Éric Araujo
New submission from Éric Araujo : With distutils2/packaging, extra files to be included in sdists are defined in setup.cfg, no more in a manifest template. However, the Manifest class and the sdist command still have code to deal with manifest templates. I propose to remove it. -- a

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-03 Thread Éric Araujo
Éric Araujo added the comment: I have a patch that needs testing on Cpython Windows and if possible IPython. The test makes sure that the error message contains the path to the file (which the incomplete error message you report also does, BTW), and an explanation of the error (to address th

[issue12878] io.StringIO doesn't provide a __dict__ field

2011-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ec8a4579788 by Benjamin Peterson in branch '3.2': add a __dict__ descr for IOBase (closes #12878) http://hg.python.org/cpython/rev/8ec8a4579788 New changeset fe0497bd7354 by Benjamin Peterson in branch 'default': merge 3.2 (#12878) http://hg.pytho

[issue12888] html.parser.HTMLParser.unescape works only with the first 128 entities

2011-09-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti nosy: +ezio.melotti stage: -> commit review type: -> behavior ___ Python tracker ___ ___

[issue5876] __repr__ returning unicode doesn't work when called implicitly

2011-09-03 Thread Nam Nguyen
Changes by Nam Nguyen : -- nosy: +Nam.Nguyen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12888] html.parser.HTMLParser.unescape works only with the first 128 entities

2011-09-03 Thread Peter Otten
Peter Otten <__pete...@web.de> added the comment: The unescape() method uses re.sub(regex, sub, re.ASCII), but the third argument is count, not flags. Fix is easy: use re.sub(regex, sub, flags=re.ASCII). -- keywords: +patch nosy: +potten Added file: http://bugs.python.org/file23092/une

[issue12889] struct.pack('d'... problem

2011-09-03 Thread Dr . Georg Ströhlein
Dr. Georg Ströhlein added the comment: Thank you, Mark, for explaining the details of how to "correctly" format the output of that command to me... Regards, Schorsch -- ___ Python tracker

[issue12888] html.parser.HTMLParser.unescape works only with the first 128 entities

2011-09-03 Thread Yves Dorfsman
Yves Dorfsman added the comment: Added a test case: http://hg.zioup.org/cpython/rev/4accd3181061 If you set the loop < 128 then the test passes (set at 1000 right now). -- hgrepos: +65 ___ Python tracker

[issue12889] struct.pack('d'... problem

2011-09-03 Thread Mark Dickinson
Mark Dickinson added the comment: > with codes 0x3f and 0x63 respectively Whoops: that should be '... 0x3f and 0x6e ...'. -- ___ Python tracker ___ ___

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-09-03 Thread Georg Brandl
Georg Brandl added the comment: I've updated 3.2 docs in e11b4c945f7e (currently in the release clone, will be merged to upstream after the release of 3.2.2.) Please commit a similar change to the 2.7 branch. -- ___ Python tracker

[issue12889] struct.pack('d'... problem

2011-09-03 Thread Mark Dickinson
Mark Dickinson added the comment: I agree with you on the correct 8 output bytes. And those expected bytes are exactly what struct.pack is producing here: Python 2.7.2 |EPD 7.1-1 (32-bit)| (default, Jul 3 2011, 15:40:35) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "packages", "demo"

[issue12850] [PATCH] stm.atomic

2011-09-03 Thread Armin Rigo
Armin Rigo added the comment: :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma