[issue5826] new unittest function listed as assertIsNotNot() instead of assertIsNotNone()

2009-04-23 Thread Mike Rooney
New submission from Mike Rooney mroo...@gmail.com: On http://docs.python.org/dev/py3k/whatsnew/3.1.html under unittest changes, you will find the last new function listed is assertIsNotNot() instead of assertIsNotNone() -- assignee: georg.brandl components: Documentation messages: 86388

Re: What is the best framework or module in Python for a small GUI based application development?

2009-04-22 Thread Mike Driscoll
and whether or not you need special widgets. - Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: What is the best framework or module in Python for a small GUI based application development?

2009-04-22 Thread Mike Driscoll
-client (in which case, use the GuiProgramming wiki link Mike sent), or you're doing web development targeting browsers in which case you should investigate the myriad web programming frameworks for Python (Django, Turbogears, CheryPy, web.py, webstack, etc). There's a third type of application

Re: using python logo at startup

2009-04-21 Thread Mike Driscoll
it display a picture for a few seconds and then disappear. wxPython has a built-in splash screen widget made for just this purpose. Tkinter may too, or you could just roll your own in it. - Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: SqlAlchemy and mssqlserver

2009-04-21 Thread Mike Driscoll
NOT NULL IDENTITY(1,1),  PRIMARY KEY (chiave) ) Stefano Try re-posting to the SqlAlchemy mailing list. They'll be able to tell you. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: question about wxpython CtrlList event binder: wx.EVT_LIST_ITEM_RIGHT_CLICK

2009-04-21 Thread Mike Driscoll
instructions for how to do that: http://wiki.wxpython.org/MakingSampleApps It would be good to know what mode you are using for your ListCtrl. List view, report, icon or what? The demo doesn't have any white space at the end, so I can't test this easily. Are you using a sizer to hold the widget? - Mike

Re: color propagation in tkinter

2009-04-20 Thread Mike Driscoll
would be to keep a list of the widgets that you want to be able to change the color of, and then loop over the list and change their respective colors as needed. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: How to create an unclosed dialog in wxPython?

2009-04-19 Thread Mike Driscoll
the wx.EVT_CLOSE event and ignor it in the handle function. This is the preferred method...there is a slight caveat that when you actually want to close the dialog, you'll need to use the dialog's Destroy() method... - Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython 2.8 for Python 2.6 on Linux

2009-04-19 Thread Mike Driscoll
release as there are some goofy things going on with the manifest files. Maybe this doesn't affect Linux users though...however, if you experience weird issues, that may be the cause...or you didn't build it correctly. If you need help building wxPython, please post to the wxPython list. - Mike -- http

Can I use setup.py to ship and install only .pyc files?

2009-04-16 Thread Mike Kent
I'd like to ship only the .pyc files for a module. I was hoping the standard distutils setup.py could handle this, but so far, I've not figured out how. After a bit of work, I discovered that if I create a MANIFEST.in file, and put 'include mymodule/*.pyc' and 'exclude mymodule/*.py' in it, then

Re: IronPython newbie: not clear on imports and assemblies

2009-04-15 Thread Mike Driscoll
# or EssentialPDF.SomeModule /code At least, that's how it seems to work for most .NET libraries. Hope that helps. - Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython question

2009-04-14 Thread Mike Driscoll
? Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: tkFileDialog - ImportError: No module named shell

2009-04-13 Thread Mike Driscoll
contextmenu.pyo, line 9, in module ImportError: No module named shell Redirecting output to win32trace remote collector Well, if you have tortoisehg installed, uninstall it. That was what was giving me this exact error with wxPython file dialogs. Mike -- http://mail.python.org/mailman/listinfo/python

Re: tkFileDialog - ImportError: No module named shell

2009-04-13 Thread Mike Driscoll
, in module    File tbzr.pyo, line 60, in get_all_com_classes    File contextmenu.pyo, line 9, in module ImportError: No module named shell Redirecting output to win32trace remote collector On 4/13/2009 2:28 PM Mike Driscoll apparently wrote: Well, if you have tortoisehg installed

