[issue12434] Strengthen 2.7 io types warning

2011-07-19 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Yes, that would be great. It is better than my initial suggestion. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12434 ___

[issue12581] Increased test coverage of test_urlparse

2011-07-19 Thread Petter Haggholm
Petter Haggholm pet...@petterhaggholm.net added the comment: It’s my pleasure — it’s very trivial, but hopefully it’ll get my feet wet and get me in a place where I am familiar enough with procedures and things to contribute something relevant. :) Attaching a modified patch with (1) reversion

[issue12581] Increased test coverage of test_urlparse

2011-07-19 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Hi Petter, writing tests are ofcourse a good way to start. As long as the tests increase the coverage, those are most welcome. Thanks! -- assignee: - orsenthil ___ Python tracker

[issue12372] semaphore errors on AIX 7.1

2011-07-19 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Hi, sorry for the late reply. STINNER Victor added the comment: At least, I would like to know if Sébastien Sablé (the author of the original patch) changed his opinion about this issue since 2007 ;-) I haven't changed my

[issue12546] builtin __format__ methods cannot fill with \x00 char

2011-07-19 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I finally got around to reviewing the patch. A couple of comments: 1. There should be some tests for str.__format__, not just str.format. This is really a bug with str.__format__, after all. I can add those. 2. The bigger issue is that the

[issue10881] test_site and macframework builds fails

2011-07-19 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I'd like to reopen this, as it doesn't seem to be a duplicate of #8084. Specifically, test_getsitepackages in test_sitepackages appears to be wrong, since it has a correct test for platform builds later in the method, but the failure

[issue12543] `issubclass(collections.deque, collections.Sequence) == False`

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The sequence ABCs do not require slicing support. Understood, but is it said in the docs? David said that he couldn’t find that bit of info, which is why I suggested a doc bug. -- ___ Python tracker

[issue11877] Change os.fsync() to support physical backing store syncs

2011-07-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Here is something unsorted and loose: - @neologix: One could argue that something had happened before the fsync(2), so that code which blindly did so is too dumb to do any right decision anyway. Even PEP 3151 won't help. -

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: If Nir's analysis is right, and Antoines comment pushes me into this direction, (i personally have not looked at that code), then multiprocessing is completely brain-damaged and has been implemented by a moron. And yes, I know this

[issue3232] Wrong str-bytes conversion in Lib/encodings/idna.py

2011-07-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___ ___ Python-bugs-list

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Um, and just to add: i'm not watching out for anything, and it won't and it can't be me: ?0%0[steffen@sherwood sys]$ grep -F smp CHANGELOG.svn -B3 | grep -E '^r[[:digit:]]+' | tail -n 1 r162 | steffen | 2006-01-18 18:29:58 +0100

[issue12575] add a AST validator

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12575 ___ ___ Python-bugs-list

[issue1602133] non-framework python fails to define os.environ properly

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - commit review title: non-framework built python fails to define environ properly - non-framework python fails to define os.environ properly versions: +Python 3.3 -Python 3.1 ___ Python tracker

[issue12524] change httplib docs POST example

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 1. 3xx codes are as fine as 200, IIRC. 2. Agreed, Roundup as very strange form parameters and URIs in general, but that’s not something we can change. 3. Maybe the empty string would work? (It’s a URI reference which means “same URI as the

[issue12583] More detailed ImportError messages

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Just a side note: please don’t use “folder” for cross-platform code or documentation, it’s a Windows-specific term (like “wizard” for example). -- nosy: +eric.araujo title: More detailed `ImportError` messages - More detailed ImportError

[issue8084] pep-0370 on osx duplicates existing functionality

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It would be nice to have feedback from the Mac experts on this. -- assignee: christian.heimes - keywords: -buildbot, needs review, patch nosy: +ned.deily resolution: fixed - stage: committed/rejected - versions: +Python 3.3

[issue10881] test_site and macframework builds fails

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: How can we detect framework builds from Python code? Maybe there is a variable in sysconfig? -- nosy: +eric.araujo superseder: pep-0370 on osx duplicates existing functionality - ___ Python tracker

[issue10881] test_site and macframework builds fails

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hem, I should have re-read Vinay’s message before posting :) Marking as easy. -- keywords: +easy stage: - needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12535 ___ ___ Python-bugs-list

