Re: ANN: PyGUI 2.0.4

2009-04-22 Thread Suraj Barkale
Greg Ewing canterbury.ac.nz> writes: > > PyGUI 2.0.4 is available: > >http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ > > Fixes a few more bugs and hopefully improves things > on Windows, although I can't be sure it will fix all > the Windows problems people are having, because I >

Re: gethostbyname blocking

2009-04-22 Thread Christian Heimes
Jean-Paul Calderone wrote: > I'm not sure what the easiest way to determine whether Python has found > gethostbyname_r or not on your system is. The configure script used to > build Python will probably tell, but I doubt you have that lying around. > You could just assume this is the case, since y

Re: gethostbyname blocking

2009-04-22 Thread Jean-Paul Calderone
On Wed, 22 Apr 2009 20:50:51 +0200, Christian Heimes wrote: Jean-Paul Calderone wrote: I'm not sure what the easiest way to determine whether Python has found gethostbyname_r or not on your system is. The configure script used to build Python will probably tell, but I doubt you have that lying

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread Martin v. Löwis
> "correct" -> "corrected" Thanks, fixed. >> To convert non-decodable bytes, a new error handler "python-escape" is >> introduced, which decodes non-decodable bytes using into a private-use >> character U+F01xx, which is believed to not conflict with private-use >> characters that currently exist

Re: unpythonic use of property()?

2009-04-22 Thread J Kenneth King
Luis Zarrabeitia writes: > On Wednesday 22 April 2009 01:44:38 pm J Kenneth King wrote: >> > Then, take this opportunity fix the server and prevent it from breaking >> > once you change the ID, because: >> >> Unfortunately it's not my server to fix. I can suggest a patch, but >> that's it. > > Ye

Re: Splice decorator out of exception stack trace?

2009-04-22 Thread Peter Otten
Ben Weaver wrote: > Hi, > > Is there any way to "splice" a decorator out of an exception stack > trace? For example: > def decorator(proc): > ... def internal(*args, **kwargs): > ... return proc(*args, **kwargs) > ... return internal > @decorator > ... def foo(): > ..

Re: Best Python Web Framework ?

2009-04-22 Thread Luis Gonzalez
On Apr 21, 11:46 am, SKYLAB wrote: > Greetings.. > > First , my english is not good . > > I heard that was written in python ( Youtube Programming Language : > PYTHON :S ) Correct ? > > That's not correct ? Then youtube is PHP application ? > > That's correct ; Which python web framework in friend

Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Esmail
norseman wrote: Just out of curiosity, have you tried: import pylab help(pylab) The next step is to print it, Ah .. I didn't know this, great idea. This is what I used to get the contents into a file for printing python -c 'import pylab; help(pylab)' > pylab.txt Thanks, Esmail Steve

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread Martin v. Löwis
MRAB wrote: > Martin v. Löwis wrote: > [snip] >> To convert non-decodable bytes, a new error handler "python-escape" is >> introduced, which decodes non-decodable bytes using into a private-use >> character U+F01xx, which is believed to not conflict with private-use >> characters that currently exi

Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Esmail
Benjamin J. Racine wrote: Not exactly what you've described, but I like this... I just spot the type of plot I'm looking for, copy the code, and I'm off... http://matplotlib.sourceforge.net/gallery.html Wow .. that's some gallery, thanks, that will be useful. I like this technique better th

WINXP vs. LINUX in threading.Thread

2009-04-22 Thread Kent
hello all, i want to add a "new update notification" feature to my wxPython appl. The codes below do the job. The logic is simple enough, I don't think it needs to be explained. since sometimes, under windows, proxy setting was a script. and was set in IE. In this case, connecting to the HTML wil

Re: WINXP vs. LINUX in threading.Thread

