Re: Strange __future__ behavior in Python 2.5

2006-09-24 Thread Avizoa
Georg Brandl wrote: > This is a bug and has now been fixed in the SVN repo. > Thanks for bringing it up. Ouch, I feel bad now. I've been noticing this behavior since 2.5B1 but I didn't realize it was a bug. -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange __future__ behavior in Python 2.5

2006-09-23 Thread Avizoa
[EMAIL PROTECTED] wrote: > My understanding of the __future__ statement is that you may say > something like: > > from __future__ import foo, bar > > to enable more than one feature. However, this does not seem to be > working properly in 2.5; it behaves as expected when typed into the > interacti

Re: More int and float attributes

2006-08-05 Thread Avizoa
It seems as though just about all of those would be rarely, if ever, used by the vast majority of programmers. Plus, python already handles the two most important (NaN and complex) well. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython font color

2006-08-04 Thread Avizoa
Fonts don't have colors. You need to either change the text color in whatever widget the test is going or change the wx.Brush in your Paint method. Kiran wrote: > hey everybody, > i cant seem to find a way to create a font with a non-default color > using the wx.Font constructor. anybody know

Re: sqlite3 in Python 2.5b1: my out-of-the-box experience

2006-07-03 Thread Avizoa
John Machin wrote: > Apologies in advance if this is a bit bloggy, but I'd like to get > comments on whether I've lost the plot (or, more likely, failed to > acquire it) before I start reporting bugs etc. These are not, in fact, bugs. One of SQLite's features is that it does not enforce type, mea

Re: Controlling Windows Media Player from Python

2006-07-03 Thread Avizoa
Jeffrey Barish wrote: > Is there a way to interact with Windows Media Player from Python? I would > like to be able to do things like tell WMP to play a given sound file or to > ask WMP for metadata about a sound file. > -- > Jeffrey Barish The fact of the matter is that python doesn't need to

Re: performance difference between OSx and Windows

2006-05-21 Thread Avizoa
> Can I ask why that is, and if there is a way to take advantage > of all 4 within python? Sure. All major programming languages handle concurrency in one of two ways: multithreading or parallel processes. In the standard python interpreter, there is the Global Interpreter Lock (GIL for short) tha

Re: performance difference between OSx and Windows

2006-05-21 Thread Avizoa
Brian wrote: > I have been a Mac and linux guy since 1998 and except for a handful of > times, have not touched a MS box since then. This changes a few days > ago when I needed to get a MS box for another project. This leads me > to my question... > > A while ago, I borrowed a python script from

Re: hyperthreading locks up sleeping threads

2006-05-09 Thread Avizoa
No lockup for me after 28 hours. Of course, I don't have HT. It's a dual Opteron system with WinXP. -- http://mail.python.org/mailman/listinfo/python-list

Re: Events in Python?

2006-04-26 Thread Avizoa
[EMAIL PROTECTED] wrote: > Here is another non-pythonic question from the Java Developer. (I beg > for forgiveness...) > > Does Python have a mechanism for events/event-driven programming? > > I'm not necessarily talking about just GUIs either, I'm interested in > using events for other parts of a

Re: Eclipse best/good or bad IDE for Python?

2005-12-04 Thread Avizoa
Though I tried most the above listed IDEs, sticking with a few for awhile, I always find myself gravitating back to the one no one ever mentions: IDLE. It's simple, fast, and with multiple monitors the lack of tabs really isn't much of a problem. The biggest reason I've found myself using IDLE is