[issue8734] msvcrt get_osfhandle crash on bad FD

2010-09-04 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com added the comment: I guess it should, shouldn't it ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8734 ___

[issue8401] Strange behavior of bytearray slice assignment

2010-09-04 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8401 ___ ___ Python-bugs-list

[issue8597] build out-of-line asm on Windows

2010-09-04 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The patches are very similar. This one always chooses ml64 on a 64 bit platform, even when a user has executed `vcvarsall x86`. The patch in #7546 attempts to honor the environment and has unit tests, so I'm making #7546 the superseder.

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-09-04 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Actually the square bracket form is how `range()` is documented so there is some limited precedent in that regard. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9421

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: Removed file: http://bugs.python.org/file18681/vcasm2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546 ___

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Minor cleanups in vcasm2.patch. -- Added file: http://bugs.python.org/file18742/vcasm2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: Removed file: http://bugs.python.org/file18742/vcasm2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546 ___

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Further cleanup (sorry for the mail volume!). -- Added file: http://bugs.python.org/file18743/vcasm2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +brian.curtin, sneves, zooko versions: -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546 ___

[issue7546] msvc9compiler.py: add .asm extension

2010-09-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: (distutils2 bugs have all versions set) -- versions: +Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546 ___

[issue9768] IDLE / Black frame in active window

2010-09-04 Thread Kristoffer F
Kristoffer F kkf...@gmail.com added the comment: Hi I installed python from the python.org installer. I have now taken a screen shot, with two IDLE windows open. So you can se that it is only the active window that get the frame. I see that you have also responded to my posts at

[issue9768] IDLE / Black frame in active window

2010-09-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The black line border in the screen shot is the indication of which IDLE window currently has the keyboard focus. Note that if you click on the IDLE shell window or open and select other text windows, the black line border appears around the

[issue9771] add an optional default argument to tokenize.detect_encoding

2010-09-04 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: The function tokenize.detect_encoding() detects the encoding either in the coding cookie or in the BOM. If no encoding is found, it returns 'utf-8': When result is 'utf-8', there's no (easy) way to know if the encoding was really

[issue9731] Add ABCMeta.has_methods and tests that use it

2010-09-04 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9731 ___ ___ Python-bugs-list

[issue9772] test_pep277 failure on AMD64 debian parallel buildbot

2010-09-04 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: This failure occurs on AMD64 debian parallel buildbot. It is not the same failure as OS X Tiger buildbot (issue 8423). == FAIL: test_listdir

[issue9773] test_tarfile fails because of inaccurate mtime on AMD64 debian parallel buildbot

2010-09-04 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: Occurs repeatedly on AMD64 debian parallel. == FAIL: test_extractall (test.test_tarfile.MiscReadTest)

[issue9774] test_smtpnet fails with [110] Connection timed out on AMD64 debian parallel buildbot

2010-09-04 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: Repeated failure on AMD64 debian parallel buildbot. [329/346] test_smtpnet test test_smtpnet failed -- Traceback (most recent call last): File

[issue9732] Addition of getattr_static for inspect module

2010-09-04 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732 ___ ___

[issue9598] untabify.py fails on files that contain non-ascii characters

2010-09-04 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Other C files converted from latin-1 to utf-8 with r84485. -- components: +Unicode nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9598

[issue7962] Demo and Tools need to be tested and pruned

2010-09-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- dependencies: +add an optional default argument to tokenize.detect_encoding ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7962 ___

[issue9764] Tools/buildbot/external.bat should download and built tix

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Unfortunately, Tix just won't build that easily. Patches are welcome. It may be worthwhile to rely on build_tkinter.py exclusively (but that often doesn't work, either). -- ___ Python tracker

[issue9765] tcl-8 vs tcl8

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This patch is incorrect. The naming of the directories as in msi.py is correct; the naming in Tools/buildbot is slightly inappropriate. Tix relies on the specific directory names referred-to by msi.py, hence I use a different in my

