Re: PyBitmessage is not dead. Ignore the FUD.

2024-09-12 Thread Andy Burns via Python-list
711 Spooky Mart wrote: PyBitmessage is not dead. https://bitmessage.org It may help with looking "not dead" to have a changelog that has actually changed within the last 8 years? -- https://mail.python.org/mailman/listinfo/python-list

The split() function of Python's built-in module has changed in a puzzling way - is this a bug?

2021-04-22 Thread Andy AO
Upgrading from Python 3.6.8 to Python 3.9.0 and executing unit tests revealed a significant change in the behavior of re.split(). but looking at the relevant documentation — Changelog and re - Regular expression operations - Python 3.9.4 documen

pdb which handles threads

2018-11-19 Thread Andy Valencia
nly one involved with the keyboard. All others wait politely. "fg " To switch to a different thread. I welcome comments (it's for Python 2), under: http://sources.vsta.org/ Regards, Andy Valencia -- https://mail.python.org/mailman/listinfo/python-list

PEP 572 implementation for Python

2018-07-22 Thread Andy Valencia
lf.count += 1) > PROBLEM: ... In the interests of orthogonality, I did *not* add code to disable places where some expressions--but not these new ones--could be used. Go ahead and say: a := 1 at the top level if that's what floats your boat. Regards, Andy Valencia -- https://mail.python.org/mailman/listinfo/python-list

printing funny symbols within spyder ide

2016-11-24 Thread andy
if it is a feature, where can I find the complete table of symbols? within bash - starting python3 - i get some ugly "unicode?" symbols, which look like a square containig tiny alphanumeric numbers. best regards andy -- https://mail.python.org/mailman/listinfo/python-list

Re: how to print variable few time?

2016-11-16 Thread andy
Sun, 13 Nov 2016 17:27:23 +0200 wrote Jussi Piitulainen: >>> word=raw_input() >>> print word*3 >>> >>> >>> with this code im getting - wordwordword. >>> what changes i need to make to get - word word word - instead? >>> >>> thanks >> >> using python3.x: >> >> word=input() >> print((word+' ')*2

Re: how to print variable few time?

2016-11-13 Thread andy
Sun, 13 Nov 2016 15:12:01 +0100 wrote andy: > word=input() > print((word+' ')*2, end='') > print(word) > > ..but D'Apranos ' '.join(..) is far more elegant. don't know whether I really would use this form, but it works in pytho

Re: how to print variable few time?

2016-11-13 Thread andy
Sat, 12 Nov 2016 04:58:20 -0800 wrote guy asor: > hello! > > this is my code: > > word=raw_input() > print word*3 > > > with this code im getting - wordwordword. > what changes i need to make to get - word word word - instead? > > thanks using python3.x: word=input() print((word+' ')*2, end

Re: Internet Data Handling » mailbox

2016-10-23 Thread andy
Sat, 22 Oct 2016 19:41:45 -0400 wrote Adam Jensen: > On 10/22/2016 05:47 AM, andy wrote: >> I would type: help(mailbox) after importing it. > > I guess the output of that might be more meaningful once I understand > the underlying structures and conventions. yes - you are r

Re: Internet Data Handling » mailbox

2016-10-22 Thread andy
the structure constant or does > it change depending upon the content of the mbox? > > I'm a bit new to python documentation. How would a potential user of the > "mailbox" library determine these things? Or did I miss something? I would type: help(mailbox) after importing it. best regards andy -- https://mail.python.org/mailman/listinfo/python-list

Python Packaging and being a good testing citizen

2015-12-18 Thread Andy Loughran
One thing has been bugging me, and that is that pyserial works differently on python2 to python3 due to accepting/rejecting strings in place of the new bytes datatype. I'm not sure how best to test this, so I'm looking for advice: https://www.andyloughran.co.uk/2015/12/16/python-test

Re: Please don't make unfounded legalistic demands (was: [a, b, c, d] = 1, 2, 3, 4)

2015-08-26 Thread Andy Kubiak
> > I wish I could, problem is, if the mail recipient is within the company, > no legal boilerplate is added making the joke fall flat. > What if you could send all your mail to another address on a server you control, or can at least run programs on? Could you configure all your outgoing mail to

How to exit from embedded IPython shell?

2014-09-09 Thread Andy Zhang
Hi, I am embedding IPython inside a c application, by running PYTHONSTARTUP file which is: import IPython IPython.embed() Then the application interact with user input via stdin. After the user is done, she would type EOF. The program should exit, but keep all the python objects in memory, and

Re: datetime question

2013-11-12 Thread Andy Lawton
Firstly , I should clarify I have no idea how to program python, I joined this mailing list in anticipation of learning soon. And thought I'd have a go playing around with your code and code given to you (worst possible place to start, I'm sure) But from the answers already given to you, this seem

Re: optparse question (python 2.6)

2013-09-02 Thread Andy Kannberg
x27; , nargs=2) File "/usr/lib64/python2.6/optparse.py", line 1012, in add_option option = self.option_class(*args, **kwargs) File "/usr/lib64/python2.6/optparse.py", line 577, in __init__ checker(self) File "/usr/lib64/python2.6/optparse.py", line 706, in _c