[issue12527] assertRaisesRegex doc'd with 'msg' arg, but it's not implemented?

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12527 ___ ___ Python-bugs-list

[issue10910] pyport.h FreeBSD/Mac OS X fix causes errors in C++ compilation

2011-07-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Waiting for a new version of boost probably won't help: this is an incompatibility between a redefinition of ctypes macros in pyport.h and definitions in the C++ header locale. I barely use C++ at this time and don't know how to tweak

[issue10731] UnicodeDecodeError in OS X tkinter when binding to MouseWheel

2011-07-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is almost certainly a bug in Tk. What OSX version are you using, and which python installer did you use? One thing you could try is installing a matching copy of ActiveState's Tk (8.4 for the 32-bit build, 8.5 for intel-only

[issue12546] builtin __format__ methods cannot fill with \x00 char

2011-07-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12546 ___ ___

[issue10881] test_site and macframework builds fails

2011-07-19 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: This is now fixed in pythonv, see https://bitbucket.org/vinay.sajip/pythonv/changeset/a59a3868d185/raw/pythonv-a59a3868d185.diff -- ___ Python tracker rep...@bugs.python.org

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: then multiprocessing is completely brain-damaged and has been implemented by a moron. Please do not use this kind of language. Being disrespectful to other people hurts the discussion. -- ___ Python

[issue12585] distutils dereferences symlinks for zip but not for bztar/gztar target

2011-07-19 Thread Florian Berger
New submission from Florian Berger fber...@florian-berger.de: When creating a source distribution, formats=zip will dereference symbolic links while formats=bztar,gztar will not. Example: $ ls -l drwxr-xr-x 3 4096 19. Jul 15:44 dist -rw-r--r-- 1 53 19. Jul 15:15 foo.py -rw-r--r-- 1 42 19.

[issue12585] distutils dereferences symlinks for zip but not for bztar/gztar target

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for such a good report. Symlinks handling in distutils is under-specified; this question showed up a few months ago on the distutils-sig mailing list, with no good answer. distutils is a special part of the standard library: as it spent

[issue12585] distutils dereferences symlinks for zip but not for bztar/gztar target

2011-07-19 Thread Florian Berger
Florian Berger fber...@florian-berger.de added the comment: Hi, thanks for the reply. I see your point with the legacy distutils. I hope that this explanation will let you see why I’m reluctant to change distutils: we don’t know what code we will break if we improve symlink handling. So,

[issue11175] allow argparse FileType to accept encoding and errors arguments

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +easy nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11175 ___ ___

[issue10967] move regrtest over to using more unittest infrastructure

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For one thing, I think resources could be implemented in terms of skips, or even included into stock unittest. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22537/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12455 ___

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12455 ___ ___ Python-bugs-list

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Well, this is actually somewhat more complicated than what my first tests showed due to the way multipart/form-data is dealt with in FieldStorage.read_multi(). The solution I proposed last time only works if the uploaded file is passed as

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The reason being that I'm using this in my own packages so that I can distutils2-like setup.cfgs, but still install with normal distutils and/or Distribute without depending on distutils2 in its entirety. I'm wondering if there might be a

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22671/getpath.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12572 ___

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Here’s a unified diff. -- Added file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12572

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Arg, I thought I removed a duplicate patch but it was actually an updated version. Sorry about that; the link in the history at the bottom of this page still links to the file. Updated unified diff attached. -- Added file:

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12572 ___

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Jim: Sorry if we reacted first with process remarks instead of thanking you for the patches and reviewing them. We value contributions, and we try to be welcoming, but sometimes we forget what it’s like to enter this community. Some things

[issue3526] Customized malloc implementation on SunOS and AIX

