Tony Nelson schrieb:
Hmm, OK, darn, thanks. MSWindows does allow users to press Ctl-C to send a
KeyboardInterrupt, so it's just too bad if I can't find a way to test it
from a script.
You can use GenerateConsoleCtrlEvent to send Ctrl-C to all processes
that share the console of the calling
On Thu, Jul 20, 2006 at 08:52:34PM -0700, Brett Cannon wrote:
* Summary
A one-line describing the problem so as to make it easy for
developers to spot whether they have the expertise needed to work on
the bug.
Summary is also displayed as a title on index and search pages, so it is
Anthony Baxter schrieb:
In any case, I bumped the version number to 2.5, according to the
policy discussed in
Could this not simply use the Python version number directly, instead?
See the prior discussion at
http://mail.python.org/pipermail/distutils-sig/2005-January/004366.html
Some
Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Sat, 29 Jul 2006 14:38:38 -0700, Josiah Carlson [EMAIL PROTECTED] wrote:
If someone is looking for a project for 2.6 that digs into all sorts of
platform-specific nastiness, they could add actual signal sending to the
signal module (at least
At 9:42 AM +0200 7/30/06, Martin v. Löwis wrote:
Tony Nelson schrieb:
Hmm, OK, darn, thanks. MSWindows does allow users to press Ctl-C to send a
KeyboardInterrupt, so it's just too bad if I can't find a way to test it
from a script.
You can use GenerateConsoleCtrlEvent to send Ctrl-C to all
On Sun, 30 Jul 2006 09:50:36 -0700, Josiah Carlson [EMAIL PROTECTED] wrote:
Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Sat, 29 Jul 2006 14:38:38 -0700, Josiah Carlson [EMAIL PROTECTED] wrote:
If someone is looking for a project for 2.6 that digs into all sorts of
platform-specific
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Re: Python 2.5 compatibility
On Jul 28, 2006, at 8:57 AM, Barry Warsaw wrote:
+1. It would give me more type to port and test a few of my
applications to the new version.
I'm still working on Mailman but the most painful thing so far has
On Sunday 30 July 2006 15:44, Barry Warsaw wrote:
if isinstance(obj, ClassType) or isinstance(obj, type(type))
Looks like you've got a possible name clash in the second isinstance. ;-)
-Fred
--
Fred L. Drake, Jr. fdrake at acm.org
___
Barry Warsaw wrote:
if isinstance(obj, ClassType)
which fails in Python 2.5. I actually rewrote it like so:
if isinstance(obj, ClassType) or isinstance(obj, type(type))
The second type seems to be superfluous. ;)
Georg
___
Python-Dev mailing
On Sunday 30 July 2006 16:17, Georg Brandl wrote:
The second type seems to be superfluous. ;)
I was thinking it suggested there was a local named type. But if not, yeah.
I get the impression Barry's pretty new to this Python thing. Wonder what
he's been up to. ;-)
-Fred
--
Fred L.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jul 30, 2006, at 4:27 PM, Fred L. Drake, Jr. wrote:
On Sunday 30 July 2006 16:17, Georg Brandl wrote:
The second type seems to be superfluous. ;)
I was thinking it suggested there was a local named type. But if
not, yeah.
I get the
Fred L. Drake, Jr. schrieb:
On Sunday 30 July 2006 15:44, Barry Warsaw wrote:
if isinstance(obj, ClassType) or isinstance(obj, type(type))
Looks like you've got a possible name clash in the second isinstance. ;-)
Nah, that's rather an entry to the obfuscated Python contest.
The two
Tony Nelson schrieb:
You can use GenerateConsoleCtrlEvent to send Ctrl-C to all processes
that share the console of the calling process.
[...]
Martin, your advice is usually spot-on, but I don't always understand it.
Maybe using it here is just complicated.
This was really just in response
At 11:42 PM +0200 7/30/06, Martin v. Löwis wrote:
Tony Nelson schrieb:
You can use GenerateConsoleCtrlEvent to send Ctrl-C to all processes
that share the console of the calling process.
[...]
Martin, your advice is usually spot-on, but I don't always understand it.
Maybe using it here is just
At 7:23 PM -0400 7/30/06, Tony Nelson wrote:
...
...I tried to get MSVC 7.1 via the .Net SDK, but it
installed VS 8 instead, so I'm not quite sure how to proceed.
...
David Murmann suggested off-list that I'd probably installed the 2.0 .Net
SDK, and that I should install the 1.1 .Net SDK, which
Tony Nelson schrieb:
Hmm. Well, it would make the test possible on MSWindows as well as on OS's
implementing alarm(2). If I figure out how to build Python on MSWindows, I
might give it a try. I tried to get MSVC 7.1 via the .Net SDK, but it
installed VS 8 instead, so I'm not quite sure how
At 4:34 AM +0200 7/31/06, Martin v. Löwis wrote:
Tony Nelson schrieb:
Hmm. Well, it would make the test possible on MSWindows as well as on
OS's implementing alarm(2). If I figure out how to build Python on
MSWindows, I might give it a try. I tried to get MSVC 7.1 via the .Net
SDK, but it
On Tue, Jul 25, 2006 at 10:32:13PM -0400, Greg Ward wrote:
what I discovered in the wild the other day was a response like this:
0005\r\nabcd\n\r\n0004\r\nabc\n\r\n\r\n
i.e. the chunk-size for the terminating empty chunk was missing.
This cause httplib.py to blow up with ValueError
At 12:39 AM -0400 7/31/06, Tony Nelson wrote:
popen('E:\Documents and Settings\Tony Nelson\My
Documents\Python\pydev\trunk\PCBuild\python.exe -c import
sys;sys.version_info')
Ehh, I must admit that I retyped that. Obviously what I typed would not
work, but what I used was:
python = ''
At 12:58 AM -0400 7/31/06, Tony Nelson wrote:
At 12:39 AM -0400 7/31/06, Tony Nelson wrote:
popen('E:\Documents and Settings\Tony Nelson\My
Documents\Python\pydev\trunk\PCBuild\python.exe -c import
sys;sys.version_info')
Ehh, I must admit that I retyped that. Obviously what I typed would
20 matches
Mail list logo