Re: Unsupported operand types in if/else list comprehension

2009-04-11 Thread Mike H
(SQLcmd, (myValues)) #sets and returns SQL variable. SQLcmd=select + myReturnKey + :=last_insert_id(); cursor.execute(SQLcmd) return myReturnKey On Sat, Apr 11, 2009 at 7:38 AM, Diez B. Roggisch de...@nospam.web.de wrote: Mike H schrieb: Thanks to all of you. FYI, I'm doing

Re: Unsupported operand types in if/else list comprehension

2009-04-11 Thread Mike H
Well, I'm an idiot. Obviously, the line VALUES (%s, %s, %s); needs to be modified to adapt for the number of arguments in the list. But otherwise On Sat, Apr 11, 2009 at 11:28 AM, Mike H cmh.pyt...@gmail.com wrote: Ok, thanks again to everyone for their suggestions, even if it appears I

Re: Unsupported operand types in if/else list comprehension

2009-04-11 Thread Mike H
this problem? Again, thanks for your patience and help with a newbie. Michael On Sat, Apr 11, 2009 at 11:53 AM, Mike H cmh.pyt...@gmail.com wrote: Well, I'm an idiot. Obviously, the line VALUES (%s, %s, %s); needs to be modified to adapt for the number of arguments in the list. But otherwise

Re: Unsupported operand types in if/else list comprehension

2009-04-11 Thread Mike H
it. Thanks, On Sat, Apr 11, 2009 at 4:18 PM, George Sakkis george.sak...@gmail.com wrote: On Apr 11, 3:03 pm, Mike H cmh.pyt...@gmail.com wrote: Can I not use the cursor.execute command to pass variables that aren't immediately next to each other? If so, is there a better way to go about solving

Re: loop? maybe?

2009-04-10 Thread Mike Driscoll
. Hopefully this isn't a homework question, but even if it is, it's an interesting exercise. Mike -- http://mail.python.org/mailman/listinfo/python-list

Unsupported operand types in if/else list comprehension

2009-04-10 Thread Mike H
Hello all, I have a question about the if/else aspect of list comprehension: I would like to go through a list and place quotes around an item if it is a string, and keep the item the same if it's anything else: e.g.['a',9,'8b'] -- ['a', 9, '8b'] I understand that if/else list comprehension

Re: Unsupported operand types in if/else list comprehension

2009-04-10 Thread Mike H
a function correct the list for me, rather than calling the function with a strangely quoted list e.g. [''test'', 1, ''two'']. Again, thanks. On Fri, Apr 10, 2009 at 5:18 PM, John Yeung gallium.arsen...@gmail.com wrote: On Apr 10, 5:07 pm, Mike H cmh.pyt...@gmail.com wrote: From playing around

Re: Q: Best book for teaching

2009-04-07 Thread Mike Driscoll
(and was written by a college professor) and I've heard good things about ORielly's Learning Python by Lutz. - Mike -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Leipzig Python User Group - Meeting, April 7, 2009, 08:00pm

2009-04-05 Thread Mike Müller
the meeting language will be mainly German, we will provide English translation if needed. Current information about the meetings are at http://www.python-academy.com/user-group . Mike == Leipzig Python User Group === Wir treffen uns am Dienstag, 07.04.2009 um 20:00 Uhr im Schulungszentrum der Python

HTML Generation