2011-07-19 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Sorry for the very late reply; I have been quite busy recently with the birth of my second daughter, a new job, a new home town and soon a new home. ... But with your patch, such code wouldn't be thread-safe anymore. This patch

[issue3526] Customized malloc implementation on SunOS and AIX

2011-07-19 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file22698/patch_dlmalloc_Python_2_7_1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3526 ___

[issue11176] give more meaningful argument names in argparse documentation

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hi Westley! Do you still have time to work on this? -- keywords: +easy nosy: +eric.araujo versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11176

[issue6818] remove/delete method for zipfile/tarfile objects

2011-07-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Martin did a review of the newer patch; maybe you didn’t get the mail (there’s a Rietveld bug when a user name without email is given to the Cc field). -- ___ Python tracker rep...@bugs.python.org

[issue3526] Customized malloc implementation on SunOS and AIX

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Since I am changing of job, I won't be working on AIX anymore (yeah!); You seem happy about that :) Does it mean the project to have an AIX buildbot is abandoned? I also don't expect this patch to be integrated spontaneously without someone

[issue3526] Customized malloc implementation on SunOS and AIX

2011-07-19 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Does it mean the project to have an AIX buildbot is abandoned? We have a buildbot running internally on AIX. I could not get the necessary modifications integrated upstream in the official Python buildbot so that we could plug

[issue12372] semaphore errors on AIX 7.1

2011-07-19 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12372 ___ ___ Python-bugs-list

[issue12576] urlib.request fails to open some sites

2011-07-19 Thread Robert Xiao
Robert Xiao nneon...@gmail.com added the comment: Seconded. #12133 inadvertently closes the response object if the server fails to indicate Connection: close. In my case, Amazon S3 (s3.amazonaws.com) causes this problem: (Python 3.2) conn =

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

2011-07-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I'm still in favor of keeping sys.platform == 'linux3', and you? So do I. For plat-linux3, should we regenerate this directory (I cannot do that, I don't have Linux 3.0 yet) or can we just use a symbolic link? I read that Linux

[issue11176] give more meaningful argument names in argparse documentation

2011-07-19 Thread Westley Martínez
Westley Martínez aniko...@gmail.com added the comment: I worked on this some time ago; the problem was the size of the documentation, i.e. it was difficult to stay consistent. Do I have time for this? Yes, but I wouldn't get it done anytime soon, and the results could be anywhere from good

[issue12583] More detailed ImportError messages

2011-07-19 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Doing a stack walk to try to determine if an import failure was from a circular import would be costly, a little complicated (since you cannot simply look at import statements but also various kinds of functions that can do an equivalent job of

[issue12586] Enhanced email API: header objects

2011-07-19 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: The work I've been doing on email6 has reached a stage where I'm confident about the overall plan of the new code, and am ready for people to review it and make suggestions. The patch represents a working state of the code, but with

[issue12586] Enhanced email API: header objects

2011-07-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +patch Added file: http://bugs.python.org/file22699/b22698463737.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12586 ___

[issue12586] Enhanced email API: header objects

2011-07-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Added file: http://bugs.python.org/file22700/README.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12586 ___

[issue12583] More detailed ImportError messages

2011-07-19 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +ericsnow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12583 ___ ___ Python-bugs-list

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I'm running into this while trying to backport Python 2.7.2 to Ubuntu 10.04. Our build machines are throwing an error because they catch the implicit cast so as to prevent problems on ia64 and amd64.

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- assignee: theller - nosy: -theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10309 ___ ___

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: P.S.: I have to apologize, it's Tomaž, not Thomas. (And unless i'm mistaken this is pronounced TomAsch rather than the english Tommes, so i was just plain wrong.) --Steffen Ciao, sdaoden(*)(gmail.com) () ascii ribbon campaign -

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10309 ___ ___ Python-bugs-list

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: then multiprocessing is completely brain-damaged and has been implemented by a moron. Please do not use this kind of language. Being disrespectful to other people hurts the discussion. So i apologize once again. 'Still i

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-19 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: (BTW: there are religions without god, so whom shall e.g. i praise for the GIL?) Guido? ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721

