[issue11218] pattern=None when following documentation for load_tests and unittest.main()

2011-02-15 Thread Martin von Gagern
New submission from Martin von Gagern martin.vgag...@gmx.net: If I follow the documentation at http://docs.python.org/library/unittest.html#unittest.main by putting the following two snippets of code in my module file: def load_tests(loader, standard_tests, pattern='test*.py'): # top

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread Fabian Groffen
Fabian Groffen grob...@gentoo.org added the comment: Sorry for the noise. My issue seems to be caused by a broken openssl. It is a specific problem with the code for sparcv9 and the T1 CPU. Python can't do much about this. -- versions: -Python 2.7

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the update on this issue. -- nosy: +orsenthil resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11217] python-32 not linked in /usr/local/bin in framework builds

2011-02-15 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Taking a quick look at it, it appears that the Mac Makefile installunixtools target could/should create those links. Note, this is not a problem for the standard OS X installers as Mac/BuildScript/build-installer.py (in buildPython) ensures that

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-15 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Shay.Rojansky: because of the fact that i needed a free last saturday for just having the time to click around a bit to find the relevant docs in the python.org jungle ... http://wiki.python.org/moin/Email%20SIG and *especially*

[issue877121] configure detects incorrect compiler optimization

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: If have the same issue with Oracle Studio 12.2 on Solaris 10 with Python 2.7.1: cc -G -L/livraison/test/sparc-sun-solaris2.10/support/support-2.6.x-py27/lib

[issue877121] configure detects incorrect compiler optimization

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Was fixed in r85656 by Martin (in 3.2), but needs backporting. -- assignee: - loewis nosy: +loewis, pitrou stage: needs patch - committed/rejected versions: -Python 3.2 ___ Python tracker

[issue11210] PyErr_SetFromWindowsErrWithFilenameObject() doesn't exist: remove it from pyerrors.h

2011-02-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis, mhammond ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11210 ___ ___ Python-bugs-list

[issue941346] AIX shared library fix

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Hum, I was incorrect in previous note: You can remove -L\$(srcdir) on this line, but then you need to specify the full path to Modules/python.exp. See patch below: Index: configure.in

[issue5831] Doc mistake : threading.Timer is *not* a class

2011-02-15 Thread Martijn van Oosterhout
Martijn van Oosterhout klep...@gmail.com added the comment: Note this is a behaviour change. Under the old scheme (Foo is a class) Foo.timerclass = Timer created a method, whereas now it will just assign the class as an attribute. To work around this you had to use _Timer. Will that dummy

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread River Tarnell
River Tarnell r.tarn...@ieee.org added the comment: If no one else can reproduce this I suppose there's no point leaving it open, but it's still present for me using Python 2.7.1: % bzip2 -dc Python-2.7.1.tar.bz | tar xvf - % cd Python-2.7.1 % CC=cc CXX=CC CPPFLAGS='-I/usr/sfw/include'

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread River Tarnell
River Tarnell r.tarn...@ieee.org added the comment: Also, when compiled with OpenSSL 1.0.0c, the problem doesn't occur. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7305 ___

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread Fabian Groffen
Fabian Groffen grob...@gentoo.org added the comment: I recompiled openssl with noasm flag now for sparcv9 (like I do on 32-bits compiles), and the example runs fine for me on the T1, proving Python is not to blame here. That said, if your problem only occurs with 0.9.8 isn't it then likely

[issue941346] AIX shared library fix

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: OK, Python with shared libraries is broken in trunk since the library was renamed to libpython3.2m. Here is a patch to correct that: Index: Modules/ld_so_aix.in ===

[issue941346] AIX shared library fix

2011-02-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This looks like it should (and could) go into 3.2 final. Agreed? -- nosy: +barry, benjamin.peterson, georg.brandl priority: normal - release blocker status: closed - open ___ Python tracker

[issue941346] AIX shared library fix

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Agreed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346 ___ ___ Python-bugs-list mailing

[issue941346] AIX shared library fix

2011-02-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: OK. Sébastien, could you make and attach a complete patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346 ___

[issue5831] Doc mistake : threading.Timer is *not* a class

2011-02-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Discussion should be moved to #10968, please. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5831 ___

[issue941346] AIX shared library fix

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Here is the full patch. I also modified Makefile.pre.in to clean Modules/python.exp when doing distclean. -- Added file: http://bugs.python.org/file20764/patch_aix_shared_32.diff ___

