[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-26 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: About importance to have a maintainable pure libraries and speedups for them. Believe it or not, but the only reason why Python 2.x did not get RFC 3339 implementation in standard library is that datetime module is in C. I hope

[issue9085] Version number inconsistency in email package

2010-06-26 Thread Tokio Kikuchi
New submission from Tokio Kikuchi tkiku...@users.sourceforge.net: Python 2.6 email version number is 4.0.1 while that of py2.5 is 4.0.2. Clearly, py2.6 email is newer and should have higher number. -- components: Library (Lib) messages: 108688 nosy: tkikuchi priority: normal severity:

[issue4804] Python on Windows disables all C runtime library assertions

2010-06-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Why is this issue still open? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4804 ___

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I would add I was building 64-bit, so adding the compiler flag -m64 on 'hawk' at least some of the time. Ah; that may be relevant. Can you tell us exactly what command line you're using to build Python, and the values of any relavent

[issue1718574] build_clib --build-clib/--build-temp option bugs

2010-06-26 Thread Pearu Peterson
Pearu Peterson pe...@users.sourceforge.net added the comment: I wonder why this issue is not fixed already. The fix would be trivial (add two `=`) and the bug is due to a simple typo (the current behavior is conflicting with the documentation and options intentions, see `setup.py build_clib

[issue3244] multipart/form-data encoding

2010-06-26 Thread Konstantin Pelepelin
Konstantin Pelepelin konstantin.pelepe...@gmail.com added the comment: Did you test it against server-side form-data parser implementation? It will be useless if it won't work with most widespread implementations: PHP's and at least some others (consider some popular python web frameworks).

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-26 Thread gonegown
gonegown nomedo...@gmail.com added the comment: @Amaury: What you're saying about directory naming is right indeed. But the case has begun from cyrillic letters in the NTFS path, which I do not use, but the users of my soft do. So putting the program into such directory makes the former

[issue8896] email.encoders.encode_base64 sets payload to bytes, should set to str

2010-06-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8896 ___

[issue3243] Support iterable bodies in httplib

2010-06-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review nosy: +orsenthil stage: unit test needed - patch review versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: David, I'm still missing some easy answers that would really help. Please could you answer the question about whether __EXTENSIONS__ is defined in your pyconfig.h; it would help determine what we should be investigating. There shouldn't be

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Stefan, thanks for the feedback. I don't *think* this is related to issue 7281. I thought we'd determined that that issue had nothing to do with copysign itself, and everything to do with what the signbit of the NaN returned by float(nan)

[issue2942] mingw/cygwin do not accept asm file as extension source

2010-06-26 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Terry, my patch in #3871 don't supersede this issue. In patch to #3871 for mingw host I use same work-around as for all other platforms Lets see the code of setup.py methods configure_ctypes...(..) : . # Add .S

[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le samedi 26 juin 2010 à 00:50 +, Alexander Belopolsky a écrit : For io, we find this quite manageable indeed, although it is quite more complex and quirkier than datetime. I don't understand how something being more complex and

[issue9069] test_float failure on Solaris

2010-06-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org wrote: I don't *think* this is related to issue 7281. I thought we'd determined that that issue had nothing to do with copysign itself, and everything to do with what the signbit of the NaN

[issue4640] optparse - dosn't distinguish between '--option' and '-option'

2010-06-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, I am interpreting your comment as saying that this is not a bug. No, I tried to explain that it is a bug :-) add_option(-debug, --debug, ...) and add_option(-debug, ...) should raise an error. --

[issue9086] Wrong linking terminology in windows FAQ

2010-06-26 Thread John Miller
New submission from John Miller gyu...@gmail.com: The 'How can I embed Python' section in the 'Python on Windows FAQ' (http://docs.python.org/faq/windows.html) uses wrong terms: What the FAQ calls static linking and dynamic linking are actally two forms of dynamic linking - load-time dynamic

[issue4640] optparse - dosn't distinguish between '--option' and '-option'

2010-06-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Reopen: add_option(-debug, --debug, ...) and add_option(-debug, ...) should raise an error and have a test. -- resolution: invalid - status: closed - open ___ Python tracker

[issue4640] optparse doesn't distinguish between '--option' and '-option'

2010-06-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Oh, we all focused on “-debug is not recognized as --debug” and forgot that the bug report also said “optparse does not complain when -debug is specified” (not sure if that meant “added” or “given on the command line”). We have to check if the

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-06-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: optparse doesn't distinguish between '--option' and '-option' - optparse doesn’t disallow adding one-dash long options (“-option”) ___ Python tracker rep...@bugs.python.org

[issue9086] Wrong linking terminology in windows FAQ

2010-06-26 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9086 ___ ___ Python-bugs-list

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I got this in an email from the OP. Hi, I don't even remember this issue any more, but it seems to me that it is completely irrelevant that the error occurred with software that now how has a newer version. That the essential fact is

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-26 Thread S Arrowsmith
S Arrowsmith si...@chiark.greenend.org.uk added the comment: Sorry, still there: Python 2.7rc2 (r27rc2:82137, Jun 26 2010, 11:27:59) [GCC 4.3.2] on linux2 Type help, copyright, credits or license for more information. import mimetypes mimetypes.guess_extension('image/jpeg') '.jpe'

[issue9085] Version number inconsistency in email package

2010-06-26 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: In python2.5 email version is 4.0.2 In python2.6 email version is 4.0.1 In python 2.7rc2 email version is 4.0.2 I think version number is wrong with 2.5, it should have been 4.0.0 rather than 4.0.2. David: Adding you as nosy so as you

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Hi, __EXTENSIONS__ is defined to 1. Give me an hour, and I'll attach a log. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9069

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-26 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: Can't reproduce. 16:36:36 l0nwlf-MBP:~$ python2.7 Python 2.7rc2+ (trunk:82148M, Jun 22 2010, 10:32:46) [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin Type help, copyright, credits or license for more information. import

[issue9085] Version number inconsistency in email package

2010-06-26 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I doubt we would care about changing the version number in Python 2.5. Python 2.5 *might be* only in Security Fix mode and this does not qualify for a change in Python 2.5. So, just leave it as it is and don't rely on the version number is

[issue9085] Version number inconsistency in email package

2010-06-26 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9085 ___

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The original report isn't very useful; without further constructive feedback from the OP I agree this issue should be closed. For example: The HUGE_VAL aka infinity issue is solved if the LIB is -lsunmath -lm instead of just -lm What is

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: BTW, if there *is* still a problem with building Python 2.6 then closing as 'out of date' wouldn't be appropriate (yet). 2.6 is still receiving bugfixes at this point. -- ___ Python tracker

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Here's a build done the same way as you. This gives the same result as you here. But an attempt to run the test suite fails because of _socket. I need to patch that in order that I can run the test suite. See

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Here's the header file that gets created -- Added file: http://bugs.python.org/file17776/pyconfig.h ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9069

[issue3966] Win32ErrorTests from test_os.py

2010-06-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Here is the code from test_os.py for Python 2.6.5. def test_mkdir(self): self.assertRaises(WindowsError, os.chdir, test_support.TESTFN) def test_access(self): self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0) def

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the logs. So if you apply the issue8852 patch, and run the test suite, does test_float still fail? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9069

[issue4299] 3.0rc2.msi Install Fails (Error Code 2755)

2010-06-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I think this should be closed as it refers to Python 3.0rc2 and the error code given is Windows MSI specific, not Python. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue4299] 3.0rc2.msi Install Fails (Error Code 2755)

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Agreed; Closing. Though if the OP still has this problem with the MSI installs for current versions of Python (2.6, 2.7, 3.1 or 3.2), then we might want to reopen and investigate further. -- nosy: +loewis, mark.dickinson

[issue8943] Bug in InteractiveConsole

2010-06-26 Thread Steve Holden
Changes by Steve Holden st...@holdenweb.com: -- nosy: +holdenweb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8943 ___ ___ Python-bugs-list

[issue4655] during Python installation, setup.py should not use .pydistutils.cfg

2010-06-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Could an installation guru please take a look at this? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4655 ___

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Sorry, I seem to have wasted a lot of your time here. Python was built from a script which applied some patches - including that one that allows _socket to build. Without that (which is not commit to python and I'm told it might not be

[issue4655] during Python installation, setup.py should not use .pydistutils.cfg

2010-06-26 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4655 ___ ___ Python-bugs-list

[issue4945] json checks True/False by identity, not boolean value

2010-06-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: As a patch has been provided can't this be moved forward? The Python versions also need updating. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: File F:\1home\С\u201e\a.py, line 1, in module And what the hell is this u201e? That should have been a letter! It's probably this symbol: http://www.eki.ee/letter/chardata.cgi?ucode=201e but it has no representation in the console

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: But the case has begun from cyrillic letters in the NTFS path, which I do not use, but the users of my soft do. So putting the program into such directory makes the former unuseable; until the sources are in utf anyway. I agree

[issue8852] _socket fails to build on OpenSolaris x64

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: I think I spoke too soon. I just downloaded the 2.7.rc2. Using both 32 and 64-bit builds, with the only patch being that I attached to issue8852 some months back, the problem occurs again. test_float test test_float failed --

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I see the same _socket build failure as you do; but with the issue 8852 patch, I can run the test suite. It did spend quite a while in test_posix, but the test eventually finished (and failed). I didn't get to the end of the test run,

[issue8852] _socket fails to build on OpenSolaris x64

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Sorry, I put that note on the wrong issue! ignore it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8852 ___

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: test_float test test_float failed -- Traceback (most recent call last): File /export/home/drkirkby/Python-2.7rc2/Lib/test/test_float.py, line 1297, in test_roundtrip self.identical(-x, roundtrip(-x)) File

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Sorry, I missed out the comment there. This is failing for me, in boht 32 and 64-bit builds with Python-2.7rc2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9069

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread scott wedel
scott wedel taverng...@gmail.com added the comment: You all take 7 months to first look at the issue and then decide that you'd like more information because the initial submission was incomplete? Oh well, Suit yourself. Doesn't matter to me. I've already stopped using sunstudio. That

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4919 ___

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Okay---this one I *can* reproduce. :) I'm going to call it a gcc optimization bug. Specifically, it seems to be a bug involving gcc's builtin version of the copysign function. When I build a current svn trunk checkout (r82245) with:

[issue3385] cPickle to pickle conversion in py3k missing methods

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Do I understand correctly that the issue is that python Pickler class has dispatch attribute but C Pickler does not? The add_dispatch_check-0.patch patch does not seem to add class attribute, it adds an instance

[issue9069] test_float failure on Solaris

2010-06-26 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: I'm glad you can reproduce it! I can understand you wanting to close it in this case. I've no problem with that. To me at least, it does not seem anywhere near as serious as the other problem. I will try it on Linux though. I have

[issue762963] timemodule.c: Python loses current timezone

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I agree with Martin. A proper fix would be to use tm_gmtoff explicitly where available and carry it in time.struct_time. See issue1647654 and issue4086. Interestingly, the issue does not show up on OSX, which being a

[issue762963] timemodule.c: Python loses current timezone

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Another related issue is issue1667546. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762963 ___

[issue7673] audioop: check that length is a multiple of the size

2010-06-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-2089 claims that this issue is about security vulnerability. This problem seems to also affect at least Python 2.6. -- versions: +Python 2.6

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's some minimal failing code. // Compile with: // gcc-4.4 -m64 -fno-inline -g -O3 copysign_bug.c -o copysign_bug #include math.h #include stdio.h int copysign_bug(double x) { if (x (x * 0.5 == x)) return 1; if (copysign(1.0,

[issue9069] test_float failure on Solaris

2010-06-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark, gcc-4.4 on Fedora 12 is ok: [ste...@fedora-amd64 trunk]$ ./python Python 2.7rc2+ (trunk:82245M, Jun 26 2010, 13:09:14) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2 Type help, copyright, credits or license for more

[issue9069] test_float failure on Solaris

2010-06-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Fedora 12: copysign-bug varies wildly ((GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)): [ste...@fedora-amd64 trunk]$ gcc -O0 copysign_bug.c -o copysign_bug [ste...@fedora-amd64 trunk]$ ./copysign_bug copysign_bug(-0) = 2 copysign_bug(0) = 3

[issue9069] test_float failure on Solaris

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks Stefan. The bug apparently exists in gcc-4.5 on OS X as well. I'll update the gcc bug report. newton:~ dickinsm$ gcc-mp-4.5 -fno-inline -O3 copysign_bug.c -o copysign_bug ./copysign_bug copysign_bug(-0) = 3 copysign_bug(0) = 3

[issue9087] json docstrings on 3.x still use 'unicode' and 'str'

2010-06-26 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: In the json package there are still lot of docstrings that refer to 'unicode' and 'str' instead of 'str' and 'bytes' (AFAIU 'bytes' are not even allowed anymore in several places, so there should probably be only 'str' there). A few

[issue9085] Version number inconsistency in email package

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: What appears to have happened is that the 2.5 maintenance release was branched *before* the release was cut, but Barry bumped the version of the email package after the branch and did not backport that bump to trunk. Between 2.5 and

[issue9024] PyDateTime_IMPORT macro incorrectly marked up

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r82251. Thanks for the patch, Tim. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9024

[issue9084] vimrc: use matchall() instead of :match to allow multiple matches

2010-06-26 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon keywords: +needs review nosy: +brett.cannon priority: normal - low stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org

[issue9085] Version number inconsistency in email package

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Bumps committed in r82246 and r82257. -- resolution: accepted - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It is true that your proposed feature would provide a way for a programmer to manually resolve the cycle issue; however, the open issue in the pep is how to do this automatically. But if you hold on to the traceback reference, you

[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Alexander and Antoine, you are talking past each other. Alexander: Antoine was trying to point out that the fact that io is quirky has not impacted their ability to maintain parallel versions significantly. So if datetime is less

[issue3754] cross-compilation support for python build

2010-06-26 Thread Roumen Petrov
on build system if host system lack them. -- Added file: http://bugs.python.org/file17778/python-trunk-20100626-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754

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

2010-06-26 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: - require patch ...20100626-CROSS... from issue3871; - setup.py don't ignore readline and ncurses for host platform : python tests with readline pass, ncurses (current development) is not usable yet; - follow restored build

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: S Arrowsmith: can put a print statement into mimetypes.init, find out what files are loading, and paste the image/jpeg lines from each of those files here? That might provide a clue. -- priority: normal - low stage: - unit

[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I see. I misunderstood AP's although as however, but he probably meant even though or in spite the fact that. Antoine, can I count you as +1? In any case, my threshold for moving this forward is for someone to review

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-26 Thread Greg Hazel
Greg Hazel gha...@users.sourceforge.net added the comment: you should *expect* all those values to persist, so that shouldn't be surprising. It's not something I expected, and the warnings around traceback objects are a good indication that other developers have not expected it either. One

[issue4945] json checks True/False by identity, not boolean value

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Most likely we are waiting for Bob's review. Have you tested the patch? -- nosy: +r.david.murray stage: - patch review versions: +Python 3.2 -Python 3.0 ___ Python tracker

[issue8852] _socket fails to build on OpenSolaris x64

2010-06-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'm also seeing the failure of the _socket module to build on OpenSolaris build snv_134 (the most recent development build). The socketmodule.c.patch patch fixes that failure for me, allowing the test-suite to run. I'm afraid I don't feel

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Excellent. As for twisted, I'm just repeating what I understood of what he said when I asked. It could well be that this feature would help them, I don't know. -- ___ Python tracker

[issue1035576] Add New RPM-friendly record option to setup.py

2010-06-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: distutils is now frozen in all branches, so not accepting new features but just bug fixes. although distutils2 will not provide bdist_rpm, and I'd suggest the command to live on its own, in a new project (like bdist_deb did in stdeb). The

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-26 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Stefan, I tried your suggestion of starting threading. Test still succeeds on my 10.5.8 system when test_uuid is run separately. Ronald, your fix works on my 10.5.8 system. Why not check it in, and let's see if the buildbots turn green

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-06-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Is this still a problem? None of the buildbot are reporting failures in test_macostools. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue763708

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-26 Thread S Arrowsmith
S Arrowsmith si...@chiark.greenend.org.uk added the comment: import mimetypes mimetypes.guess_extension('image/jpeg') /etc/mime.types '.jpe' mimetypes.init() /etc/mime.types mimetypes.guess_extension('image/jpeg') '.jpeg' $ grep jpeg /etc/mime.types image/jpeg

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-06-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue763708 ___ ___

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-06-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380 ___ ___ Python-bugs-list

[issue1909] Backport: Mixing default keyword arguments with *args

2010-06-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Now it's too late for this. Closing as out of date. -- keywords: -26backport nosy: +ezio.melotti resolution: - out of date stage: - committed/rejected status: open - closed type: - feature request

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-06-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +janssen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue763708 ___ ___ Python-bugs-list

[issue9088] revert distutils so it's like in 3.1

2010-06-26 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: distutils is going back to its 3.1 state, as planned at the summit (done in 2.7/trunk already). Should be done over the week end -- assignee: tarek messages: 108757 nosy: tarek priority: release blocker severity: normal status:

[issue9088] revert distutils so it's like in 3.1

2010-06-26 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9088 ___ ___ Python-bugs-list

[issue5705] os.getpwent returns unsigned 32bit value, os.setuid refuses it

2010-06-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think this can be closed, now that there is another issue for posix_lchown. -- nosy: +ezio.melotti stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2292] Missing *-unpacking generalizations

2010-06-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list

[issue655802] cPickle not always same as pickle

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: What is the status of this? issue1536 is an open documentation issue. Is this similarly a documentation enhancement request or there is a case when pickle and CPickle produce different and incompatible serializations?

[issue755286] Generate rpm filelist including directories

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: See Tarek's message on #1035576. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue755286 ___

[issue828743] bdist_rpm failure when no setup.py

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: see msg108752 -- nosy: +tjreedy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue828743 ___

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: see msg108752 -- nosy: +tjreedy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5482 ___

[issue6546] [Distutils][PATCH] Add bdist_rpm option to select the name of the resulting package

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: see msg108752 -- nosy: +tjreedy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6546 ___

[issue1028432] Specify a source baseurl for bdist_rpm.

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: see msg108752 -- nosy: +tjreedy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1028432 ___

[issue1035576] Add New RPM-friendly record option to setup.py

2010-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: On 6/26/2010 5:36 PM, Tarek Ziadé wrote: Tarek Ziadéziade.ta...@gmail.com added the comment: distutils is now frozen in all branches, so not accepting new features but just bug fixes. although distutils2 will not provide bdist_rpm, and

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: See http://docs.python.org/dev/py3k/c-api/number.html#PyNumber_Int I also noticed some left-over references to intobject in the comments in the py3k tree: Include/longobject.h:61:/* For use by intobject.c only */

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-06-26 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Failing on my PPC Tiger OS X buildbot, with 2.6, too. -- nosy: +janssen versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8447

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: If I disable _pickle, I get a more meaningful trace: File Tools/pybench/pybench.py, line 954, in module PyBenchCmdline() File /Users/sasha/Work/python-svn/py3k-commit/Tools/pybench/CommandLine.py, line 349, in

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: The bytes/string issu was a red herring: with pickle.load(open('27.bench', 'b')), I get the same stack trace as from command line pybench invocation. pickle.load(open('27.bench', 'rb')) Traceback (most recent call

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2010-06-26 Thread Eric Hohenstein
New submission from Eric Hohenstein ehohenst...@imvu.com: This error is unfortunately difficult to reproduce. I've only seen it happen on Windows XP running on a dual core VMWare VM. I haven't been able to reproduce it on a non-VM system running Windows 7. The only way I've been able to

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-26 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Hmm. It looks like another pickle vs. _pickle issue. Attached patch is a result of 2to3 applied to Tools/pybench (and a minor manual fix for pickle import) with _pickle import disabled. With the patch applied, $

[issue9091] str.capitalize() should not lower the rest of the string

2010-06-26 Thread Esteban Feldman
New submission from Esteban Feldman esteban.feld...@gmail.com: As per documentation: I doesn't say anything on lower the rest of the string. Is this the expected behavior? ** str.capitalize()¶ Return a copy of the string with only its first character capitalized. For 8-bit strings, this method

  1   2   >