Lars Gustäbel l...@gustaebel.de added the comment:
I attached a patch that uses TESTFN. Please verify that it works and
then one of us checks it in.
--
keywords: +patch
Added file: http://bugs.python.org/file15304/issue7295.diff
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for filing the report! Some questions:
If you configure with the --with-pydebug option, and also do whatever
else (if anything) is necessary to remove the -O2 flag from the
compilation steps, does the build failure still occur?
New submission from ledave123 ledave...@yahoo.fr:
On python 2.4.4, reversed(range()) is correct :
list(reversed(range(12,-1,-1)))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
However, on python 3.1.1 :
list(reversed(range(12,-1,-1)))
[]
which is obviously wrong.
When step is positive, the
Mark Dickinson dicki...@gmail.com added the comment:
Nice catch! Thanks for reporting this.
get_len_of_range in Objects/rangeobject.c only works for positive steps,
but is being called with a negative step here.
I think get_len_of_range should be changed to work with both positive
and
Ole Laursen o...@iola.dk added the comment:
As the reporter of issue 7276, I think it's a clear explanation of this
phenomonen. I think that maybe you should remove the New Python
programmers in
New Python programmers are often surprised when they get this error in
previously working code
Mark Dickinson dicki...@gmail.com added the comment:
There's another problem with range_reverse: it uses a short range (all
fields longs) if start, stop and step fit into a C long. But it doesn't
check whether the length fits into a C long. This leads to the following:
Francesco Frassinelli frap...@gmail.com added the comment:
Site: http://ftp.vim.org/pub/vim/unstable/patches/
Outuput without error customized function:
[...]
File ./takeit.py, line 54, in inspect
parser.feed(data.read().decode())
File /home/frafra/Scrivania/takeit/html/parser.py, line
Francesco Frassinelli frap...@gmail.com added the comment:
I'm using Python 3.1.1 and the patch (patch.txt, provided by smroid)
works very well. It's usefull, and I really need it, thanks :)
Without this patch, I can't parse: http://ftp.vim.org/pub/vim/ (due to a
fake tag, like u...@mail.com),
Mark Dickinson dicki...@gmail.com added the comment:
Further investigations show that range_iter has the same problem. :-(
for x in range(-1, 2**63-1): print(x)
...
(no output)
This really needs to be fixed. Upgrading to release blocker, and
removing the easy flag.
--
keywords:
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7298
___
___
Python-bugs-list mailing
New submission from Matthias Klose d...@debian.org:
Got an user report about setup.py install not honoring PYTHONUSERBASE.
Is this by design? If not, the attached patch seems to implement this
functionality.
--
assignee: tarek
components: Distutils
files: userbase.diff
keywords: patch,
Tarek Ziadé ziade.ta...@gmail.com added the comment:
install_userbase is using USER_BASE which is in site.py.
This value is initialized when Python starts, and does check for
PYTHONUSERBASE in the environ. (if ENABLE_USER_SITE is true)
If this doesn't happen, this is most likely because the
Eric Smith e...@trueblade.com added the comment:
so str.format() might raise an OverflowError for values = 128 (or =
256?)
Maybe, but the issue you reported is in unicode.format() (not
str.format()), and I think that should be fixed. I'm trying to think of
how best to address it.
As for the
Walter Dörwald wal...@livinglogic.de added the comment:
Done: issue 7300.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7267
___
___
New submission from Walter Dörwald wal...@livinglogic.de:
str.format() doesn't handle unicode arguments:
Python 2.6.4 (r264:75706, Oct 27 2009, 15:18:04)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type help, copyright, credits or license for more information.
'{0}'.format(u'\u3042')
Mark Dickinson dicki...@gmail.com added the comment:
Here are some tests.
--
keywords: +patch
stage: - needs patch
Added file: http://bugs.python.org/file15306/issue7298_test.patch
___
Python tracker rep...@bugs.python.org
New submission from Barry A. Warsaw ba...@python.org:
It would be very useful to have an environment variable $PYTHONWARNINGS,
tied to the -W option for silencing various warnings (most importantly,
DeprecationWarnings).
Use case: a test suite running many subprocesses, testing that those
jasper jas...@humppa.nl added the comment:
After properly compiling with -O0, it actually gets a lot further in the
build. It crashes elsewhere though:
PYTHONPATH=/usr/obj/ports/Python-2.6.3/fake-sgi/usr/local/lib/python2.6
./python -Wi -tt
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2422
___
___
Python-bugs-list
Rene Dudfield ill...@users.sourceforge.net added the comment:
Adding distutils to components for this old msi patch.
These seem like useful things for those making msi packages with distutils.
--
components: +Distutils
nosy: +illume
___
Python
Mark Dickinson dicki...@gmail.com added the comment:
Hmm. I don't understand that backtrace at all. It seems to say that
the conversion of this particular double value (2.34e17) to long is
causing some kind of arithmetic exception. I'd assume overflow, except
that the configure script says
jasper jas...@humppa.nl added the comment:
this little test program:
#include unistd.h
int main(int argc, char*argv[])
{
printf(short = %d\n, sizeof(short));
printf(int = %d\n, sizeof(int));
printf(float = %d\n, sizeof(float));
printf(long = %d\n, sizeof(long));
printf(double = %d\n,
Senthil Kumaran orsent...@gmail.com added the comment:
drukker: I verified your patch. Looks fine for changes made to the
subprocess call.
You mentioned: I've also unified the Unix and Windows portions in
run_cgi. Both now use subprocess.
I don't see it in the patch. Was it that you assumed
Mark Dickinson dicki...@gmail.com added the comment:
Sorry, I'm running out of ideas. The traceback is truly baffling.
I'm not sure why you're configuring with --with-fpectl. Does removing
this make any difference?
Maybe you could also try copying _PyHash_Double into a small test program,
Ned Deily n...@acm.org added the comment:
The missing return result in the else case has been subsequently fixed in
r75539 (py3k) and r75541 (3.0) so this issue should be re-closed.
--
___
Python tracker rep...@bugs.python.org
New submission from Egon Frerich e.frer...@nord-com.net:
There is a wrong link in
http://docs.python.org/library/xml.dom.html#domimplementation-objects
Python Language Mapping Specification
is linked to
http://www.omg.org/docs/formal/02-11-05.pdf
but I assume it should be
Changes by Ned Deily n...@acm.org:
--
assignee: - ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
versions: -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7072
___
Changes by Derk Drukker derk.druk...@gmail.com:
Removed file: http://bugs.python.org/file15181/fix-issue1235-py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1235
___
Derk Drukker derk.druk...@gmail.com added the comment:
orsenthil: I reverted the changes that make Windows and Unix use the
same code in Patch Set 3, and briefly mentioned the reason for that in
the Rietveld app. I should have mentioned it here too.
It was because it actually makes the
Antoine Pitrou pit...@free.fr added the comment:
I've committed the latest patch in r76189. Thanks for the reviews, everyone.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3001
R. David Murray rdmur...@bitdance.com added the comment:
Committed, with your suggested rewording, in r76190.
--
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Ok, if nobody objects, I will commit it since it's simple enough and
blocks any attempt at diagnosing test_multiprocessing under Windows.
--
___
Python tracker rep...@bugs.python.org
Jesse Noller jnol...@gmail.com added the comment:
Please do; I've been swamped - I'm sorry
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7197
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Strictly speaking, they apply to Tools/msi only (IIUC). So adjusting
them to msilib is likely extra work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2399
New submission from ulrik ulrik.sverd...@gmail.com:
The module pkgutil has no documentation of functions added after its
introduction, in the official python documentation collection.
http://docs.python.org/dev/py3k/library/pkgutil.html
The module is well documented with docstrings.
I assume
New submission from R. David Murray rdmur...@bitdance.com:
The following produces a non-conformant message, since the us-ascii
charset is strictly 7bit:
import email.message
m = email.message.Message()
m.set_payload(A few lines
... of 8-bit text
...
... One high bit character: ².
... ,
Changes by Philip Jenvey pjen...@underboss.org:
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7301
___
___
Python-bugs-list
Changes by Tatsuhiro Tsujikawa tsujik...@gp.hitachi.co.jp:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7291
___
___
Senthil Kumaran orsent...@gmail.com added the comment:
Committed revision 76208 in trunk. Shall look at the output of windows
buildbots and merge the changes to other codelines.
--
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
nosy: +pje
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7303
___
___
Python-bugs-list
Ned Deily n...@acm.org added the comment:
The test program depends on an external third-party module graphics.
From the problem description and a web search, I assume the file is:
http://mcsp.wartburg.edu/zelle/python/graphics.py
Can you confirm that?
Using that module, target.py runs on
Senthil Kumaran orsent...@gmail.com added the comment:
Committed revision 76209 - release26-maint
Committed revision 76210 - py3k
Committed revision 76211 - release31-maint
Thanks Derk for the patch.
--
resolution: - fixed
status: open - closed
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
The graphics module runs Tk in a separate thread, which means it
accesses the Apple GUI frameworks from a thread that is not the main
thread.
This is AFAIK not supported by Apple, which would explain why it doesn't
work.
I'll look
43 matches
Mail list logo