Re: New VPS Provider needed

2013-08-27 Thread Andy Kannberg
Niko, No offense, but I have to agree with David. This list is about Python, not about webprogramming nor hosting. If you are in need of a mailing group for such, again, Google or any other search engine can help you with that. best regards, Andy 2013/8/27 Νικόλαος > Στις 27/8/2013 2:18

optparse question (python 2.6)

2013-08-26 Thread Andy Kannberg
ments ) . There are about 7 options that can be selected. However, I can't seem to figure out how to force that only one option is allowed when the script is invoked. In other words: How to restrict the script to accept only one of the available options ? cheers, Andy -- http://mail.python.o

Re: Regular expressions, help?

2012-04-19 Thread Andy
ot of frustration. Thanks, -Andy- -- http://mail.python.org/mailman/listinfo/python-list

Re: functions which take functions

2012-04-13 Thread Antti "Andy" Ylikoski
12.4.2012 18:48, Kiuhnm kirjoitti: On 4/11/2012 16:01, Antti J Ylikoski wrote: On 9.4.2012 21:57, Kiuhnm wrote: Do you have some real or realistic (but easy and self-contained) examples when you had to define a (multi-statement) function and pass it to another function? Thank you. Kiuhnm A f

Dynamically creating properties?

2011-10-27 Thread Andy Dingley
I have some XML, with a variable and somewhat unknown structure. I'd like to encapsulate this in a Python class and expose the text of the elements within as properties. How can I dynamically generate properties (or methods) and add them to my class? I can easily produce a dictionary of the requi

Re: Python Regular Expressions

2011-06-22 Thread Andy Barnes
to expand. I have parsed one of the lines manually to try and break the process I'm trying to automate down. source: Theurgic Lore, Lore, n/a, 105, 70, 30, Distil Mana output: TheurgicLore [label="{ Theurgic Lore |{Lore|n/a}|{105|70|30}}"]; DistilMana -> TheurgicLore; This is the steps I would t

Python Regular Expressions

2011-06-22 Thread Andy Barnes
y to see what I am trying to achieve from the above. I'd be very happy to accept assistance in automating the conversion of my ever expanding csv file, into the dot format described above. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: Cartoonify Myself

2011-05-17 Thread andy baxter
On 17/05/11 20:26, Chris M. Bartos wrote: Hi, Is there a Python module that can "cartoonify" a picture of myself? There's got to be an algorithm out there somewhere, right? If there is a way to cartoon a single picture, could you cartoonify a video, too? Thanks for your help. Chris You

indirect assignment question