[issue1303434] Please include pdb with windows distribution

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch, committed as r84487. I'll try it out with the next 3.2 alpha release. Leaving this open for possible backports. -- ___ Python tracker rep...@bugs.python.org

[issue1303434] Please include pdb with windows distribution

2010-09-04 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1303434 ___ ___

[issue1552880] [Python2] Use utf-8 in the import machinery on Windows to support unicode paths

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As this was never meant for inclusion in Python, and apparently confuses people, I'm closing it - it couldn't go into 2.x, anyway. -- resolution: - out of date status: open - closed ___ Python

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: See the subversion history. It was added in r14344, which supposedly originated from Thomas Heller, so he should know. Thomas, what's the reason for suppressing PDB files? -- nosy: +loewis, theller

[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: http://svn.python.org/projects/external/openssl-1.0.0a/asm64/ Please follow the instructions in PCbuild/readme.txt carefully. Thanks. -- resolution: - invalid status: open - closed ___ Python

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Armin Ronacher
New submission from Armin Ronacher armin.ronac...@active-4.com: It's hard to say what exactly is to blame here, but I will try to outline the problem as good as I can and try to track it down: A library of mine is using a Thread that is getting entries from a multiprocessing.Queue

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Armin Ronacher
Changes by Armin Ronacher armin.ronac...@active-4.com: -- keywords: +patch Added file: http://bugs.python.org/file18746/9775-fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9775 ___

[issue9758] ioctl mutable buffer copying problem

2010-09-04 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: The attached patch fixes this. -- keywords: +patch nosy: +bbrazil Added file: http://bugs.python.org/file18747/ioctl_1024_mutable.patch ___ Python tracker rep...@bugs.python.org

[issue9758] ioctl mutable buffer copying problem

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Do you think there is a simple, generic way to test for this (see Lib/test/test_ioctl.py)? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9758

[issue9747] os.getresgid() documentation mentions user ids, not group ids

2010-09-04 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: This mistake is also in the docstring, I've attached a path to fix both. -- keywords: +patch nosy: +bbrazil Added file: http://bugs.python.org/file18748/getresgid_group_not_user.patch ___ Python

[issue9776] Inconsistent spacing in fcntl.fcntl docstring

2010-09-04 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: The spacing in fcntl.fcntl's docstring isn't consistent, the attached patch fixes this. -- assignee: d...@python components: Documentation files: fcntl_docstring_spacing.patch keywords: patch messages: 115582 nosy: bbrazil,

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oh, I just noticed that many other modules weren't built either: _ssl, _hashlib, _sqlite, _tkinter. Apparently setup.py cannot find the relevant bits anymore. Bisecting shows that this happened with the PEP 3149 commit. -- nosy:

[issue9758] ioctl mutable buffer copying problem

2010-09-04 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: I'd already had a look around, and my knowledge of ioctls is not sufficient to answer that question but I suspect the answer is no. Does someone know of a ioctl that works across platforms, doesn't require specific hardware or privileges

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IIUC, you are proposing to fix Python 2.6 only. Please understand that this branch is closed for bug fixes (unless they are security issues, which this issue is not). As for 2.7: please try explaining again what specific issue the patch is

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've committed a workaround in r84488. Feel free to improve. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Armin Ronacher
Changes by Armin Ronacher armin.ronac...@active-4.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9775 ___ ___

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Armin Ronacher
Armin Ronacher armin.ronac...@active-4.com added the comment: This also affects 2.7, I just worked on 2.6 because this is where I encountered the issue. As for 2.7: please try explaining again what specific issue the patch is meant to resolve? What monkey-patching are you referring to? What

[issue9217] 2to3 crashes with some doctests

2010-09-04 Thread Jeremy Thurgood
Jeremy Thurgood fir...@gmail.com added the comment: This seems to be fixed in 3.2 and the 2.7 maintenance branch, but here's a (one-liner) patch for people who want to fix their local installations. -- keywords: +patch nosy: +jerith Added file:

[issue9732] Addition of getattr_static for inspect module

2010-09-04 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- nosy: -gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732 ___ ___ Python-bugs-list

[issue7736] os.listdir hangs since opendir() and closedir() do not release GIL

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r84489 (3.x), r84490 (3.1) and r84491 (2.7). Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.6 ___ Python tracker

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As mentioned above I cannot provide more information because I am unable to find the root of the issue. All I know is that if the atexit handler is executed after the module globals were set to None it fails to shutdown properly. Ok -

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9775 ___

[issue9581] PosixGroupsTester fails as root

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've committed modified patches for 3.x, 3.1 and 2.7. Thanks again George. -- assignee: ronaldoussoren - nobody nosy: +nobody resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: -Python 2.6

[issue1100562] deepcopying listlike and dictlike objects

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r84495 (3.x), r84498 (3.1), r84499 (2.7). Thank you! -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue9777] test_socket.GeneralModuleTests.test_idna should require the network resource