2009-04-03 Thread Mike
Hello all, I'm writing a web app and wanted to do some html generation (I really do not like to maintain or write html). I'm thinking of writing a dsl based on the following: def html(): return def a(): return def body(): return (html, ...(head, (style, id, {font-color:black}))

PyOpenGL Release 3.0.0 (final)

2009-04-02 Thread Mike C. Fletcher
to aid in the development of games, all of which can be easily installed on common platforms. Enjoy yourselves, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org

Re: Any library to bind python with Yahoo mail service

2009-04-02 Thread Mike Driscoll
 via Yahoo mail Service . Thanks Google's first hit was this: http://developer.yahoo.com/python/ It's not a library, but it's the way that Yahoo itself recommends. - Mike -- http://mail.python.org/mailman/listinfo/python-list

Pyowa Meeting 04-02-2009

2009-04-01 Thread Mike Driscoll
and it's fun! We even have a mailing list. See our website for more details. We hope to see you there! Mike Driscoll Pyowa Organizer www.pyowa.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3979 (20090331) __ The message was checked by ESET

Re: win32com python AttributeError!

2009-03-31 Thread Mike Driscoll
. It looks like Rebecca is using Python 2.2, which might be the issue. I would also upgrade to the latest PyWin32 as well. I'm using 212. - Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue3392] subprocess fails in select when descriptors are large

2009-03-31 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: My original report didn't mention it specifically, but I believe I was hitting the FD_SETSIZE limit that Frank mentioned. (Thanks for working on this!) -- ___ Python tracker rep

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2009-03-31 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: Just to confirm, the real problem here was that tiny packets were being sent out by default, and the obvious fix (altering ac_out_buffer_size) didn't work. Looking at the code, it appears that the change by Josiah Carlson (#64062

Pyowa Meeting this week

2009-03-30 Thread Mike Driscoll
on out! Bring your friends, even if they think Perl is the coolest thing since sliced bread. We'll set them straight! Mike Driscoll www.pyowa.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Pyowa Meeting this week

2009-03-30 Thread Mike Driscoll
On Mar 30, 10:33 am, Mike Driscoll kyoso...@gmail.com wrote: Hi, This is just a reminder that we have a Pyowa meeting this week. It will be held at Durham Center in Ames, IA on the ISU campus from 7-9 p.m. Directions are on the website (www.pyowa.org). Topics include the following: 1) What

Re: Syntax disagreement between IDLE and pydev?

2009-03-30 Thread Mike Driscoll
or am I missing something? If it works that way in IDLE and from the command line python, then it's almost proof positive that pydev goofed up. Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue2986] difflib.SequenceMatcher not matching long sequences

2009-03-29 Thread Mike Rotondo
Mike Rotondo mroto...@gmail.com added the comment: From the source, it seems that there is undocumented behavior to SequenceMatcher which is causing this error. If b is longer than 200 characters, it will consider any element x in b that takes up more than 1% of it's contents as popular

Re: Do deep inheritance trees degrade efficiency?

2009-03-28 Thread Mike Howard
On Mar 19, 7:24 am, Anthra Norell anthra.nor...@bluewin.ch wrote: Bruno Desthuilliers wrote: Chris Rebert a écrit : On Wed, Mar 18, 2009 at 6:09 AM, Anthra Norell anthra.nor...@bluewin.ch wrote: Would anyone who knows the inner workings volunteer to clarify whether or not every

Re: How do I learn about Python XML?

2009-03-28 Thread Mike Driscoll
, the latter of which has a digital booklet by the author. There are also lots of tutorials online for the stdlib way of doing things, which is typically using minidom. Here are a couple of links to the 3rd party packages: http://pyparsing.wikispaces.com/ http://codespeak.net/lxml/ HTH - Mike -- http

Re: tkinter questions: behavior of StringVar, etc

2009-03-28 Thread Mike Driscoll
There are also some books that walk you through Tkinter application creation, for example,Lutz's Programming Python. - Mike -- http://mail.python.org/mailman/listinfo/python-list

EuroSciPy 2009, Leipzig, Germany, July 25-26

2009-03-23 Thread Mike Müller
EuroSciPy 2009 == We're pleased to announce the EuroSciPy 2009 Conference to be held in Leipzig, Germany on July 25-26, 2009. http://www.euroscipy.org This is the second conference after the successful conference last year. Again, EuroSciPy will be a venue for the European

Re: Tkinter book on current versions

2009-03-22 Thread Mike Driscoll
in Tkinter at the time. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: How to load file .py