2011-05-16 Thread Andy Baxter
for key in widgetDic: ... set the variable in dic[key] to point to self.wTree.get_widget(key) somehow what I need is some kind of indirect assignment where I can assign to a variable whose name is referenced in a dictionary value. Is there a way of doing this in python? thanks, andy baxter -- http://highfellow.org -- http://mail.python.org/mailman/listinfo/python-list

Re: regular expression i'm going crazy

2011-05-16 Thread andy baxter
On 16/05/11 17:25, Tracubik wrote: pls help me fixing this: import re s = "linka la baba" re_s = re.compile(r'(link|l)a' , re.IGNORECASE) print re_s.findall(s) output: ['link', 'l'] why? i want my re_s to find linka and la, he just find link and l and forget about the ending a. The round br

Re: threads with gtk gui problem

2011-05-14 Thread andy baxter
On 14/05/11 14:12, Andy Baxter wrote: Hi, I'm working on adding a Gtk GUI to a python program. Its main function is to read raw data from an arduino board over USB, and convert it to MIDI note/controller events to be sent to another program. I've had it working fine with just a co

Re: threads with gtk gui problem

2011-05-14 Thread andy baxter
On 14/05/11 14:12, Andy Baxter wrote: Hi, I'm working on adding a Gtk GUI to a python program. Its main function is to read raw data from an arduino board over USB, and convert it to MIDI note/controller events to be sent to another program. I've had it working fine with just a co

threads with gtk gui problem

2011-05-14 Thread Andy Baxter
character read in) ('keeper' is a global object which stores the config data and references to a few key objects). When you start the program, the thread stops either before the first print statement, or on the line which initialises the serial port ( fhan=serial.Serial(...) ). &#x

Can 32-bit and 64-bit Python coexist in the same computer?

2010-10-26 Thread Andy
same computer. Is there anything I need to know or a better way to achieve this instead of having a double Python installation? By the way, I use Python 2.6, so it would be [Python 2.6.x 32-bit] and [Python 2.6.x 64-bit] on the same computer. Thanks! Andy -- http://mail.python.org/mailman/lis

Re: open() throws permission error and I don't get why

2010-10-15 Thread Andy Theuninck
> I suspect that postfix is only setting the UID and the (primary) GID, > but not the supplementary GIDs. In which case, it doesn't matter whether > "nobody" is a member of the group. That does seem like a good explanation. I guess I'll have to re-think my approach a bit. sg sounds like it would g

open() throws permission error and I don't get why

2010-10-15 Thread Andy Theuninck
I'm trying to write a script to read e-mail over stdin, extract attachments, and distribute them around the file system based on the incoming e-mail address. Everything works until I actually try writing interesting file system locations. I've established, through logging, that postfix runs my sc

Can code objects outlive the interpreter that created them?

2010-06-15 Thread Andy Jost
lt of Py_CompileString in a static variable, however, the application does sometimes restart the Python interpreter. My question: is the PyCodeObject * returned from Py_CompileString still valid after Python is restarted? Andy Jost Sr. R&D Engineer Silicon Engineering Group Synopsys, Inc.

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-12 Thread Antti "Andy" Ylikoski
13.6.2010 7:02, Antti "Andy" Ylikoski kirjoitti: 12.6.2010 22:54, Pascal J. Bourguignon kirjoitti: bolega writes: [PAIP] Is there anything in this old norvig book that makes it worth pursuing as a text ? Yes. I agree with his criticism that the book is "old", mine

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-12 Thread Antti "Andy" Ylikoski
12.6.2010 22:54, Pascal J. Bourguignon kirjoitti: bolega writes: [PAIP] Is there anything in this old norvig book that makes it worth pursuing as a text ? Yes. I agree with his criticism that the book is "old", mine stems from the year 1992. I bought and studied the Russell-Norvig b

OFF TOPIC