2010-09-04 Thread David Watson
New submission from David Watson bai...@users.sourceforge.net: This test requires network access as it tries to resolve a domain name at python.org. Patch attached. -- components: Tests files: idna-test-resource.diff keywords: patch messages: 115593 nosy: baikie priority: normal

[issue9717] operator module - in place operators documentation

2010-09-04 Thread Arnaud Delobelle
Arnaud Delobelle arno...@googlemail.com added the comment: Terry: I agree that augmented assignement should be described better in the language reference. I guess that would warrant opening another issue? However I tend to think that the term in-place operation is a good one. BTW: - the

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: With the patches applied except linux-pass-unterminated.diff, I get the following test failure: == ERROR: testMaxPathLen (test.test_socket.TestLinuxPathLen)

[issue9766] warnings has onceregistry and once_registry

2010-09-04 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: r84500 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9766 ___

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Armin Ronacher
Armin Ronacher armin.ronac...@active-4.com added the comment: Put the stuff from an older version back in with a monkeypatch and you will see the issue again. There are certainly many more ways to trigger that issue, that was just the easiest. I will try to create a simpler test case.

[issue9717] operator module - in place operators documentation

2010-09-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Since Raymond has grabbed this, I will let him decide on its scope. I agree with sectioning the operator doc and intended to suggest that. The term 'in-place operation' is fine when accurate. The term 'in-place operator', which is what you

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114296. -- resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue837046

[issue902151] Thread start - strange error under Cygwin

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114327. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue902151 ___

[issue788931] resolving relative paths for external entities with xml.sax

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114256. -- resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue788931

[issue1015254] Create cgi.FieldStorage._get_new_instance method as factory

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114373. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1015254 ___

[issue9225] Replace DUP_TOPX with DUP_TOP_TWO

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Modified patch committed in r84501. Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed type: performance - resource usage ___ Python tracker rep...@bugs.python.org

[issue1058305] HTMLParser.locatestartagend regex too stringent

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114390. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1058305 ___

[issue1103350] send/recv SEGMENT_SIZE should be used more in socketmodule

2010-09-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg114485. -- resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103350

[issue902151] Thread start - strange error under Cygwin

2010-09-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue902151 ___

[issue1015254] Create cgi.FieldStorage._get_new_instance method as factory

2010-09-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1015254 ___

[issue1058305] HTMLParser.locatestartagend regex too stringent

2010-09-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1058305 ___

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I guess this test should simply removed. (not sure which test you are referring to: the test case, or the test for too long path names:) I think both tests need to stay. Instead, I think that testMaxPathLen is incorrect: it doesn't take

[issue9777] test_socket.GeneralModuleTests.test_idna should require the network resource

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed in r84504, thank you! -- nosy: +pitrou resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9777

[issue9771] add an optional default argument to tokenize.detect_encoding

2010-09-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9771 ___ ___ Python-bugs-list

[issue9762] build failures

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___

[issue9775] Multiprocessing, logging and atexit play not well together