2009-04-22 Thread Diez B. Roggisch
Kent schrieb: hello all, i want to add a "new update notification" feature to my wxPython appl. The codes below do the job. The logic is simple enough, I don't think it needs to be explained. since sometimes, under windows, proxy setting was a script. and was set in IE. In this case, connecting

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread Walter Dörwald
Martin v. Löwis wrote: >> "correct" -> "corrected" > > Thanks, fixed. > >>> To convert non-decodable bytes, a new error handler "python-escape" is >>> introduced, which decodes non-decodable bytes using into a private-use >>> character U+F01xx, which is believed to not conflict with private-use >

Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Arnaud Delobelle
Esmail writes: > norseman wrote: >> >> Just out of curiosity, have you tried: >> >> import pylab >> help(pylab) >> >> The next step is to print it, > > Ah .. I didn't know this, great idea. This is what I used to get > the contents into a file for printing > > python -c 'import pylab; help(py

Re: Ending data exchange through multiprocessing pipe

2009-04-22 Thread Scott David Daniels
Michal Chruszcz wrote: ... First idea, which came to my mind, was using a queue. I've got many producers (all of the workers) and one consumer. Seams quite simple, but it isn't, at least for me. I presumed that each worker will put() its results to the queue, and finally will close() it, while th

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread M.-A. Lemburg
On 2009-04-22 22:06, Walter Dörwald wrote: > Martin v. Löwis wrote: >>> "correct" -> "corrected" >> Thanks, fixed. >> To convert non-decodable bytes, a new error handler "python-escape" is introduced, which decodes non-decodable bytes using into a private-use character U+F01xx, which

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread Martin v. Löwis
>> The python-escape codec is only used/meaningful if the env encoding >> is not UTF-8. For any other encoding, it is assumed that no character >> actually maps to the private-use characters. > > Which should be true for any encoding from the pre-unicode era, but not > for UTF-16/32 and variants.

Regular expression to capture model numbers

2009-04-22 Thread krishnapostings
My quick attempt is below: obj = re.compile(r'\b[0-9|a-zA-Z]+[\w-]+') >>> re.findall(obj, 'TestThis;1234;Test123AB-x') ['TestThis', '1234', 'Test123AB-x'] This is not working. Requirements: The text must contain a combination of numbers, alphabets and hyphen with at least two of the three eleme

Re: PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-22 Thread v+python
On Apr 21, 11:50 pm, "Martin v. Löwis" wrote: > I'm proposing the following PEP for inclusion into Python 3.1. > Please comment. Basically the scheme doesn't work. Aside from that, it is very close. There are tons of encoding schemes that could work... they don't have to include half-surrogate

Re: Accessing items in nested tuples

2009-04-22 Thread Rhodri James
On Tue, 21 Apr 2009 21:45:21 +0100, alex wrote: Tim and Mensanator Thank you very much, this will get me further. I can not recall having seen this in my books... I am still getting my grips with Python and OOP. Think of it this way, Alex: data[0] gave you back the tuple ('aa', ('bb', 'cc',

Re: Weird lambda behavior

2009-04-22 Thread Benjamin Peterson
Chris Rebert rebertia.com> writes: > Common wart to run into as of late. fn (in the lambda) doesn't get > evaluated until the call-time of the lambda, by which point the loop > has finished and the loop variable has been changed to its final > value, which is used by the lambda. How is that a war

Re: Would you support adding UNC support to os.path on Windows?

2009-04-22 Thread Mark Hammond
Aahz wrote: In article , Larry Hastings wrote: I've written a patch for Python 3.1 that changes os.path so it handles UNC paths on Windows. You can read about it at the Python bug tracker: http://bugs.python.org/issue5799 I'd like to gauge community interest in the patch. After all, it

Re: Weird lambda behavior

2009-04-22 Thread Chris Rebert
On Wed, Apr 22, 2009 at 3:32 PM, Benjamin Peterson wrote: > Chris Rebert rebertia.com> writes: >> Common wart to run into as of late. fn (in the lambda) doesn't get >> evaluated until the call-time of the lambda, by which point the loop >> has finished and the loop variable has been changed to it

Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
Hi all, I'm working on a python package manager gui. Mainly because I struggle on windows getting python packages installed. In my mind, there seemed to be some minor problems, but then I did the numbers. Do the numbers I writa about here reflect reality? Should we discuss stuff like this? Debat

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Daniel Fetchinson
> I'm working on a python package manager gui. Mainly because I struggle on > windows > getting python packages installed. In my mind, there seemed to be some > minor > problems, but then I did the numbers. Do the numbers I writa about here > reflect > reality? > > Should we discuss stuff like this

JSON and Firefox sessionstore.js

2009-04-22 Thread Steven D'Aprano
Unless I'm badly mistaken, the Firefox sessionstore.js file is supposed to be JSON. In Python 3.0, I do this: >>> import json >>> filename = '.mozilla/firefox/2z5po7dx.default/sessionstore.js' >>> json.load(open(filename)) Traceback (most recent call last): File "/usr/local/lib/python3.0/json/

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
On Wed, 22 Apr 2009 16:39:05 -0700, Daniel Fetchinson wrote: > Have a look at http://www.snakebite.org/ Interesring... -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
Hi Daniel, On Wed, 22 Apr 2009 16:39:05 -0700, Daniel Fetchinson wrote: > Have a look at http://www.snakebite.org/ I'm not clear... - are you saying they already test all the packages on pypi? - are they doing it in a one off manner? Pardon me asking but it raised more questions than it

Re: looking for a pattern to code logic shared by gui/cli

2009-04-22 Thread norseman
Chris Rebert wrote: On Thu, Apr 16, 2009 at 12:36 PM, Andreas Balogh wrote: Only recently I have started developing code for application providing both a GUI and a command line interface (CLI). Naturally I want to reuse the business logic code for both GUI and CLI interfaces. The problem is to

Re: python command not working

2009-04-22 Thread Dave Angel
83nini wrote: Christian, at last i made the bat file (python25.bat) that contains the following contents: --- @C:\Python25\python.exe %* --- could you tell me how to call python25 in the batch files? what batch files do you mean? where do i find them? Your original question was how to get a

Re: color propagation in tkinter

2009-04-22 Thread John Posner
Alan G Isaac wrote: Yes, that's what I am currently doing. But it seems that that is exactly the kind of thing we are enabled to avoid with e.g., named fonts. So I was hoping for an equivalent functionality for colors. From your answer, I am guessing there is none. Not sure this would help, but

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread MRAB
Steven D'Aprano wrote: Unless I'm badly mistaken, the Firefox sessionstore.js file is supposed to be JSON. In Python 3.0, I do this: import json filename = '.mozilla/firefox/2z5po7dx.default/sessionstore.js' json.load(open(filename)) Traceback (most recent call last): File "/usr/local/lib/

Re: WINXP vs. LINUX in threading.Thread

2009-04-22 Thread Lie Ryan
Diez B. Roggisch wrote: Kent schrieb: hello all, i want to add a "new update notification" feature to my wxPython appl. The codes below do the job. The logic is simple enough, I don't think it needs to be explained. since sometimes, under windows, proxy setting was a script. and was set in IE.

Re: ANN: PyGUI 2.0.4

2009-04-22 Thread rzed
Greg Ewing wrote in news:49edb69f.7070...@canterbury.ac.nz: > PyGUI 2.0.4 is available: > >http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ > > Fixes a few more bugs and hopefully improves things > on Windows, although I can't be sure it will fix all > the Windows problems people ar

Re: need help with a multiloop error

2009-04-22 Thread delco27
Here is a little more of the code? Does this help at all? try: b = str2bool(s) return b except ValueError, e: # s is not a boolean value, try eval(s): try: b = eval(s, globals, locals) return b except Exception, e: if

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread TommW
Steven D'Aprano wrote: Unless I'm badly mistaken, the Firefox sessionstore.js file is supposed to be JSON. In Python 3.0, I do this: import json filename = '.mozilla/firefox/2z5po7dx.default/sessionstore.js' json.load(open(filename)) Traceback (most recent call last): File "/usr/local/lib/

PyModerator, serverFiles.py:13: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

2009-04-22 Thread Jim Carlock
I downloaded Python 2.6.2 today. Anyone here know what that error in the subject really means and possibly what I should look at? I took a look at line 13 in the specified file and it states the line that it has a problem with. import sha I'm running Python in Windows XP. -- Jim Carlock More Th

Re: ANN: PyGUI 2.0.4

2009-04-22 Thread David Robinow
On Wed, Apr 22, 2009 at 8:50 PM, rzed wrote: > Greg Ewing wrote in > news:49edb69f.7070...@canterbury.ac.nz: > >> PyGUI 2.0.4 is available: >> >>    http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ >> >> Fixes a few more bugs and hopefully improves things >> on Windows, although I can't be

Re: PyModerator, serverFiles.py:13: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

2009-04-22 Thread Chris Rebert
On Wed, Apr 22, 2009 at 6:16 PM, Jim Carlock wrote: > I downloaded Python 2.6.2 today. Anyone here know what that error in > the subject really means and possibly what I should look at? I took > a look at line 13 in the specified file and it states the line that > it has a problem with. > > import

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Daniel Fetchinson
>> Have a look at http://www.snakebite.org/ > > I'm not clear... > > - are you saying they already test all the packages on pypi? They definitely don't do that currently and I don't know what their plans are. > - are they doing it in a one off manner? I don't know what their plans are :) > Pa

Re: PyModerator, serverFiles.py:13: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

2009-04-22 Thread David Robinow
On Wed, Apr 22, 2009 at 9:16 PM, Jim Carlock wrote: > I downloaded Python 2.6.2 today. Anyone here know what that error in > the subject really means and possibly what I should look at? I took > a look at line 13 in the specified file and it states the line that > it has a problem with. > > import

Re: [False,True] and [True,True] --> [True, True]?????

2009-04-22 Thread Lawrence D'Oliveiro
In message <25f4735b-52a2-4d53-9097- e623655ca...@k19g2000prh.googlegroups.com>, bdb112 wrote: > Is there any obvious reason why > [False,True] and [True,True] > gives [True, True] This kind of confusion is why conditional constructs should not accept any values other than True and False

Re: efficiently checking for string.maketrans conflicts?

2009-04-22 Thread Saketh
On Apr 20, 11:35 pm, Michael Spencer wrote: > Saketh wrote: > > Hi everyone: > > > I'm using "translation" in the sense ofstring.maketranshere. > > > I am trying to efficiently compare if two string translations > > "conflict" -- that is, either they differently translate the same > > letter, or t

Re: Regular expression to capture model numbers

2009-04-22 Thread John Machin
On Apr 23, 8:01 am, krishnaposti...@gmail.com wrote: > My quick attempt is below: > obj = re.compile(r'\b[0-9|a-zA-Z]+[\w-]+') 1. Provided the remainder of the pattern is greedy and it will be used only for findall, the \b seems pointless. 2. What is the "|" for? Inside a character class, | has n

Re: need help with a multiloop error

2009-04-22 Thread John Machin
On Apr 23, 10:54 am, delc...@gmail.com wrote: > Here is a little more of the code?  Does this help at all? Not much. MRAB asked what is str2bool. Instead of answering the question, you have supplied some code which is calling str2bool (and doing interesting things if it fails). You talk about a "

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Stanek
On Wed, Apr 22, 2009 at 7:06 PM, David Lyon wrote: > > One of the big challenges for Python going forward is providing a testing > infrastructure for Python Packages. > > There are now over 6,000 packages listed on PyPi - and this number can only > get bigger. > Interesting ideas, but I'm not sur

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread Steven D'Aprano
On Wed, 22 Apr 2009 21:07:46 -0400, TommW wrote: > The json files are used for bookmark backups in FF 3.0 series. That's nice to know, but I'm afraid it's irrelevant to my question. There are lots of things which are JSON. Just because *something else* is JSON does not imply that sessionstore.j

Re: [False,True] and [True,True] --> [True, True]?????

2009-04-22 Thread Steven D'Aprano
On Thu, 23 Apr 2009 13:40:47 +1200, Lawrence D'Oliveiro wrote: > In message <25f4735b-52a2-4d53-9097- > e623655ca...@k19g2000prh.googlegroups.com>, bdb112 wrote: > >> Is there any obvious reason why >> [False,True] and [True,True] >> gives [True, True] > > This kind of confusion is why condition

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
Hi David,   Yes, I agree... But as an end-application-developer, I would put it to you that it is a lot  of effort for developers to humanly contact the package developers every  time we end-developers find a bug. The task (for us developers) involves: * finding the project p

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Steven D'Aprano
On Wed, 22 Apr 2009 19:06:18 -0400, David Lyon wrote: > = Introduction = > > One of the big challenges for Python going forward is providing a > testing infrastructure for Python Packages. Why is it the responsibility of the Python language to provide such a testing infrastructure? > There a

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

2009-04-22 Thread alex23
On Apr 23, 2:13 am, Mike Driscoll wrote: > Technically speaking, Silverlight can be run with IronPython...which > works on Windows and Linux (through Mono), but not Mac (as far as I > know). It looks like MS provide a Mac version as well: http://www.apple.com/downloads/macosx/development_tools/si

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread I V
On Thu, 23 Apr 2009 02:16:07 +, Steven D'Aprano wrote: > I'm leaning towards this being a bug in the json module. Unless somebody > can point me at a credible source that sessionstore.js isn't JSON, I > will report this as a bug. I'm just another random guy on the internet, but I'm pretty sure

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Stanek
On Wed, Apr 22, 2009 at 10:39 PM, David Lyon wrote: > Hi David, > > > > Yes, I agree... > > But as an end-application-developer, I would put it to you that it is a lot > of effort for developers to humanly contact the package developers every > time we end-developers find a bug. > The task (for us

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
Hi Steven, You make some good points... Let me try to answer them.. > Why is it the responsibility of the Python language to provide such a > testing infrastructure? First define "Python language". Ok... we know it as the core interpretor. But to the developer it is also all the packages that

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread Steven D'Aprano
On Thu, 23 Apr 2009 05:08:35 +0100, I V wrote: > For something with at least a vague air of credibility to it, somebody > who appears to be a Mozilla developer comments on their bug tracker, > that sessionstore.js isn't "pure JSON" (though he only identifies the > parantheses, which are much easie

Re: Regular expression to capture model numbers

2009-04-22 Thread Aahz
In article <1bbafe6d-e3bc-4d90-8a0a-0ca82808b...@d14g2000yql.googlegroups.com>, wrote: > >My quick attempt is below: >obj = re.compile(r'\b[0-9|a-zA-Z]+[\w-]+') re.findall(obj, 'TestThis;1234;Test123AB-x') >['TestThis', '1234', 'Test123AB-x'] > >This is not working. What isn't working? Why

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread John Machin
On Apr 23, 12:16 pm, Steven D'Aprano wrote: > > The Mozilla knowledge base claims that sessionstore.js is JSON: > > http://kb.mozillazine.org/Sessionstore.js The claim is incorrect. > So does this tutorial: > > https://developer.mozilla.org/En/Firefox_addons_developer_guide/ > Let's_build_a_Fire

Re: PyModerator, serverFiles.py:13: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

2009-04-22 Thread Carl Banks
On Apr 22, 6:16 pm, "Jim Carlock" wrote: > I downloaded Python 2.6.2 today. Anyone here know what that error in > the subject really means and possibly what I should look at? I took > a look at line 13 in the specified file and it states the line that > it has a problem with. > > import sha > > I'

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Steven D'Aprano
On Wed, 22 Apr 2009 23:27:23 -0400, David Lyon wrote: >> Why? Why should every package on PyPI need to support all those Python >> versions? That should be the decision of the package maintainer. If >> they want to support every version of Python back to 1.0, they can, and >> if they want to only

Re: WINXP vs. LINUX in threading.Thread

2009-04-22 Thread Carl Banks
On Apr 22, 5:34 pm, Lie Ryan wrote: > Diez B. Roggisch wrote: > > Kent schrieb: > >> hello all, > > >> i want to add a "new update notification" feature to my wxPython appl. > >> The codes below do the job. The logic is simple enough, I don't think > >> it needs to be explained. > > >> since somet

Re: relation class

2009-04-22 Thread Aaron Brady
On Apr 22, 11:52 am, Aaron Brady wrote: > On Apr 22, 12:09 am, Chris Rebert wrote: > > > On Tue, Apr 21, 2009 at 5:51 PM, Aaron Brady wrote: > > > Hi all, > > > > I think Python should have a relation class in the standard library. > > > Fat chance. > > > Perhaps I'm not understanding "relation"

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread David Lyon
Hi Steve, >> Why should the package developer dictacte which python version the >> package will run on ? >  > Because they're the developer. Who else should decide what Python > versions to support?  The developer shouldn't be making such decisions at all What hardware or operating systems we

Re: efficiently checking for string.maketrans conflicts?

2009-04-22 Thread Michael Spencer
Saketh wrote: Thank you, Peter and Michael, for your solutions! I think that Michael's is what I was edging towards, but Peter's has demonstrated to me how efficient Python's set functions are. I have a lot more to learn about optimizing algorithms in Python... :) -- http://mail.python.org/mail

Re: Programming in Python with a view to extending in C at a later date.

2009-04-22 Thread Stefan Behnel
Hi, dug.armad...@googlemail.com wrote: > Say you set out to program in Python knowing that you will be > converting parts of it into C ( or maybe C++) at a later date, but you > do not know which parts. > > Can you give any general Python structure / syntax advice that if > implemented from the s

regular expresions and dolar sign ($) in source string

2009-04-22 Thread Jax
Hi I encountered problem with dolar sign in source string. It seems that $ require special threatening. Below is copy of session with interactive Python's shell: Python 2.5.2 (r252:60911, Jan 8 2009, 12:17:37) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more inform

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Patrick Mullen
On Wed, Apr 22, 2009 at 9:33 PM, David Lyon wrote: > Hi Steve, >>> Why should the package developer dictacte which python version the >>> package will run on ? >> >> Because they're the developer. Who else should decide what Python >> versions to support? > The developer shouldn't be making such d

Re: Python Packages : A looming problem? packages might no longer work? (well not on your platform or python version anyway)

2009-04-22 Thread Daniel Fetchinson
>>> Why? Why should every package on PyPI need to support all those Python >>> versions? That should be the decision of the package maintainer. If >>> they want to support every version of Python back to 1.0, they can, and >>> if they want to only support version 2.5 that's fine too. >> >> Why shou

Memory problems (garbage collection)

2009-04-22 Thread Carbon Man
Very new to Python, running 2.5 on windows. I am processing an XML file (7.2MB). Using the standard library I am recursively processing each node and parsing it. The branches don't go particularly deep. What is happening is that the program is running really really slowly, so slow that even runn

<    1   2