2010-06-12 Thread Antti "Andy" Ylikoski
12.6.2010 21:06, George Neuner kirjoitti: On Sat, 12 Jun 2010 18:57:08 +0300, "Antti \"Andy\" Ylikoski" wrote: OT: (very Off Topic.) I would not trust dolphins to take care of my investments. Why not? Remember the chimpanzee that picked stocks and beat ma

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-12 Thread Antti "Andy" Ylikoski
12.6.2010 13:04, vanekl kirjoitti: Antti "Andy" Ylikoski wrote: snip Maybe it could be a good idea for someone to write an academic study of all these available Lisp implementations. Even Interlisp still lives, as it was recently noted in this newsgroup. (I did not check the Go

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-12 Thread Antti "Andy" Ylikoski
12.6.2010 12:02, Antti "Andy" Ylikoski kirjoitti: 10.6.2010 23:14, bolega kirjoitti: Which is the best implementation of LISP family of languages for real world programming ? http://wiki.alu.org/Implementation Kindly pick one from commercial and one from open-source . The c

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-12 Thread Antti "Andy" Ylikoski
10.6.2010 23:14, bolega kirjoitti: Which is the best implementation of LISP family of languages for real world programming ? http://wiki.alu.org/Implementation Kindly pick one from commercial and one from open-source . The criteria is : libraries, gui interface and builder, libraries for TCP,

Re: pyserial script doesnt execute properly

2010-03-09 Thread Andy
some free software as counterpart to your Arduino device in order to confirm the microcontroller is sending exactly what you think it is sending. In other words, is it sending to your Python program '11' or '1\n1\n'? Also to confirm other details such as parity bits, baud, etc. Cheers, Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: python and Postgresq

2009-11-23 Thread Andy dixon
"Diez B. Roggisch" wrote in message news:7mv62nf3hp17...@mid.uni-berlin.de... Andy dixon wrote: Hi, Does anyone have a link to, or can provide an example script for using python-pgsql (http://pypi.python.org/pypi/python-pgsql/) or if someone can recommend an alternative, tha

python and Postgresq

2009-11-23 Thread Andy dixon
Hi, Does anyone have a link to, or can provide an example script for using python-pgsql (http://pypi.python.org/pypi/python-pgsql/) or if someone can recommend an alternative, that would be fantastic. Thanks! Andy Dixon -- http://mail.python.org/mailman/listinfo/python-list

Unable to create scrollable editor window using curses

2009-09-27 Thread Andy Elvey
() # Print the exception End of code ** I've tried all sorts of things, including having all kinds of contortions with pads, subpads and so on. Nothing has worked, so any help with this (so that the editor can be made to scroll the text) would be very gratefully received. Man

Re: subprocess + python-daemon - bug/problem?

2009-07-09 Thread Andy Clegg
My apologies, the python code should have been: "import daemon import subprocess daemon.DaemonContext(stderr = open("fakeConsole.txt","w+")).open() subprocess.Popen(['echo','1']).wait()" However the error remains the same. Yours, Andy On Jul

subprocess + python-daemon - bug/problem?

2009-07-09 Thread Andy Clegg
eading). I'm using Fedora 10, Python 2.5.2, and python-daemon 1.4.6 from here http://pypi.python.org/pypi/python-daemon/ . If anyone can shed some light on the situation, I'd be extremely grateful! Yours, Andy -- http://mail.python.org/mailman/listinfo/python-list

JSON Template: Minimal but powerful templating language implemented in Python and 3 other languages

2009-04-17 Thread Andy Chu
entation on the site, but this article explains it well: http://json-template.googlecode.com/svn/trunk/doc/Introducing-JSON-Template.html thanks, Andy -- http://mail.python.org/mailman/listinfo/python-list

How Do I think of import?

2009-04-05 Thread Andy
s 90 definitions PtLabel 54 and PtButton 11. Thanks, Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: Regression test test_site failed on current trunk

2009-02-19 Thread Andy
On 19 Feb., 21:47, Steve Holden wrote: > Do you mean you can't get previous lines in your Python command history > to show up? This sounds as though you may not have built the readline > support in to your experimental build. I can't remember exactly what the > deal is, but I know that readline i

Regression test test_site failed on current trunk

2009-02-19 Thread Andy
Hi, I checked out the python trunk (curently 2.7a0), compiled it on my linux machine and run the regression test suit. Below is the output of the failed part: test_site [14871 refs] test test_site failed -- Traceback (most recent call last): File "/mybook/storage/python_lnx/Lib/test/test_site.p

bubblefishymon

2009-01-16 Thread Andy Goldschmidt
pts. Does that mean Sensors is no longer used / supported ? If so , what do I use in place of it ? Please note, I don't know how to code in Python (yet!) so any help would be much appreciated. Regards Andy -- http://mail.python.org/mailman/listinfo/python-list

cgi.FieldStorage hanging with Python 3.0 (but works with 2.5.1)

2009-01-13 Thread Andy Grove
  As I said, this all works fine with Python 2.5.1 pre-installed. Any suggestions? Thanks, Andy. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 urllib.parse.parse_qs results in TypeError

2009-01-13 Thread Andy Grove
I don't fully understand this but if I pass in "str(qs)" instead of "qs" then the call works. However, qs is returned from file.read() operation so shouldn't that be a string already? In case it's not already obvious, I am new to Python :-) .. so I'm probably missing something here. -- http://mail

Re: Python 3.0 urllib.parse.parse_qs results in TypeError

2009-01-13 Thread Andy Grove
uot;, line 363, in handle self.handle_one_request() File "/Library/Frameworks/Python.framework/Versions/3.0/lib/ python3.0/http/server.py", line 357, in handle_one_request method() File "/Users/andy/Development/EclipseWorkspace/dbsManage/kernel.py", line 178, in

Re: 2.6, 3.0, and truly independent intepreters

2008-11-10 Thread Andy O'Meara
On Nov 6, 9:02 pm, sturlamolden <[EMAIL PROTECTED]> wrote: > On Nov 7, 12:22 am, Walter Overby <[EMAIL PROTECTED]> wrote: > > > I read Andy to stipulate that the pipe needs to transmit "hundreds of > > megs of data and/or thousands of data structure instance

Re: 2.6, 3.0, and truly independent intepreters

2008-11-10 Thread Andy O'Meara
On Nov 6, 8:25 am, sturlamolden <[EMAIL PROTECTED]> wrote: > On Nov 5, 8:44 pm, "Andy O'Meara" <[EMAIL PROTECTED]> wrote: > > > In a few earlier posts, I went into details what's meant there: > > >http://groups.google.com/group/comp.lang.python

Re: 2.6, 3.0, and truly independent intepreters

2008-11-10 Thread Andy O'Meara
on. The only thing that sucks is that I have a lot of other commitments right now, so I can't spend the time on this that I'd like to. Once we have that API finalized, I'll be able to start offering some bounties for filling in some of its implementation. In any case,

Re: 2.6, 3.0, and truly independent intepreters

2008-11-05 Thread Andy O'Meara
On Nov 4, 10:59 am, sturlamolden <[EMAIL PROTECTED]> wrote: > On Nov 4, 4:27 pm, "Andy O'Meara" <[EMAIL PROTECTED]> wrote: > > > People > > in the scientific and academic communities have to understand that the > > dynamics in commercial softwar

Re: 2.6, 3.0, and truly independent intepreters

2008-11-04 Thread Andy O'Meara
ta structures situation (see my posts regarding real-time video processing). I'm not sure if you've followed all the discussion, but multiple processes is off the table (this is discussed at length, so just flip back into the thread history). Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-11-03 Thread Andy O'Meara
On Oct 30, 11:09 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Oct 31, 2:05 am, "Andy O'Meara" <[EMAIL PROTECTED]> wrote: > > > I don't follow you there. If you're referring to multiprocessing, our > > concerns are: > > > - M

Re: 2.6, 3.0, and truly independent intepreters

2008-10-30 Thread Andy O'Meara
on't think you're talking > about python-level processes or threads. > Yeah, you have it right-on there, with added fact that the C and python execution (and data access) are highly intertwined (so getting and releasing the GIL would have to be happening all over). For example, consider and the dynamics, logic, algorithms, and data structures associated with image and video effects and image and video image recognition/analysis. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-30 Thread Andy O'Meara
ing the discussion is the most > productive thing we can do. > Well, most others here seem to have a lot different definition of what qualifies as a "futile" discussion, so how about you allow the rest of us continue to discuss these issues and possible solutions. And, for the record, I've said multiple times I'm ready to contribute monetarily, professionally, and personally, so if that doesn't qualify as the precursor to "code contributions from one of the participants" then I don't know WHAT does. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-30 Thread Andy O'Meara
arlier point about representing a company ready to spend real resources, please email me off-list if anyone here would have an interest in an open "CPythonES" project (and get full compensation). I can say for sure that we'd be able to lead with API framework design work--that's my personal strength and we have a lot of real world experience there. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-28 Thread Andy O'Meara
ge, we have all kinds of options when it comes to multithreading). For example, recall that by throwing python in multiple dynamic libs, we were able to achieve the GIL-less interpreter independence that we want (albeit ghetto and a pain). Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-28 Thread Andy O'Meara
lopers and companies to the scene, where they get their thread-independent code up and running using python without any unexpected reengineering. Again, why are companies choosing Lua over Python when it comes to an easy and flexible drop-in interpreter? And please take my points here to be exp

Re: 2.6, 3.0, and truly independent intepreters

2008-10-28 Thread Andy O'Meara
On Oct 27, 4:05 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Andy O'Meara wrote: > > > Well, when you're talking about large, intricate data structures > > (which include opaque OS object refs that use process-associated > > allocato

Re: 2.6, 3.0, and truly independent intepreters

2008-10-28 Thread Andy O'Meara
On Oct 26, 10:11 pm, "James Mills" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 27, 2008 at 12:03 PM, Andy O'Meara <[EMAIL PROTECTED]> wrote: > > I think we miscommunicated there--I'm actually agreeing with you.  I > > was trying to make the same

Re: 2.6, 3.0, and truly independent intepreters

2008-10-26 Thread Andy O'Meara
possible. Again, I only raise this to offer evidence that doing real-world work in a child process is a deal breaker--a shared address space is just way too much to give up. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-26 Thread Andy O'Meara
ention (unless documented otherwise) is that the app can make as many contexts as its wants in whatever threads it wants because the convention is that the app is must (a) never use one context's objects in another context, and (b) never use a context at the same time from more than one thread. That's all I'm really trying to look at here. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-26 Thread Andy O'Meara
6 am, greg <[EMAIL PROTECTED]> wrote: > Andy O'Meara wrote: > > I would definitely agree if there was a context (i.e. environment) > > object passed around then perhaps we'd have the best of all worlds. > > Moreover, I think this is probably the *only* way that >

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread Andy O'Meara
> Andy O'Meara wrote: > > I would definitely agree if there was a context (i.e. environment) > > object passed around then perhaps we'd have the best of all worlds. > > Moreover, I think this is probably the *only* way that > totally independent interpreters cou

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread Andy O'Meara
not in a serialized form). Hence, my position that apps that use python can't be forced to go through IPC or else: (a) there's a performance/resource waste to serialize and unserialize large or intricate data sets, and (b) they're required to write and maintain serialization code that otherwise doesn't serve any other purpose. Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread Andy O'Meara
On Oct 24, 9:40 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > It seems to me that the very simplest move would be to remove global > > static data so the app could provide all thread-related data, which > > Andy suggests through references to the Qui

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread Andy O'Meara
s of data (e.g. memory-resident video). How do you get that back to the parent process without serialization and IPC? What should really happen is just use the same address space so just a pointer changes hands. THAT's why I'm saying that a separate address space is generally a deal breaker when you have large or intricate data sets (ie. when performance matters). Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
nd others to chew on. I can tell you they're pretty important points for any performance-centric software provider (us, game developers--from EA to Ambrosia, and A/V production app developers like Patrick). Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
Another great post, Glenn!! Very well laid-out and posed!! Thanks for taking the time to lay all that out. > > Questions for Andy: is the type of work you want to do in independent > threads mostly pure Python? Or with libraries that you can control to > some extent? Are tho

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
things with threads. Also, when the data sets that you need to send to and from each process is large, using the same address space makes more and more sense. > So, just to clarify - Andy, do you want one interpreter, $N threads > (e.g. PThreads) or the ability to fork multiple "heav

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
Glenn, great post and points! > > Andy seems to want an implementation of independent Python processes > implemented as threads within a single address space, that can be > coordinated by an outer application.  This actually corresponds to the > model promulgated in the pape

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
mmunity effort, (2) make our own high-performance python interpreter (that uses an env object as you described), or (3) drop python and go to lua. I'm favoring them in the order I list them, but the more I discuss the issue with folks here, the more people seem to be unfortunately very divided on (1). Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
On Oct 24, 2:12 am, greg <[EMAIL PROTECTED]> wrote: > Andy wrote: > > 1) Independent interpreters (this is the easier one--and solved, in > > principle anyway, by PEP 3121, by Martin v. Löwis > > Something like that is necessary for independent interpreters, > but

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread Andy O'Meara
On Oct 24, 9:35 am, sturlamolden <[EMAIL PROTECTED]> wrote: > Instead of "appdomains" (one interpreter per thread), or free > threading, you could use multiple processes. Take a look at the new > multiprocessing module in Python 2.6. That's mentioned earlier in the thread. > > There is a fundamen

Re: 2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
ep saying their WILLING and INTERESTED in supporting python development. And, you're exactly right: users see only their immediate problem--but that's the definition of being a user. If users saw the whole picture from the dev side, then they be developers, not users. Please consider that

Re: 2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
over the years so we have good experience in house, our tools are high performance, and we only use a pretty small subset of python). Or, there's the more attractive approach to work with the python dev community and put that dev expenditure into a form everyone can benefit from. Regards, A

