Change by Andreas Kloeckner :
--
nosy: +inducer
___
Python tracker
<https://bugs.python.org/issue21873>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andreas Kloeckner :
--
nosy: +inducer
___
Python tracker
<https://bugs.python.org/issue21161>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andreas Kloeckner:
For tests and doctests, it is often desirable to show or verify that a certain
warning occurs. Unfortunately, if the warning has been hit previously, it will
not be issued again. It would be great if there were a documented, unified way
to reset
Changes by Andreas Kloeckner inf...@tiker.net:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20131
___
___
Python-bugs
New submission from Andreas Kloeckner:
This line in the _struct module references a PyStructType that isn't
declared anywhere. This is only apparent when the file is compiled without
-DNDEBUG.
http://hg.python.org/cpython/file/1410b7790de6/Modules/_struct.c#l43
--
components
Andreas Kloeckner added the comment:
Whoops. I'm an idiot. Forget I said anything.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17687
Andreas Kloeckner added the comment:
(Forgot to say: sorry.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17687
___
___
Python-bugs-list
Andreas Kloeckner added the comment:
Thanks for the suggestion. Since 3.2 and 3.3 will be with us for a while, I've
implemented the workaround you've suggested. Works, too. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
New submission from Andreas Kloeckner:
traceback.format_exception() used to work properly with the 'arg' value passed
to a tracing function set up via sys.settrace for an 'exception' event. In
Python 3.x, this is no longer the case. Below you'll find what the attached
test produces
Andreas Kloeckner inf...@tiker.net added the comment:
ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4949
___
___
Python-bugs-list mailing
New submission from Andreas Kloeckner inf...@tiker.net:
$ python3.1 -m a b.py
results in
Traceback (most recent call last):
File /usr/lib/python3.1/runpy.py, line 128, in _run_module_as_main
__main__, fname, loader, pkg_name)
File /usr/lib/python3.1/runpy.py, line 34, in _run_code
Andreas Kloeckner inf...@tiker.net added the comment:
ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4949
___
___
Python-bugs-list mailing
Andreas Kloeckner inf...@tiker.net added the comment:
The fix breaks my package PyCUDA, which relies on handing struct something that
can be cast to long. (i.e. not a float, but something representing a memory
address on a GPU)
Am I out of luck?
--
nosy: +inducer
Andreas Kloeckner inf...@tiker.net added the comment:
AFAICS, __index__ would be fine.
To make sure I understand your proposed solution correctly: You'd go through
the argument list beforehand and cast everything that's not a number type or
str to int by means of __index__
Andreas Kloeckner inf...@tiker.net added the comment:
Thanks for the clarification of 'beforehand'--I had understood from your
description that this would be some sort of preprocessing step.
I agree that the TypeError is a bit much, though I'm biased of course. If you'd
like my input
Andreas Kloeckner inf...@tiker.net added the comment:
Vladislav: The behavior you find funny is actually correct. pass is a
statement and as such not allowed in a lambda. (only expressions are)
Your posting is unrelated to this bug report. If you're still confused,
please ask on comp.lang.python
Changes by Andreas Kloeckner inf...@tiker.net:
--
nosy: +inducer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1652
___
___
Python-bugs-list
Changes by Andreas Kloeckner inf...@tiker.net:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4949
___
___
Python-bugs
New submission from Andreas Kloeckner inf...@tiker.net:
Take this program:
8 ---
print START
a = [
1
for i in range(10)]
8 ---
as a.py, run python -m pdb a.py, say b 3 to set a breakpoint
New submission from Andreas Kloeckner inf...@tiker.net:
Steps to reprdocue:
1) Debug a program with a syntax error in pdb.
2) Get the SyntaxError traceback.
3) Hit q to quit.
4) Another SyntaxError traceback, and you're back at the Pdb prompt.
--
components: Library (Lib)
messages
New submission from Andreas Kloeckner inf...@tiker.net:
I get this debugger session with the attached file. Note that even
though a NameError occurs, no indication of that error is visible on the
debugger conosle.
8 -
$ python -m
Changes by Andreas Kloeckner inf...@tiker.net:
--
title: Python bebugger ignores exception if instructed to return from generator
- Python debugger ignores exception if instructed to return from generator
___
Python tracker rep...@bugs.python.org
New submission from Andreas Kloeckner inf...@tiker.net:
The name argument to PyErr_NewException() should be changed from char
* to const char *. Since the rest of pyerrors.h is const-correct,
this seems like an omission.
--
components: Interpreter Core
messages: 79868
nosy: inducer
New submission from Andreas Kloeckner [EMAIL PROTECTED]:
Check out this transcript:
8 ---
Python 2.5.2 (r252:60911, Aug 8 2008, 09:22:44)
[GCC 4.3.1] on linux2
Type help, copyright, credits or license for more information
New submission from Andreas Kloeckner:
This here basically says it all:
import cmath;[cmath.asinh(i*1e-17).real for i in range(0,20)]
[4.4408920985006257e-16, 4.4408920985006257e-16, 4.4408920985006257e-16,
4.4408920985006257e-16, 4.4408920985006257e-16, 4.4408920985006257e-16
Andreas Kloeckner added the comment:
On Samstag 03 November 2007, Martin v. Löwis wrote:
Martin v. Löwis added the comment:
Can you propose a patch?
Other than point at how boost.math does things, I don't have the time to work
on this right now, sorry.
Andreas
New submission from Andreas Kloeckner:
The attached program uncovers a two-fold performance regression in
Python 2.5 with respect to Python 2.4. Below, the element-wise case
goes from 2.5 seconds in 2.4 to about 4 in 2.5. Since that's a pretty
serious increase, I thought I'd point it out
27 matches
Mail list logo