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
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
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
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
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*
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
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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis, mhammond
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11210
___
___
Python-bugs-list
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
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
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'
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
___
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
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
===
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
Antoine Pitrou pit...@free.fr added the comment:
Agreed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue941346
___
___
Python-bugs-list mailing
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
___
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
___
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
___
Antoine Pitrou pit...@free.fr added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue941346
___
___
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
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
___
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
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
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
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
___
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
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
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
___
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
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
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
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
___
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))
...
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,
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.
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
___
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,
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
___
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...
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue730467
___
___
Python-bugs-list
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
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.
--
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
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
___
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
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
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
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4709
___
___
Python-bugs-list mailing
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10504
___
___
Python-bugs-list mailing
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6335
___
___
Python-bugs-list mailing
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10615
___
___
Python-bugs-list mailing
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
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
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
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
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
Changes by Georg Brandl ge...@python.org:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11220
___
___
Python-bugs-list mailing
Changes by Senthil Kumaran orsent...@gmail.com:
--
keywords: -after moratorium
resolution: - wont fix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1173475
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
keywords: -after moratorium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1498363
___
___
60 matches
Mail list logo