2010-09-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't see the issue at all; the attached script runs just fine. -- Added file: http://bugs.python.org/file18754/t.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9775

[issue9630] Reencode filenames when setting the filesystem encoding

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9630 ___

[issue9769] PyUnicode_FromFormatV() doesn't handle non-ascii text correctly

2010-09-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: 2 remarks: - PyUnicode_FromFormat(%s, text) expects a utf-8 buffer. - Very recently (r84472, r84485), some C files of CPython source code were converted to utf-8. And most of the time, the format given to PyUnicode_FromFormat is a

[issue9630] Reencode filenames when setting the filesystem encoding

2010-09-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Python is installed in a directory called b'py3k\xc3\xa9' and your locale is C Do we really want to support this kind of configuration? -- ___ Python tracker rep...@bugs.python.org

[issue7451] improve json decoding performance

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Updated patch against py3k. -- stage: patch review - commit review versions: -Python 2.7 Added file: http://bugs.python.org/file18755/json-opts4.patch ___ Python tracker rep...@bugs.python.org

[issue7451] improve json decoding performance

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r84505. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7451

[issue9129] DoS smtpd module vulnerability

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Security fixes are allowed in 2.6 branch, so could you backport the fix also to 2.6 branch? -- versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue9754] assertWarns and assertWarnsRegexp

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Updated patch so that the tests pass with -Werror. Do you think this should be committed before the next alpha? -- Added file: http://bugs.python.org/file18756/assertwarns2.patch ___ Python tracker

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: baikie: why did the test pass for you? The test passes (I assume) if linux-pass-unterminated.diff is applied. The latter patch is only meant to exhibit the issue, though, not to be checked in. --

[issue8734] msvcrt get_osfhandle crash on bad FD

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I've committed the patch in r84506 (3.x), r84507 (3.1) and r84508 (2.7). Thank you! -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-09-04 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Currently, Python produces hash values with fit in a C long. This is fine at first sight, but in the context of dict and set implementations, it means that 1) holding hashes and indices in the same field of a structure requires some care (see

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: As an example of padding behaviour (under Win64 with 32-bit longs and 64-bit pointers): Python 3.2a1+ (py3k, Sep 4 2010, 22:50:10) [MSC v.1500 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. import

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-09-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: +1 for PyObject_Hash returning a Py_ssize_t. Nothing good can come from having a hash table larger than the range of a hash value. Tests may pass but performance would degrade catastrophically. --

[issue6768] asyncore file_wrapper leaking file descriptors?

2010-09-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - giampaolo.rodola stage: - needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6768

[issue3526] Customized malloc implementation on SunOS and AIX

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I guess there are not that many people running Python applications with a big memory footprint on AIX or SunOS, otherwise this problem would be more popular. Not only, but integrating a big chunk of foreign code in something as critical as

[issue1397] mysteriously failing test_bsddb3 threading test in other threads

2010-09-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1397 ___ ___

[issue5553] Py_LOCAL_INLINE(type) doesn't actually inline except using MSC

2010-09-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Note: autoreconf failure caused by r84379 was fixed by r84512. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5553 ___

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-09-04 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm not sure it was appropriate to close this bug in isolation without confirmation that it is no longer a problem, but I'm also guessing that it is in fact no longer a problem due to the fix to issue 1759169. So because that seems

[issue1058305] HTMLParser.locatestartagend regex too stringent

2010-09-04 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Closing this issue as out of date was inappropriate. It may be a duplicate, but someone with an interest should go through and evaluate all the related 'tolerant HTML parser' issues. Issue 1486713 could perhaps serve as a master issue

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-09-04 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See also issue 1058305, which may be a duplicate. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1486713 ___

[issue5553] Py_LOCAL_INLINE(type) doesn't actually inline except using MSC

2010-09-04 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Ned, thanks for bringing that to my attention. I might have missed it otherwise. I had run autoconf but had not known to run autoreconf, so I had missed the failure there. *embarrassed* Benjamin, thanks for fixing my