Re: 2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
re no doubt factor in to why end-user dev houses ultimately may have to pass up python in favor of another interpreted language. Bottom line: why give prospective devs any reason to turn down python-- there's just so many great things about python! Regards, Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
ail me off-list if you prefer. Oh, while I'm at it, if anyone in the python dev community (or anyone that has put real work into python) is interested in our software, email me and I'll hook you up with a complimentary copy of the products that use python (music visuals for iTunes and WMP). Regards, Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
ering that (or rather, having our company hire/pay part of the python dev community to do the work). To consider that, the question becomes, how many modules are we talking about do you think? 10? 100? I confess that I'm no familiar enough with the full C python suite to have a good idea of how much work we're talking about here. Regards, Andy -- http://mail.python.org/mailman/listinfo/python-list

2.6, 3.0, and truly independent intepreters

2008-10-22 Thread Andy
Until there's a hello world that demonstrates running independent python interpreters on multiple app threads, lua will remain the clear choice over python. Python 3 needs true interpreter independence and multi-threaded support! Thanks, Andy O'Meara -- http://mail.python.org/mailman/listinfo/python-list

Question related to wx and dynamically updating windows

2008-10-20 Thread Andy
I want to dynamically update a list of elements shown as a checkbox list. A file is used to store the elements, and elements can be added and deleted from the list. The trouble is that the window is not properly updated after deleting/adding items. I use the Detach()/Destroy() to remove the