[issue941346] AIX shared library fix

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346 ___ ___

[issue11212] Python memory limit on AIX

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: This link flag should only be applied to the python executable. There is already LINKFORSHARED which is great for that. LDFLAGS will apply it to all the shared libraries which is not really what we want. I can compile Python with

[issue11212] Python memory limit on AIX

2011-02-15 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: -- versions: +Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11212 ___

[issue11212] Python memory limit on AIX

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: LDFLAGS will apply it to all the shared libraries which is not really what we want. Is there a downside? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11212

[issue11212] Python memory limit on AIX

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I don't know distutils well enough, but I am afraid the LDFLAGS flag used to compile python is reused in some way when linking some python extensions or some application that embed python. (I use an application that embed python on

[issue11188] test_time error on AIX

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Here is what I could find in the man mktime: Upon successful completion, the mktime subroutine sets the values of the tm_wday and tm_yday fields appropriately. Other fields are set to represent the specified time

[issue941346] AIX shared library fix

2011-02-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r88426. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346 ___

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2011-02-15 Thread River Tarnell
River Tarnell r.tarn...@ieee.org added the comment: Well, I can prove it's not OpenSSL's fault either, since openssl s_client works fine ;-) (As do many other OpenSSL-using applications.) In any case, since I'm not using SPARC, it's unlikely that a bug in the SPARC asm code is the cause of

[issue11188] test_time error on AIX

2011-02-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Sébastien, Can you tell us what time.localtime(t) produces for t in (-2, -1, 0, 1)? Apparently time.mktime() fails on values produced by time.localtime() and this sounds like a platform bug. It is OK to restrict time_t

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2011-02-15 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7877 ___

[issue11188] test_time error on AIX

2011-02-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It looks like different standards have different requirements for localtime() error handling compare: http://pubs.opengroup.org/onlinepubs/009695399/functions/localtime.html and

[issue640553] Misuse of /usr/local/in setup.py

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: This bug is still present in Python 2.7.1. I have also just been beaten by it on solaris. I have libintl.so.1 in /usr/lib and libintl.so.8 in /usr/local/lib. I have never specified that I wanted to use /usr/local/lib anywhere, but

[issue640553] Misuse of /usr/local/in setup.py

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I can only bypass this by explicitly specifying -L/usr/lib so that it will take precedence over -L/usr/local/lib. But this behavior is still broken... Explicit is better than implicit. I can see no reason why /usr/local should be

[issue3244] multipart/form-data encoding

2011-02-15 Thread Ben Gamari
Ben Gamari bgam...@gmail.com added the comment: Has there been any progress here? -- nosy: +bgamari ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___

[issue11188] test_time error on AIX

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Python 3.2rc3+ (py3k:88422M, Feb 15 2011, 16:57:29) [C] on aix6 Type help, copyright, credits or license for more information. import time for t in (-2, -1, 0, 1): ... print(time.localtime(t)) ...

[issue11188] test_time error on AIX

2011-02-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: 2011/2/15 Sébastien Sablé rep...@bugs.python.org: .. for t in (-2, -1, 0, 1): ...     print(time.localtime(t)) ... time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=59, tm_sec=58, tm_wday=3,

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, Sorry for the long delay. I have tested against a Python web application using restish via various WSGI web servers (CherryPy, wsgiref) and I have not seen problems. It may cause problems with other server-side implementations.

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Looks like bgamari and I stepped on each other's requests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___

[issue3244] multipart/form-data encoding

