[issue6419] Broken test_kqueue.py on OpenBSD

2011-08-25 Thread Remi Pointel
Remi Pointel pyt...@xiri.fr added the comment: Hi, I think this issue is relied to issue 12181. I have made tests. 1)with no patch: testPair (__main__.TestKQueue) ... ok test_create_event (__main__.TestKQueue) ... FAIL test_create_queue (__main__.TestKQueue)

[issue12839] zlibmodule cannot handle Z_VERSION_ERROR zlib error

2011-08-25 Thread rmtew
rmtew richard.m@gmail.com added the comment: Attached is a patch to fix the issue, generated using p4 diff -du which should hopefully be usable. -- keywords: +patch Added file: http://bugs.python.org/file23044/zlibmodule.patch ___ Python tracker

[issue12840] maintainer value clear the author value when register

2011-08-25 Thread Luca Fabbri
New submission from Luca Fabbri luca...@gmail.com: I reported this problem in the pypi site issue tracker (issue 3396924): https://sourceforge.net/tracker/?func=detailatid=513503aid=3396924group_id=66150 However it seems that is a python bug. If in one package's setup.py I provide maintainer

[issue11576] timedelta subtraction glitch on big timedelta values

2011-08-25 Thread Gökçen Eraslan
Gökçen Eraslan gok...@pardus.org.tr added the comment: I can still reproduce that error with Python 2.7.2: Python 2.7.1 (r271:86832, Apr 27 2011, 15:42:42) [GCC 4.5.2] on linux2 Type help, copyright, credits or license for more information. from datetime import * timedelta(9, 86399,

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2011-08-25 Thread Philipp Weinfurter
Philipp Weinfurter wirrwu...@gmail.com added the comment: From AIFF-C Draft '91, Section 5, Sound Data Chunk: If soundData[] contains an odd number of bytes, a pad byte with a value of zero is added at the end to preserve an even length for this Chunk. So I think aifc.patch is wrong. However,

[issue12839] zlibmodule cannot handle Z_VERSION_ERROR zlib error

2011-08-25 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Thanks for the bug report and patch. I'll take a look at it over the weekend. -- assignee: - nadeem.vawda components: +Extension Modules -None nosy: +nadeem.vawda ___ Python tracker

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

2011-08-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0abe03195d09 by Georg Brandl in branch '3.2': Close #12838: fix range() call. http://hg.python.org/cpython/rev/0abe03195d09 New changeset 16a90cdb5ee4 by Georg Brandl in branch '2.7': Close #12838: fix range() call.

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2011-08-25 Thread Yap Sok Ann
Yap Sok Ann sok...@gmail.com added the comment: Just want to mention that until the patch get included, it will be impossible to use the standard library to generate a working BCP (Bulk Copy Program) XML format file for SQL Server, which always requires a TERMINATOR=\r\n or

[issue12786] subprocess wait() hangs when stdin is closed

2011-08-25 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Patch looks good after Victor's comment. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12786 ___

[issue12835] Missing SSLSocket.sendmsg() wrapper allows programs to send unencrypted data by mistake

2011-08-25 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- nosy: +ncoghlan, pitrou priority: normal - high type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12835 ___

[issue12835] Missing SSLSocket.sendmsg() wrapper allows programs to send unencrypted data by mistake

2011-08-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Adding an explanation message to the NotImplementedError would be more helpful. Otherwise, good catch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12835

[issue12803] SSLContext.load_cert_chain() should accept a password argument

2011-08-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cdc6c1b072a5 by Antoine Pitrou in branch 'default': Issue #12803: SSLContext.load_cert_chain() now accepts a password argument http://hg.python.org/cpython/rev/cdc6c1b072a5 -- nosy: +python-dev

[issue12803] SSLContext.load_cert_chain() should accept a password argument

2011-08-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Your latest patch was committed, thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12841] Incorrect tarfile.py extraction

2011-08-25 Thread Sebastien Luttringer
New submission from Sebastien Luttringer seblu+pyt...@seblu.net: This patch fix extraction of tarfile which override tarfile uid/gid tarfile.py extract function override uid/gid of a file if uid/gid is not existant on the system. When user is not root (uid 0), common behaviour of extracting