Re: SVN access with pysvn under Cygwin (Installation problems)

2008-07-31 Thread Andy Dingley
On 30 Jul, 20:30, Jason Tishler <[EMAIL PROTECTED]> wrote: > You need to build (and install) pysvn under Cygwin.  The pre-built > Windows version will not work under Cygwin. Thanks. Presumably this same problem would affect anything that uses a .pyd under Cygwin? -- http://mail.python.org/mailman

SVN access with pysvn under Cygwin (Installation problems)

2008-07-30 Thread Andy Dingley
I'm building Python tools to wrap up access to our Subversion / SVN source control system. It's to run on my desktop (Cygwin under Windows XP) and then later under Redhat. Trying to install the pysvn module I'm running into problems getting it to work under Cygwin. Works fine from a Windows comman

Pysqlite issue no attribute 'autocommit'

2008-02-04 Thread Andy Smith
tried searching for it on the python issue traker and didnt find anything. Is anyone else aware of this issue and any solution? thanks for any help! Andy. PS sorry if I didnt include much info, hoping its a known issue (and also I didnt write the code, so not sure what else to include off th

Re: Pysqlite issue no attribute 'autocommit' RESOLVED

2008-02-04 Thread Andy Smith
Ok, simple fix... Updated to MySQL_python-1.2.2 and all ok now! :D - Original Message - From: Andy Smith To: python-list@python.org Sent: Monday, February 04, 2008 3:45 PM Subject: Pysqlite issue no attribute 'autocommit' Hi there, Im trying to run a Py

Pysqlite issue no attribute 'autocommit'

2008-02-04 Thread Andy Smith
tried searching for it on the python issue traker and didnt find anything. Is anyone else aware of this issue and any solution? thanks for any help! Andy. PS sorry if I didnt include much info, hoping its a known issue (and also I didnt write the code, so not sure what else to include off th

dpap implementation in python

2007-12-11 Thread Andy Cheesman
Hi people Is there a dpap implementation for python? All I can seem to find is perl based? (dpap is used to share photos in iphoto) Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: Embedding Python - Passing by Reference

2007-11-29 Thread andy
Thanks for the replies - I see that I completely misunderstood "passing by reference" when discussing Python. It looks like wrapping the object up in a list will be the path I go down as it remains closer to the C API I am wrapping. Thanks again! Andy -- http://mail.python.org/mailma

Embedding Python - Passing by Reference

2007-11-29 Thread andy
that I am trying to wrap an existing C based API as closely as possible, so I can't return the value using return (this example is greatly simplified and I'm already using the return value for other things). Thanks! Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: Embedded Python - Blocking Python Function

2007-11-16 Thread andy
p interpreter by sending system exit exception to it's thread PyThreadState_SetAsyncExc(thread->thread_id, PyExc_SystemExit); PyThreadState_Swap(maininterpreter); PyEval_ReleaseLock(); Andy -- http://mail.python.org/mailman/listinfo/python-list

Re: Redirecting sys.stdin

2007-11-15 Thread andy
r"; > > sys.stdin = RedirectB(); Seems the interpreter didn't like me using one class to redirect stdout and stderr and another class to redirect stdin. Sigh. Andy -- http://mail.python.org/mailman/listinfo/python-list

Redirecting sys.stdin

2007-11-15 Thread andy
Can anyone tell me what I am doing wrong with the following code? When python 2.4 is embedded it crashes because of the assignment to stdin. import sys; class RedirectB: def readline(self): return "bar"; sys.stdin = RedirectB(); Thanks! Andy -- http://mail.python.org/mailma

Re: Embedded Python - Blocking Python Function

2007-11-15 Thread andy
On Nov 15, 9:43 am, [EMAIL PROTECTED] wrote: > On Nov 14, 4:20 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > > Not forcibly - you need some cooperation from the Main function. Maybe > > setting a global variable that Main checks periodically. >

Re: Embedded Python - Blocking Python Function

2007-11-15 Thread andy
On Nov 14, 4:20 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > Not forcibly - you need some cooperation from the Main function. Maybe > setting a global variable that Main checks periodically. Thanks. I'll give that a try! Andy -- http://mail.python.org/mailman/listinfo/python-list

Embedded Python - Blocking Python Function

2007-11-14 Thread andy
o call Py_EndInterpreter(thread); then I get a runtime error (presumably because the Main function is still executing). thanks, Andy -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   >