[issue12583] More detailed ImportError messages

2011-07-19 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com added the comment: Brett: Why does it matter that it will be costly? It's a post-mortem activity anyway, usually done when something critical failed and the entire system isn't working. Why would functions need to be looked at? I mean, isn't a circular import

[issue12583] More detailed ImportError messages

2011-07-19 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com added the comment: Brett, I checked out the two pieces of documentation you referred to, they have very little information about ImportWarning other than Base class for warnings about probable mistakes in module imports. --

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Robert Xiao
New submission from Robert Xiao nneon...@gmail.com: From a fresh Python3.2.1 tarball: nneonneo@nneonneo-mbp:~/devel/Python-3.2.1/Lib/test$ for i in tokenize_tests-*; do echo $i; xxd $i | head -n 1; done tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt 000: efbb bf23 202d 2a2d 2063

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Python 3.1 is in security only mode, so this patch cannot be applied to that version. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-19 Thread rpointel
New submission from rpointel pyt...@xiri.fr: Hello, the test test_subinterps failed on OpenBSD on powerpc architecture. It works fine on amd64 and sparc64. (The test_pendingcalls_threaded has been skipped because it blocks on OpenBSD). Don't hesitate if you need more informations. Details:

[issue12589] test_long.test_nan_inf() failed on OpenBSD (powerpc)

2011-07-19 Thread rpointel
New submission from rpointel pyt...@xiri.fr: Hello, the test test_nan_inf failed on OpenBSD on powerpc architecture. It works fine on amd64 and sparc64. Don't hesitate if you need more informations. Details: Re-running test 'test_long' in verbose mode test__format__ (test.test_long.LongTest)

[issue12589] test_long.test_nan_inf() failed on OpenBSD (powerpc)

2011-07-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: What is the result of int(float('inf')) ? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12589 ___

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It looks like a BOM has been present in that file for a *long* time: it is there in the Python 3.0 source tarball, and, according to the converted svn-to-hg history, it was there in its original check-in and is still there in the current development

[issue12571] Python built on Linux 3.0 doesn't include DLFCN

2011-07-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 69dd70e70cc8 by Antoine Pitrou in branch '2.7': Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory, http://hg.python.org/cpython/rev/69dd70e70cc8 New changeset 9e3b28a7898f by Antoine

[issue12571] Python built on Linux 3.0 doesn't include DLFCN

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should be fixed now. -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Robert Xiao
Robert Xiao nneon...@gmail.com added the comment: Yes, it seems that way. Then the question is: why does the comment claim that it doesn't have a BOM? Also, test_tokenize.py is wrong around line 651: def test_utf8_coding_cookie_and_no_utf8_bom(self): f =

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

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Copying plat-linux2 to plat-linux3 should be just fine. Done in issue12571. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Robert Xiao
Robert Xiao nneon...@gmail.com added the comment: Attached is a patch which fixes this. Python 3.2.1 still passes the test after applying the patch, as expected. -- keywords: +patch Added file: http://bugs.python.org/file22701/issue12587.patch ___

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: test_subinterps merely runs ./Modules/_testembed, so perhaps you could launch it manually and see what it does? (chances are it crashes, then can you please post the backtrace using a debugger?) -- nosy: +pitrou

[issue12372] semaphore errors on AIX 7.1

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch looks fine to me. in the finance industry in particular Ha, I've seen that. There are even proprietary desktop applications for AIX! -- stage: patch review - commit review type: - behavior versions: +Python 3.2, Python 3.3

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0c254698e0ed by Ned Deily in branch '3.2': Issue #12587: Correct faulty test file and reference in test_tokenize. http://hg.python.org/cpython/rev/0c254698e0ed New changeset c1d2b6b337c5 by Ned Deily in branch

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