2009-03-20 Thread Mike Driscoll
register itself in Windows correctly. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: py2exe linux equivalent

2009-03-20 Thread Mike Driscoll
-hosting.com/ You might also look at cx_freeze or bbfreeze. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Run on Startup

2009-03-18 Thread Mike Driscoll
to remove it. Otherwise you'll have to hack the registry to stop the startup or run msconfig and stop auto-start there. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Openings for Python Programmer at CA

2009-03-18 Thread Mike Driscoll
. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: python equivalent of java technologies

2009-03-18 Thread Mike Driscoll
just use the Java implementations... Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Run on Startup

2009-03-18 Thread Mike Driscoll
On Mar 18, 2:14 pm, Tim Wintle tim.win...@teamrubber.com wrote: On Wed, 2009-03-18 at 11:13 -0700, Mike Driscoll wrote: On Mar 18, 1:09 am, Gabriel Genellina gagsl-...@yahoo.com.ar Any decent installer is able to register a program so it runs on startup   (InnoSetup, by example). Anyway

Re: switch to interactive mode

2009-03-16 Thread Mike Driscoll
and then use their debugger to interact with the variables and objects and such. Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Mike Meyer
Mike Meyer m...@users.sourceforge.net added the comment: True. But hat's why it was a QAD hack - all I did was make sure it didn't blow up on the test code, and that it passed the provided unit tests. It really needs to walk the class tree. So something like hasattr(inst.__class__

Regular Toronto Python User's Group on Tuesday the 17th

2009-03-12 Thread Mike C. Fletcher
Topic: OpenGL 3.1: A whole new OpenGL (Mike Fletcher) Further: A preview of the PyCon 2009 presentation on OpenGL 3.1: A whole new OpenGL. We'll be looking at what the legacy-free OpenGL programming model looks like, and how you access it via PyOpenGL. The upcoming OpenGL 3.1

Re: cross platform accessing paths (windows, linux ...)

2009-03-12 Thread Mike Mazurek
You might want to look at the path module: http://pypi.python.org/pypi/path.py/2.2 It will probably make your code more readable. On Thu, Mar 12, 2009 at 8:10 AM, Vlastimil Brom vlastimil.b...@gmail.comwrote: Hi all, I'd like to ask for some advice on how to acomplish file access in a cross

Re: strange problem with Py2exe

2009-03-11 Thread Mike Driscoll
and archives: https://lists.sourceforge.net/lists/listinfo/py2exe-users Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue3392] subprocess fails in select when descriptors are large

2009-03-11 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: I also ran into this bug. In my case I'm able to work around this by reserving some fds at the start of my program (open 20 reserved fds, open 2000 real fds, close 20 reserved fds), but this is both a kludge and not a general solution

[issue5370] unpickling vs. __getattr__

2009-03-09 Thread Mike Meyer
Mike Meyer m...@users.sourceforge.net added the comment: I don't believe in documenting bugs instead of fixing them. If this bug is going to stay in the code, I can either fix my install of Python to have non-broken Pickle modules, or I can fix every third-party libraries objects I use whose

[issue5370] unpickling vs. __getattr__

2009-03-09 Thread Mike Meyer
Mike Meyer m...@users.sourceforge.net added the comment: QAD patch for 2.6 pickle.py to fix this bug. Passes the 2.6 pickle unit tests. -- message_count: 5.0 - 6.0 Added file: http://bugs.python.org/file13290/pp ___ Python tracker rep

Re: wxPython fast and slow

2009-03-08 Thread Mike Driscoll
On Mar 8, 3:52 am, iu2 isra...@elbit.co.il wrote: On Mar 6, 6:52 pm, Mike Driscoll kyoso...@gmail.com wrote: ... Can you post a sample application so we can try to figure out what's wrong? You might also cross-post this to thewxPythonmailing list. They might know. Mike- Hide quoted

Re: wxPython fast and slow

2009-03-06 Thread Mike Driscoll
is going wrong? Thank you very much iu2 Can you post a sample application so we can try to figure out what's wrong? You might also cross-post this to the wxPython mailing list. They might know. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Packaging modules with Bundlebuilder

2009-03-06 Thread Mike Driscoll
a Mac and thus, have not used py2app...see their docs for complete info. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Dr Dobbs' Python Weekly URL Archive?

2009-03-05 Thread Mike Driscoll
               http://www.holdenweb.com/ Want to know? Come to PyCon - soon!http://us.pycon.org/ Perhaps you're looking for this: http://www.ddj.com/TechSearch/searchResults.jhtml?queryText=python Gabriel has been including the link in his Python roundup weekly email... Mike -- http://mail.python.org

Re: easy_install with MySQL-python

2009-03-03 Thread Mike Driscoll
on the path, you'll have to do something like this instead: c:\python26\python.exe setup.py install Hopefully that will get you going. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: siple for in expression

2009-03-03 Thread Mike Driscoll
kind of collection. See the following sites for more info: http://docs.python.org/tutorial/datastructures.html#list-comprehensions http://www.secnetix.de/~olli/Python/list_comprehensions.hawk http://www.network-theory.co.uk/docs/pytut/ListComprehensions.html Mike -- http://mail.python.org/mailman

Re: Indentifying types?

2009-03-03 Thread Mike Driscoll
you're reading from a file, it will just read each line as a string. So you'd probably need to either try casting the line into something else and catch it in an exception handler or use eval. The normal way to check types is to use the keyword isinstance or just use the type keyword. Mike -- http

Re: Indentifying types?

2009-03-03 Thread Mike Driscoll
On Mar 3, 11:44 am, Chris Rebert c...@rebertia.com wrote: On Tue, Mar 3, 2009 at 9:03 AM, Mike Driscoll kyoso...@gmail.com wrote: - Show quoted text - On Mar 3, 10:57 am, Oltmans rolf.oltm...@gmail.com wrote: I'm reading from a file that contains text like 5 google_company

Re: qt, gtk, wx for py3 ?

2009-03-03 Thread Mike Driscoll
you like. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Opening for Python Programmer at Newport Beach

2009-03-03 Thread Mike Driscoll
...@techclique.com Yahoo IM : aniket_mitta...@yahoo.com Contact No : 732-357-3844 Is your email program broken or what? Why are you sending the same exact message 5 times!? Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Program

2009-03-02 Thread Mike Driscoll
on a server. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Program

2009-03-02 Thread Mike Driscoll
and it's not open source, so I don't see how I can take a look at it. The developers for Digsby announced it on the wxPython list for some reason, so I was a little disappointed when the source was unavailable. Mike On Mon, Mar 2, 2009 at 8:34 PM, Mike Driscoll kyoso...@gmail.com wrote: On Feb 28

[issue5370] unpickling vs. __getattr__

2009-02-28 Thread Mike Meyer
Mike Meyer m...@users.sourceforge.net added the comment: The args attribute gets created by __init__ and nothing in the class removes it. I don't think it's unreasonable for the class to expect the attribute to not vanish on it. Possibly it should be spelled __args (or declared private

Re: Guidance on writing a top-like console

2009-02-27 Thread Mike Driscoll
implementing this? Any suggestions are appreciated. Perhaps you're looking for the curses module? http://www.amk.ca/python/howto/curses/ Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue5370] unpickling vs. __getattr__

2009-02-25 Thread Mike Meyer
New submission from Mike Meyer m...@users.sourceforge.net: The attached short file causes all of python 2.5, 2.6 and 3.0 to drop into infinite recursion trying to unpickle the created object, but the 2.5 version has the cleanest The problem appears to be that the unpickle code (C in 3.0; Python

[issue1006238] cross compile patch

2009-02-25 Thread Mike Frysinger
Mike Frysinger vap...@users.sourceforge.net added the comment: Garrett: your configure method is overly complicated. all you need to do is set --build=binos_c3.4.3-p1.mips64-octeon-linux. autoconf will figure out all the other toolchain settings. ___ Python

March 2, 2009 Pyowa Meeting

2009-02-24 Thread Mike Driscoll
it! Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Extending Python Questions .....

2009-02-24 Thread Mike Driscoll
...@craig-wood.com --http://www.craig-wood.com/nick Maybe he wants SendKeys? Here's the link just in case: http://pypi.python.org/pypi/SendKeys/0.3 Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Which GROUP to join ?

2009-02-23 Thread Mike Driscoll
, wxPython, django) have their own specific lists. Join them as needed. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: SuPy 1.6

2009-02-23 Thread Mike C. Fletcher
anything else you feel should be said about the program, let me know. http://www.vrplumber.com/py3d.py#supy Have fun, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http

Re: FTP libs for Python?

2009-02-20 Thread Mike Kent
I use Fabric (http://www.nongnu.org/fab/) as my Python-based deployment tool, but it uses ssh/scp, not sftp. -- http://mail.python.org/mailman/listinfo/python-list

[issue5331] multiprocessing hangs when Pool used within Process

2009-02-20 Thread mike bayer
New submission from mike bayer mike...@zzzcomputing.com: this occurs for me running on Mac OSX Leopard. The equivalent code using processing in python 2.5 works fine, which is how I found this bug - my code hung when upgraded to 2.6.Basically initiating a multiprocessing.Pool inside

Re: Which Version of wxPython for Win XP

2009-02-19 Thread Mike Driscoll
to the path), just like any other good 3rd party package. I'm not sure why you're even talking about IDLE...wxPython is a GUI toolkit, not an IDE. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Newby Question for reading a file

2009-02-19 Thread Mike Driscoll
with the line print line f.close() Of course, you can read just portions of the file too, using something like this: f.read(64) Which will read 64 bytes. For more info, check the following out: http://www.diveintopython.org/file_handling/file_objects.html - Mike -- http://mail.python.org/mailman

Re: iterating through files

2009-02-19 Thread Mike Driscoll
approach. I'm sure there are many others. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: iterating through files

2009-02-19 Thread Mike Driscoll
On Feb 19, 4:22 pm, Mike Driscoll kyoso...@gmail.com wrote: On Feb 19, 3:56 pm, oamram oam...@gmail.com wrote: Hi Pythonist, new to python. i have a directory with about 50 text file and i need to iterate through them and get line 7 to 11 from each file and write those lines into another

[issue5319] I/O error during one-liner fails to return OS error status

2009-02-19 Thread Mike Coleman
New submission from Mike Coleman m...@users.sourceforge.net: $ python2.5 -c 'print((1, 2, 3))' /dev/full || echo error status close failed: [Errno 28] No space left on device $ The above sequence should also output 'error status' before the next prompt. That is, python should not be returning

[issue5319] I/O error during one-liner fails to return OS error status

2009-02-19 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: Oops, I should have used the old python print syntax. Nonetheless, the behavior is the same: $ python2.5 -c 'print 1, 2, 3' /dev/full || echo error status close failed: [Errno 28] No space left on device $ -- components

[issue5320] I/O error during one-liner gives bad diagnostic (and fails to return OS error status)

2009-02-19 Thread Mike Coleman
New submission from Mike Coleman m...@users.sourceforge.net: $ python2.6 -c 'print 1, 2, 3' /dev/full || echo error status close failed in file object destructor: Error in sys.excepthook: Original exception was: $ It seems like something other than blank lines should be printed here

[issue5321] I/O error during one-liner gives no (!) diagnostic (and fails to return OS error status)

2009-02-19 Thread Mike Coleman
New submission from Mike Coleman m...@users.sourceforge.net: $ python3.0 -c 'print((1, 2, 3))' /dev/full || echo error status $ This command gives no indication whatsoever that anything has gone wrong. Following this with strace demonstrates that the interpreter is in fact ignoring

[issue5320] I/O error during one-liner gives bad diagnostic (and fails to return OS error status)

2009-02-19 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: Also, as with the other python versions, notice that the error status is EXIT_SUCCESS (which it should not be). ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5320

Re: Is there something easier than ORM?

2009-02-17 Thread Mike Driscoll
operations, don't call flush () or commit() or just call rollback() BEFORE you do any real operations. There is a good sqlalchemy mailing list where even the developers hang out and answer questions. I'm sure they could point you in the right direction too. Mike BTW : why you choose elixir

Re: wxPython and Croatian characters

2009-02-17 Thread Mike Driscoll
to look at the python database connector's docs and/or MySQL's docs to know how to do that. It would help to know what you are using to connect to the database: pyodbc, adodb, sqlalchemy? Most of those packages have their own mailing lists, but you're welcome to post here too. Mike -- http

Re: OpenGL in TK

2009-02-17 Thread Mike C. Fletcher
outweighed my interest. HTH, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-list

problems opening files

2009-02-13 Thread mike
' KeyboardInterrupt IDLE commands--- cbpin=open(pathincbp,'r') cbpin open file 'c:/potomac_points_data/sub1/cbp_PA0026051.txt', mode 'r' at 0x01450380 I am running in windows xp professional 2002 service pack 3 on a Xeon dell Thanks, Mike -- http://mail.python.org/mailman/listinfo

Re: Upgrading standard library module

2009-02-13 Thread Mike Driscoll
of Python 2.6 in another virtualenv. See http://pypi.python.org/pypi/virtualenv for more info. As long as your 3rd party packages are pure python, you should be ok. If they depend on c/c++ headers, then you may have issues. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread Mike Driscoll
: www.speckledwithstars.net/ I like IDLE too. However, I've experienced seemingly random crashes when programming wxPython programs in it. As already stated, the mainloops clash from time to time. So now I use Wingware or just edit the files in IDLE and run the program by double-click or via command line. Mike -- http

Re: Pycon 2009 Hotel?

2009-02-11 Thread Mike Driscoll
there and then not enjoy it because I was at the 'other' hotel. ... Jay Graves As I understand it, the hotels are connected via a skywalk, so I don't think it will be a big deal either way. It just means a little extra walking. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread Mike Driscoll
it in a completely separate process, such as Wingware's IDE. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Clearing the keyboard buffer (wxPython)

2009-02-11 Thread Mike Driscoll
://www.pygame.org/news.html HTH Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Clearing the keyboard buffer (wxPython)

2009-02-11 Thread Mike Driscoll
hosts... Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread Mike Driscoll
from another Tk app, the two mainloops clash and have weird issue like this one. If you just double-click it or run it from the command line, you only have one mainloop (i.e. the one that's part of your app). Thus, no conflicts. Mike -- http://mail.python.org/mailman/listinfo/python-list

[issue727732] getpath.c-generated prefix wrong for Tru64 scripts

2009-02-11 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: I'll go down to the cemetery and see if I can dig one up. :-) All of our Tru64 machines have been powered-down for over three years now, so as far as I'm concerned you can mark this one as no longer relevant

Re: Python 3D CAD -- need collaborators, or just brave souls :)

2009-02-10 Thread Mike C. Fletcher
and similar support to make the coding a reasonable task. However, they're closer to a Maya/3DSMax model than AutoCAD, so maybe you'll decide you want to go your own way. You may want to check out PythonCAD as well, which IIRC does 2D-only CAD. Anyway, hope this was some help. Good luck, Mike

Re: wxPython vs Glade?

2009-02-09 Thread Mike Driscoll
of helpful tips and tricks there. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Object explorer for python ?

2009-02-06 Thread Mike Driscoll
like eric. Links are below: http://eric-ide.python-projects.org/index.html http://www.wingware.com/ Other editors: http://wiki.python.org/moin/PythonEditors Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find wxPython method documentation??

2009-02-05 Thread Mike Driscoll
than any other complicated third party package. Reportlab comes to mind...and the wxPython list members are very helpful. Mike -- http://mail.python.org/mailman/listinfo/python-list

<    6   7   8   9   10   11   12   13   14   15   >