[issue1079] decode_header does not follow RFC 2047

2009-04-08 Thread Atsuo Ishimoto
Atsuo Ishimoto ishim...@gembook.org added the comment: +1 for Tony's patch. This patch reverts fix for Issue1582282 filed by tkikuchi. I cannot understand the rationale for solution proposed in Issue1582282. How does the fix make easier to read mails from Entourage? -- nosy:

[issue5717] os.defpath includes unix /bin on windows

2009-04-08 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file13651/issue5717.py25.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5717 ___

[issue5717] os.defpath includes unix /bin on windows

2009-04-08 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On the second try it was much easier. For py3k I saw a post about removing defpath and some of its friends, with which I partially agree.

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2009-04-08 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment: This issue is a follow-up to Issue 2240 (now closed). http://bugs.python.org/issue2240 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5722

[issue2240] setitimer, getitimer wrapper

2009-04-08 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment: Closing this issue as the main functionality is committed. See issue 5722 for follow-up regarding FreeBSD functionality. -- nosy: +tleeuwenb...@gmail.com status: open - closed ___

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2009-04-08 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg tleeuwenb...@gmail.com: Tests fail on FreeBSD 6.3 http://www.python.org/dev/buildbot/trunk/x86%20FreeBSD%203%20trunk/build s/77/step-test/0 Relevant extract from parent issue, post by Guilherme Polo:

[issue2706] datetime: define division timedelta/timedelta

2009-04-08 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg tleeuwenb...@gmail.com: -- assignee: - tleeuwenb...@gmail.com ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2706 ___

[issue5721] msi.py still tries to copy non-existent test/README

2009-04-08 Thread Tim Golden
New submission from Tim Golden m...@timgolden.me.uk: tools/msi/msi.py is still trying to copy the README file from the lib/test directory. This file was removed in r70872. Patch attached against r71393 of msi.py. -- components: Build, Demos and Tools, Windows files: msi.r71393.patch

[issue5466] Tix.Balloon causes TCLError: unknown color name {#ffff60} in Python 2.6.1

2009-04-08 Thread Andrew Gregory
Andrew Gregory andrew.greg...@npl.co.uk added the comment: This has been fixed in the 2.6.2c1 release candidate. Thank you for updating Tix. Andrew. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5466

[issue5723] Incomplete json tests

2009-04-08 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Looking at the tests it seems that the pure-Python paths of json are partly untested. In particular, py_make_scanner (as oppose to c_make_scanner). -- assignee: bob.ippolito components: Tests messages: 85770 nosy: benjamin.peterson,

[issue5723] Incomplete json tests

2009-04-08 Thread Bob Ippolito
Bob Ippolito b...@redivi.com added the comment: Is this high priority? The pure-Python code paths don't even run in cpython. I test them manually with simplejson by just deleting the extension and then running the tests again. There doesn't seem to be a very good way to do this sort of thing

[issue5723] Incomplete json tests

2009-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Is this high priority? The pure-Python code paths don't even run in cpython. I test them manually with simplejson by just deleting the extension and then running the tests again. There doesn't seem to be a very good way to do this sort of

[issue5723] Incomplete json tests

2009-04-08 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: test_quopri has a decorator that calls a test using both the C and Python version of the tested function. This decorator looks like this: def withpythonimplementation(testfunc): def newtest(self): # Test default implementation

[issue5723] Incomplete json tests

2009-04-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: It is a priority because we need solid test coverage in order to successfully port 2.7 to 3.1 without breaking code or changing semantics. The original 3.0 port was done badly. -- nosy: +rhettinger

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is an updated patch, completely removing the `encoding` parameter and fixing docs. -- Added file: http://bugs.python.org/file13653/json_py3k-3.patch ___ Python tracker rep...@bugs.python.org

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (by the way, all tests pass) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4136 ___ ___

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: It would be better to have a patch that diff's from the current 2.7 version than to start with the 3.0 version; otherwise, the two will never be fully synchronized and some of the choices made in 2.6-to-3.0 will live on

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It would be better to have a patch that diff's from the current 2.7 version than to start with the 3.0 version; otherwise, the two will never be fully synchronized and some of the choices made in 2.6-to-3.0 will live on forever. How am I

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The idea is to ignore the current 3.0 version and just redo the 2-to-3 conversion from 2.7 and do it well this time. Compute the 3.1 patch as if the current 3.0 version was blown away (reverted). --

[issue3873] Unpickling is really slow

2009-04-08 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: Victor, Unpickler shouldn't raise an error if the given file object does support seek(); it should gracefully fall back to using only read() and readline(). Also, I think you could get a greater performance improvement by using peek()

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-08 Thread Christian Heimes
Christian Heimes li...@cheimes.de added the comment: +1 for Raymond's suggestion The 3.0 version of json was more like a last minute patch work than thorough work. You might wanna svn rm the 3.0 code, svn cp the 2.7 code to the py3k branch and start all over. --

[issue5721] msi.py still tries to copy non-existent test/README

2009-04-08 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: - loewis priority: - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5721 ___

[issue1744752] Newline skipped in for line in file

2009-04-08 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: What do you mean towards the end of the file? What are the offsets of the two lines? (I'm thinking it might be something to do with the \r\n lying across a boundary, such as the 4GB boundary.) -- nosy: +mrabarnett

[issue5665] Add more pickling tests

2009-04-08 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: If no-one has any objections to the xpickle resource included in the latest version of the patch, I'd like to commit this soon so that we can be more confident in the other changes I have queued up. If I no-one objects, I'll commit this sometime

[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

2009-04-08 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: I configured and built Python 2.6.2c1 on Solaris 10 using gcc 4.2. All tests pass except cmath: % LD_LIBRARY_PATH=. ./python Lib/test/regrtest.py -v test_cmath test_cmath test_abs (test.test_cmath.CMathTests) ... ok

[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

2009-04-08 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: +marketdickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5724 ___ ___ Python-bugs-list

[issue1590] make altinstall installs pydoc, idle, smtpd.py

2009-04-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Refixed in r71400. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1590 ___ ___

[issue3119] pickle.py is limited by python's call stack

2009-04-08 Thread Aaron Gallagher
Aaron Gallagher habna...@gmail.com added the comment: Okay, here's a new version for the py3k trunk. I'm assuming that this is not going to make it into 2.x at all, because of the API changes. This patch only touches the python version of the code and adds a unit test for testing whether

[issue5665] Add more pickling tests

2009-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If no-one has any objections to the xpickle resource included in the latest version of the patch, I'd like to commit this soon so that we can be more confident in the other changes I have queued up. If I no-one objects, I'll commit this

[issue5665] Add more pickling tests

2009-04-08 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Ok if it doesn't take too long to run the tests (which may imply implementing something like Raymond's suggestion of randomizing test order, if you haven't already done so). I did something similar: if you don't pass the -uxpickle flag to

[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

2009-04-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I'll mark this as a release blocker for 2.6.2 for now, until Mark weighs in. -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5724

[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead

2009-04-08 Thread Andy Sk
Andy Sk python...@bitjug.com added the comment: Thank you Henrik. The workaround in the first comment caused some cookies to be handled incorrectly due to ignoring version on all cookies, but your workaround is nice. It seems that the patch jjlee supplied should really be applied, however,

[issue5725] process SysV-Semaphore support

2009-04-08 Thread jvdias
New submission from jvdias jason.vas.d...@gmail.com: Please could we have an API in the Python Core for PROCESS as opposed to THREAD Semaphores , to enable facilities such as I have done in the attached example psempy.so compiled C python module. ie. I'd like to be able to : ' import