2011-07-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Your patch looks fine to me, except for this: -if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', -'freebsd7', 'freebsd8') -or platform.startswith(gnukfreebsd)): +

[issue12587] tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt has a UTF8 BOM signature

2011-07-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the report and the patch! Applied to 3.2 (for 3.2.2) and default (for 3.3). -- assignee: - ned.deily resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python

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

2011-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le mardi 19 juillet 2011 à 23:20 +, STINNER Victor a écrit : STINNER Victor victor.stin...@haypocalc.com added the comment: Your patch looks fine to me, except for this: -if (platform in ('linux2', 'freebsd4', 'freebsd5',

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8f3cc8ffc3ff by Barry Warsaw in branch '2.7': - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper http://hg.python.org/cpython/rev/8f3cc8ffc3ff New changeset cc00e09404e6 by Barry Warsaw in branch

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2011-07-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10309 ___

Re: [issue12524] change httplib docs POST example

2011-07-19 Thread Senthil Kumaran
Hello Eric, On Tue, Jul 19, 2011 at 01:05:59PM +, Éric Araujo wrote: Alternate idea: use example.org. People won’t be able to actually run the example, but is it really important? The whole idea is present a usable example. Please don't suggest unusable example. example.org does not

[issue10141] SocketCan support

2011-07-19 Thread Miguel Luis
Changes by Miguel Luis mkx...@gmail.com: -- nosy: +mluis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10141 ___ ___ Python-bugs-list mailing list

[issue10141] SocketCan support

2011-07-19 Thread Tiago Gonçalves
Tiago Gonçalves tiagogoncal...@ua.pt added the comment: This patch should be easy to verify and includes documentation and the test cases. ogait87@mypc:~/cpython$ hg sum parent: 71435:6f9d917df541 tip Fix test_multiprocessing failure under Windows. branch: default commit: 7 modified update:

[issue12583] More detailed ImportError messages

2011-07-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, there are ways other than an import statement that a module can get imported (the __import__ function, for example, and the imp module for another, as well as importlib). If you want to try your hand at writing a patch to do the

[issue12545] Incorrect handling of return codes in the posix_lseek function in posixmodule.c

2011-07-19 Thread Kuberan Naganathan
Kuberan Naganathan kubi...@gmail.com added the comment: Hi. I can submit a patch for the first part. Should I submit on this issue tracker item? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12545

[issue12590] First line and cursor not visible when opening files

2011-07-19 Thread Simon Forman
New submission from Simon Forman forman.si...@gmail.com: In IDLE if you open a file that is longer than the editor window the first line, with the cursor, is scrolled off the top of the window making it appear as though the file begins at the second line. This can be fixed by adding

[issue12590] First line and cursor not visible when opening files

2011-07-19 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ned.deily nosy: +ned.deily versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12590

[issue12531] documentation index entries for * and **

2011-07-19 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Peter, would you like to submit a corrected patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12531 ___

[issue10910] pyport.h FreeBSD/Mac OS X fix causes errors in C++ compilation

2011-07-19 Thread Nasos Dousis
Nasos Dousis ndou...@gmail.com added the comment: Ronald, thanks again.  I stripped out as much as I could from the original code and generated the attached project. In doing so, I narrowed the problem down to boost/weak_ptr.hpp. The sample project consists of: test-boost-python/Makefile

[issue10910] pyport.h FreeBSD/Mac OS X fix causes errors in C++ compilation

2011-07-19 Thread Nasos Dousis
Nasos Dousis ndou...@gmail.com added the comment: With attachment-- -- Added file: http://bugs.python.org/file22703/test-boost-python.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10910

[issue12591] configparser can't read_file the output of subprocess.Popen

2011-07-19 Thread Matt Joiner
New submission from Matt Joiner anacro...@gmail.com: a = subprocess.Popen(['cat', '/path/to/text.ini'], stdout=subprocess.PIPE, universal_newlines=True) b = configparser.ConfigParser() b.read_file(a.stdout) Traceback (most recent call last): File stdin, line 1, in module File