2011-02-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This patch needs a Doc component. Having finally taken a quick look at the RFC (I haven't read it through yet), I think this does belong in email and not http. The RFC makes it clear that while the most common implementation is http,

[issue9437] can't build extensions with non-default ldflags (e.g. -m32)

2011-02-15 Thread Landreville
Landreville landrevi...@deadtreepages.com added the comment: I've committed a patch which does just this (in r85422). Hopefully it won't break anything. Could I convince you to patch 2.7 as well? -- nosy: +TheoLandreville, benjamin.peterson ___

[issue10709] Misc/AIX-NOTES needs updating

2011-02-15 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Antoine, can you take a look at issue 730467? That's a trivial patch to correct a compilation issue on AIX with a C++ compiler; and that means one less entry in the AIX-NOTES file to write before the 3.2 release... --

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2011-02-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue730467 ___ ___ Python-bugs-list

[issue10709] Misc/AIX-NOTES needs updating

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: can you take a look at issue 730467? Yes, this is in my bug queue. But unless Georg decides otherwise, this will go in after 3.2 is released (in 3.2.1 probably). -- ___ Python tracker

[issue9437] can't build extensions with non-default ldflags (e.g. -m32)

2011-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've committed a patch which does just this (in r85422). Hopefully it won't break anything. Could I convince you to patch 2.7 as well? It was backported in r86848. This means it should be available in 2.7.2. --

[issue3244] multipart/form-data encoding

2011-02-15 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Yeah, despite what the RFC says, the most common usage is in web clients, and stuffing it in the email module won't be obvious to 95% of the population I think, unless that's where the implementation lives, but we can add a doc stub in the

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2011-02-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed to py3k in r88430. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue730467 ___

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, So is the following enough to get this applied? If so, I'm game. * Review RFC and enforce Content-Encoding: binary if applicable [checat]. * Generate CR+LF line endings [checat]. * Review RFC and address line-splitting and

[issue3244] multipart/form-data encoding

2011-02-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: In principle I think something like this should go in. Since it is a Message subclass, I'd like it to follow the current Message API whether or not it is located in the email package. __str__ and as_string have the right default for

[issue11217] python-32 not linked in /usr/local/bin in framework builds

2011-02-15 Thread Tom Loredo
Tom Loredo lor...@astro.cornell.edu added the comment: I believe the main Makefile makes the Mac/Makefile.in installunixtools target automatically, and I don't see that it should do the right thing regarding linking a python-32. I did the brew install again, logging the output, and adding an

[issue4709] Mingw-w64 and python on windows x64

2011-02-15 Thread Ralf Schmitt
Changes by Ralf Schmitt sch...@gmail.com: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___ Python-bugs-list mailing

[issue10504] Trivial mingw compile fixes

2011-02-15 Thread Ralf Schmitt
Changes by Ralf Schmitt sch...@gmail.com: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10504 ___ ___ Python-bugs-list mailing

[issue6335] Add support for mingw

2011-02-15 Thread Ralf Schmitt
Changes by Ralf Schmitt sch...@gmail.com: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___ Python-bugs-list mailing

[issue10615] Trivial mingw compile fixes

2011-02-15 Thread Ralf Schmitt
Changes by Ralf Schmitt sch...@gmail.com: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10615 ___ ___ Python-bugs-list mailing

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-02-15 Thread Winston Ewert
Winston Ewert winstonew...@gmail.com added the comment: I decided to try my hand at writing a patch for python. I ended up implementing the behavior for assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex. I also made those functions complain about other arguments rather then

[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-15 Thread Kelsey
New submission from Kelsey kelsey.highto...@gmail.com: Distutils2 should produce a warning when the license is specified in both the License and Classifier metadata fields -- assignee: tarek components: Distutils2 messages: 128624 nosy: alexis, eric.araujo, kelseyhightower, tarek

[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-15 Thread Kelsey
Kelsey kelsey.highto...@gmail.com added the comment: Changes and additional tests can be reviewed on my patch queue. https://bitbucket.org/khightower/distutils2-patch-queue/changeset/d7dff88ab524 -- ___ Python tracker rep...@bugs.python.org

[issue11220] https sslv3 error 14077417: illegal parameter

2011-02-15 Thread Ian Wetherbee
New submission from Ian Wetherbee ian.wether...@gmail.com: Certain https urls do not open using urllib2 (py2.6) and urllib(py3.1), but they open using the latest version of curl and firefox. To reproduce: import urllib.request

[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-02-15 Thread Tom Loredo
Tom Loredo lor...@astro.cornell.edu added the comment: I see this is marked as fixed but pending; perhaps the following comment will be useful. I encountered the IDLE/Tk instability issue when working on the Homebrew formula for Python-2.6.5 a year ago (March 2010). Building a universal

[issue11220] https sslv3 error 14077417: illegal parameter

2011-02-15 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11220 ___ ___ Python-bugs-list mailing

[issue1173475] __slots__ for subclasses of variable length types

2011-02-15 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- keywords: -after moratorium resolution: - wont fix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1173475 ___

[issue1498363] Improve super() objects support for implicit method calls

2011-02-15 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- keywords: -after moratorium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1498363 ___ ___