[issue12841] Incorrect tarfile.py extraction

2011-08-25 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Lars, any comment? -- assignee: - lars.gustaebel nosy: +lars.gustaebel, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12841 ___

[issue12841] Incorrect tarfile.py extraction

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

[issue12840] maintainer value clear the author value when register

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think this is intended behavior. When the author of a project is the one to register with PyPI, they use the author and author_email fields, which get displayed at PyPI. When it is not the original author but someone else who packages and

[issue3754] cross-compilation support for python build

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Copy-pasting of a previous comment: I see some “fix for issue #NNN is bogus” in your patch: would you open separate bug reports for those? A diff file is not a very useful way to report bugs or express opinions wink. Copy-pasting of many

[issue3871] cross and native build of python for mingw32 with packaging

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Please read msg136382 and take it into account. Also, I suggest you wait a bit for packaging patches: GSoC projects need to be reviewed and integrated, which may change large parts of the codebase. -- title: cross and native build of

[issue12840] maintainer value clear the author value when register

2011-08-25 Thread Luca Fabbri
Luca Fabbri luca...@gmail.com added the comment: I'm quite sure that after gettint ownership on an already existent package (with a different author inside) and I added the maintainer (with my name) I get the author override. But maybe I don't remember exactly... Is not simpler (to

[issue12678] test_packaging and test_distutils failures under Windows

2011-08-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 262e03bbe7a9 by Éric Araujo in branch 'default': Another (hopefully last) fix for test_packaging on Windws (#12678) http://hg.python.org/cpython/rev/262e03bbe7a9 -- ___

[issue12333] test_packaging failures under Solaris

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is strange; TempdirManager.tearDown already changes back to self._olddir (set to os.getcwd() in setUp). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12333

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Vinay: I don’t understand your message. I wasn’t part of the effort that added the resources subsystem, so I will work on a patch for this bug to learn more about it. -- ___ Python tracker

[issue12840] maintainer value clear the author value when register

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is not simpler (to understand) to keep always the approach to keep both? Well, there needs to be one point of contact. If someone takes the responsibility to make a project available on PyPI without asking the author to do it themselves, then

[issue12333] test_packaging failures under Solaris

2011-08-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c0ec01c95a73 by Antoine Pitrou in branch '3.2': Issue #12333: fix test_distutils failures under Solaris and derivatives http://hg.python.org/cpython/rev/c0ec01c95a73 New changeset 80f814dca274 by Antoine Pitrou in

[issue12333] test_packaging failures under Solaris

2011-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12333

[issue12333] test_distutils and test_packaging failures under Solaris

2011-08-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for applying the same fix to test_distutils! -- title: test_packaging failures under Solaris - test_distutils and test_packaging failures under Solaris ___ Python tracker rep...@bugs.python.org

[issue3329] API for setting the memory allocator used by Python

2011-08-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: All this needs is a patch. Note that there are some places where we call malloc()/free() without going through our abstraction API. This is not in allocation-heavy paths, though. -- nosy: +pitrou versions: +Python 3.3 -Python 3.2

[issue12656] test.test_asyncore: add tests for AF_INET6 and AF_UNIX sockets

2011-08-25 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12656

[issue6560] socket sendmsg(), recvmsg() methods

2011-08-25 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The OS X buildbots show some failures: It seems to fail consistently on every OS X version. I've had another look both at the code and the test, and couldn't find anything wrong with it. Since there are a number of known bugs

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-08-25 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Éric: I only meant that when writing data resources, one might reasonably use 'wb', but when writing scripts, which are text, 'w' is more appropriate. -- ___ Python tracker

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-08-25 Thread trevor
trevor tre...@well.com added the comment: i see the same behavior - the error occurs leaving an empty RESOURCES file -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12386 ___

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2011-08-25 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Oooh, I'm confused. I removed this stupid patch. chown_hpux-3.diff has a problem too: it skips the successful chown call (that's why I put the SkipTest at the end). -- ___ Python tracker

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-08-25 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: BTW, IIRC I have fixed it in the pythonv branch. https://bitbucket.org/vinay.sajip/pythonv -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12386

[issue12786] subprocess wait() hangs when stdin is closed

2011-08-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 498b03a55297 by Charles-François Natali in branch '2.7': Issue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoid http://hg.python.org/cpython/rev/498b03a55297 -- nosy: +python-dev

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2011-08-25 Thread Philipp Weinfurter
Changes by Philipp Weinfurter wirrwu...@gmail.com: Removed file: http://bugs.python.org/file23045/chunk2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2259 ___

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2011-08-25 Thread Philipp Weinfurter
Philipp Weinfurter wirrwu...@gmail.com added the comment: Oops. Misread the code, that part of skip() is fine. Patch removed. Sorry about that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2259

[issue3871] cross and native build of python for mingw32 with packaging

2011-08-25 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: eric, if you recall there was some discussion that it was acceptable to use distutils but *only* for python 2.N (on the basis that its use is so well entrenched that it would be impossible to force python2.N applications to start

[issue12786] subprocess wait() hangs when stdin is closed

2011-08-25 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Patch committed. Idan, thanks for the report. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12842] Docs: first parameter of tp_richcompare() always has the correct type

2011-08-25 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: I've noticed that assumptions about the operand types in tp_richcompare() are not always consistent. As far as I can see, the first parameter in tp_richcompare() is guaranteed to be of the correct type. But in some places the first

[issue12837] Patch for issue #12810 removed a valid check on socket ancillary data

2011-08-25 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: On Wed 24 Aug 2011, Charles-François Natali wrote: I included this test deliberately, because msg_controllen may be of signed type [...] POSIX allows socklen_t to be signed

[issue12835] Missing SSLSocket.sendmsg() wrapper allows programs to send unencrypted data by mistake

2011-08-25 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: On Thu 25 Aug 2011, Antoine Pitrou wrote: Adding an explanation message to the NotImplementedError would be more helpful. Otherwise, good catch. OK, I've copied the messages from the ValueErrors the other methods raise. --

[issue12835] Missing SSLSocket.sendmsg() wrapper allows programs to send unencrypted data by mistake

2011-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - ncoghlan type: behavior - security ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12835 ___

[issue12833] raw_input misbehaves when readline is imported

2011-08-25 Thread Mads Kiilerich
Changes by Mads Kiilerich m...@kiilerich.com: -- nosy: +kiilerix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12833 ___ ___ Python-bugs-list

[issue12843] file object read* methods in append mode overflows

2011-08-25 Thread Otacon Karurosu
New submission from Otacon Karurosu otacon.karur...@gmail.com: When opening a file in append mode and attempting to read after doing a write operation causes the read method to overflow and read memory directly (instead of returning an empty string) The following code prints garbage: f2 =

[issue12844] Support more than 255 arguments

2011-08-25 Thread Anders Kaseorg
New submission from Anders Kaseorg ande...@mit.edu: This feels like an arbitrary restriction (obvious sequences have been replaced with ‘…’ to save space in this report): zip([0], [1], [2], …, [1999]) File stdin, line 1 SyntaxError: more than 255 arguments especially when this works:

[issue12844] Support more than 255 arguments

2011-08-25 Thread Anders Kaseorg
Anders Kaseorg ande...@mit.edu added the comment: I guess the desugaring is slightly more complicated in the case where the original function call already used *args or **kwargs: f(arg0, …, arg999, *args, k0=v0, …, k999=v999, **kwargs) becomes something like f(*((arg0, …, arg999) + args),

[issue11241] ctypes: subclassing an already subclassed ArrayType generates AttributeError

2011-08-25 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: This patch was marked as accepted, but it doesn't seem to be committed. Will someone commit it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11241

[issue12844] Support more than 255 arguments

2011-08-25 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: On python-dev a few month ago, Guido agreed with you that this is an arbitrary limitation that should be removed at some point. In particular, he worried that programmatically generated code would tend to run into this

[issue12843] file object read* methods in append mode overflows

2011-08-25 Thread Otacon Karurosu
Otacon Karurosu otacon.karur...@gmail.com added the comment: I have confirmed that this only happens in windows. -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12843

[issue12835] Missing SSLSocket.sendmsg() wrapper allows programs to send unencrypted data by mistake

2011-08-25 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: As Antoine said, good catch. I'll be able to incorporate this in the next couple of days. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12835