[ANN] Pida 0.6beta3

2009-09-01 Thread poelzi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We are proud to announce the hopfully last beta of Pida 0.6. [1] It was a long time since beta2 and a lot of changes happened since then: == Core Highlights == • multiprocessing language plugins Language plugins can now use a multiprocessing

Re: An assessment of the Unicode standard

2009-09-01 Thread Byung-Hee HWANG
Nigel Rantor wig...@wiggly.org writes: Hendrik van Rooyen wrote: On Sunday 30 August 2009 22:46:49 Dennis Lee Bieber wrote: Rather elitist viewpoint... Why don't we just drop nukes on some 60% of populated landmasses that don't have a western culture and avoid the whole problem? Now

Executing python script stored as a string

2009-09-01 Thread Ecir Hana
Hello, please, how to execute a python script stored as a string? But let me impose several limitations, so simple exec wont work: - if I understood it correctly defining a function in the string and exec-ing it created the function in current scope. This is something I really don't want -

Re: Is behavior of += intentional for int?

2009-09-01 Thread Steven D'Aprano
On Mon, 31 Aug 2009 10:21:22 -0700, zaur wrote: As a result of this debate is not whether we should conclude that there should be two types of integers in python: 1) immutable numbers, which behave as constant value; 2) mutable numbers, which behave as variable value? What can you do with

Re: Overriding iadd for dictionary like objects

2009-09-01 Thread Aahz
In article b11a8a0e-03ca-41c9-b0d0-c5180b6a2...@p15g2000vbl.googlegroups.com, RunThePun ubershme...@gmail.com wrote: On Aug 30, 10:33=A0pm, a...@pythoncraft.com (Aahz) wrote: In article e09276e8-8152-4002-8366-4c12705a8...@l35g2000vba.googlegroups= .com, RunThePun =A0ubershme...@gmail.com

Re: Return value of multiprocessing manager registerred function

2009-09-01 Thread Terry
On Aug 31, 5:58 pm, jacopo jacopo.pe...@gmail.com wrote: Hi Terry, I have just started working on similar things and I am strugling to find examples or documentations. So far I have found only the official documentation of the multiprocessing package. Would you be able to recommend me some

Re: multiprocessing managers and socket connection.

2009-09-01 Thread Terry
On Aug 26, 7:25 pm, Chris chris...@gmail.com wrote: On Aug 25, 9:11 pm, Terry terry.yin...@gmail.com wrote: On Aug 25, 10:14 pm, Chris chris...@gmail.com wrote: I've been using multiprocessing managers and I really like the functionality. I have a question about reconnecting to

Re: Executing python script stored as a string

2009-09-01 Thread Steven D'Aprano
On Mon, 31 Aug 2009 16:29:45 -0700, Ecir Hana wrote: Hello, please, how to execute a python script stored as a string? But let me impose several limitations, so simple exec wont work: - if I understood it correctly defining a function in the string and exec-ing it created the function in

Re: map

2009-09-01 Thread alex23
Piet van Oostrum p...@cs.uu.nl wrote: [myFunc(elt, 'booHoo') for elt in myList] is also a good candidate and in this case I think it is preferable to both the loop and the map with a partial or lambda in terms of clarity. From memory, a listcomp with a non-builtin function is also faster than

Re: Executing python script stored as a string

2009-09-01 Thread Xavier Ho
On Tue, Sep 1, 2009 at 9:29 AM, Ecir Hana ecir.h...@gmail.com wrote: - if I understood it correctly defining a function in the string and exec-ing it created the function in current scope. This is something I really don't want Oops, missed that point. May I ask what is there you don't want,

Re: An assessment of the Unicode standard

2009-09-01 Thread r
Well despite all my rantings over Unicode i highly doubt Guido will remove it from Python or any other language devs will follow suit. As i pointed out the real issue is not so much a Unicode problem (which is just a monkey patch) but stems from the multi-language problem. I think a correlation

Re: lambda functions

2009-09-01 Thread alex23
Pierre pierre.gaill...@gmail.com wrote: I would like to know if it is possible to define a loop in a lambda function It is if you can easily replace the for loop with a call to map(): s_minus_1 = lambda s: map(lambda x: x-1, s) test = range(1, 100, 10) test [1, 11, 21, 31, 41, 51, 61,

Re: IDE for python similar to visual basic

2009-09-01 Thread r
On Aug 30, 4:12 pm, Nobody nob...@nowhere.com wrote: (snip) Creating a GUI programmatically is almost always the wrong approach. It tends to be adopted due to a path of least resistance, rather than any affirmative reason. so i guess it'e safe to say that you use a GUI builder? :-) --

Re: win32ui DLL Load Failed

2009-09-01 Thread Gregor Horvath
Am Mon, 31 Aug 2009 12:43:04 -0700 (PDT) schrieb MikeC mcrav...@att.net: I have a python executable that's failing to load on a user's machine running Windows XP. My developer machine is also running Windows XP. I have determined that it is failing when it attempts to load win32ui. I have

Re: An assessment of the Unicode standard

2009-09-01 Thread Terry Reedy
r wrote: Well despite all my rantings over Unicode i highly doubt Guido will remove it from Python or any other language devs will follow suit. As i pointed out the real issue is not so much a Unicode problem (which is just a monkey patch) but stems from the multi-language problem. Unicode is

Using select.kqueue()

2009-09-01 Thread Ritesh Nadhani
Hi I am trying to use kqueue. Since, I am on v2.5, I use the baclport: http://pypi.python.org/pypi/select26/0.1a3. Following the example at: http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which works perfectly as it tells all events), I tried to port it to Python:

Re: PyQt GUI

2009-09-01 Thread Helvin
Having left my problem with this embedding vtk business for a month, I came back to it yesterday, and with a bit more programming knowledge, found that my problem was simply with the python path. All I needed to do was to append, in my GUI file, the path to the python bindings, which came with

Python and glade program - without errors but didn't display anything

2009-09-01 Thread Raji Seetharaman
Hi all, i tried to develop a calculator using glade and python. When i run the script(python calculatorglade.py), i didn't get any errors. A calculator gui is supposed to be displayed. But no window appears. With Ctrl + C, i killed it. I got the following response from the terminal ^CTraceback

Re: Executing python script stored as a string

2009-09-01 Thread Ecir Hana
On Sep 1, 5:31 am, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: You can pass in a global and local namespaces to exec as arguments: x = 4 ns = {'x': 4} exec x += 1 in ns x 4 ns['x'] 5 See the docs for details. Thanks! This is very useful! You can copy the parts

Re: Executing python script stored as a string

2009-09-01 Thread Steven D'Aprano
On Tue, 01 Sep 2009 01:34:33 -0700, Ecir Hana wrote: You can copy the parts of the current scope into the namespace you pass to exec, then later copy the revised values out again. But are you sure you really want to take this approach? exec is up to ten times slower than just executing the

Python word to text

2009-09-01 Thread BJörn Lindqvist
Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that external programs like catdoc and antiword can't be used. Anyone know of any? Thanks in advance. -- mvh Björn --

Re: Why does this group have so much spam?

2009-09-01 Thread Andre Engels
On Sun, Aug 30, 2009 at 11:18 AM, David71da...@libero.it wrote: Il Sat, 29 Aug 2009 17:18:46 -0700 (PDT), casebash ha scritto: So much of it could be removed even by simple keyword filtering. I think there is only one final solution to the spam pestilence: a tiny tax on email and posts.

Re: Python and glade program - without errors but didn't display anything

2009-09-01 Thread anusha k
hi, You forgot to show the window.So in init method of py file and add self.window = self.wTree.get_widget(window_calculator) self.window.show() Njoy the share of Freedom, Anusha Kadambala On Tue, Sep 1, 2009 at 2:04 PM, Raji Seetharaman sraji...@gmail.com wrote: Hi all, i tried to develop

Re: Executing python script stored as a string

2009-09-01 Thread Ecir Hana
On Sep 1, 11:32 am, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: But I don't quite understand why is it security risk. How is it different to run: exec 'format(your_hdd)' than: /bin/python format.py ? It's not different. But read what I said -- if the string is coming

Re: Executing python script stored as a string

2009-09-01 Thread Hendrik van Rooyen
On Tuesday 01 September 2009 11:32:29 Steven D'Aprano wrote: Possibly there is a way to have a thread halt itself after a certain amount of time? I'm not an expert on threads, I've hardly ever used them. Not automagically, as far as I can see. You are on your own if you want to somehow kill a

Re: Python word to text

2009-09-01 Thread Nitebirdz
On Tue, Sep 01, 2009 at 11:38:30AM +0200, BJörn Lindqvist wrote: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that external programs like catdoc and antiword can't be used. Anyone know

Re: Using select.kqueue()

2009-09-01 Thread exarkun
On 07:51 am, rite...@gmail.com wrote: Hi I am trying to use kqueue. Since, I am on v2.5, I use the baclport: http://pypi.python.org/pypi/select26/0.1a3. Following the example at: http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which works perfectly as it tells all events), I

Re: map

2009-09-01 Thread Jan Kaliszewski
Another possibilities, if you really *desire* to use map() and not list-comprehension (I'd prefer the latter), are: # Python 2.x: map(func, mylist, itertools.repeat('booHoo', len(mylist))) # Python 3.x, where map() works like Py2.x's itertools.imap(): list(map(func, mylist,

Re: An assessment of the Unicode standard

2009-09-01 Thread Kurt Mueller
Am 01.09.2009 um 09:39 schrieb Terry Reedy: But this same problem also extends into monies, nation states, units of measure, etc. There is, of course, an international system of measure. The US is the only major holdout. (I recall Burma, or somesuch, is another.) An interesting

Re: An assessment of the Unicode standard

2009-09-01 Thread Paul Boddie
On 30 Aug, 18:00, r rt8...@gmail.com wrote: Hold the phone Paul you are calling me a retarded bigot and i don't much appreciate that. I think you are completely misinterpreting my post. i and i ask you read it again especially this part... I didn't call you a retarded bigot, and yet I did

Re: An assessment of the Unicode standard

2009-09-01 Thread Paul Boddie
On 31 Aug, 00:28, r rt8...@gmail.com wrote: I said it before and i will say it again. I DONT CARE WHAT LANGUAGE WE USE AS LONG AS IT IS A MODERN LANGUAGE FOUNDED ON IDEALS OF SIMPLICITY [Esperanto] English is by far already the de-facto lingua franca throughout the world. You don't

Re: Determining the metaclass

2009-09-01 Thread casebash
Thanks, I am silly I cannot determine if a class is an instance of a particular metaclass. Here is my best attempt class tmp(type): ...     pass ... def c(metaclass=tmp): ...     pass ... isinstance(c, tmp) False isinstance(c.__class__, tmp) False Can anyone explain

Re: Why does this group have so much spam?

2009-09-01 Thread David
Il Sun, 30 Aug 2009 19:13:38 +0100, Nobody ha scritto: Apart from the impossibility of implementing such a tax, it isn't going to discourage spammers when the tax will be paid by the owner of the compromised PC from which they're sending their spam. I don't agree. Each computer connected to

Re: Why does this group have so much spam?

2009-09-01 Thread David
Il Sun, 30 Aug 2009 16:08:46 -0700 (PDT), r ha scritto: Yes i agree but your logic is flawed. If someone cuts my brake lines and i cannot stop who is to blame? Or if someone throws nails on the highway and i crash, who is to blame? Obviously you cannot blame the car owner. However if i let

Re: Why does this group have so much spam?

2009-09-01 Thread David
Il Mon, 31 Aug 2009 21:04:27 +0200, David ha scritto: Obviously the owner can not be charged I mean: can not be jailed for crimes made by the thief using his car. D. -- http://mail.python.org/mailman/listinfo/python-list

Re: Select column from a list

2009-09-01 Thread hoffik
Wow, I didn't expect so many answers and possibilities! I'll try to go through it and surely find the best solution for me :jumping: Thank you all! -- View this message in context: http://www.nabble.com/Select-column-from-a-list-tp25185508p25240207.html Sent from the Python - python-list

Re: An assessment of the Unicode standard

2009-09-01 Thread Matthew Barnett
Kurt Mueller wrote: Am 01.09.2009 um 09:39 schrieb Terry Reedy: But this same problem also extends into monies, nation states, units of measure, etc. There is, of course, an international system of measure. The US is the only major holdout. (I recall Burma, or somesuch, is another.) An

Re: An assessment of the Unicode standard

2009-09-01 Thread r
On Aug 30, 1:08 pm, Nobody nob...@nowhere.com wrote: (snip) Because that would be the likely consequence of such a stance. Japanese websites will continue to use Shift-JIS, Japanese cellphones (or Scandanavian cellphones aimed at the Japanese market, for that matter) will continue to render

Re: Python and glade program - without errors but didn't display anything

2009-09-01 Thread Raji Seetharaman
Thanks Anusha. Now my calculator gui window is displayed. -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE file saving problem

2009-09-01 Thread r
On Aug 23, 4:12 am, Harald Luessen harald.lues...@gmx.de wrote: (snip) When the cursor is somewhere in the white space at the beginning of the lines and I use Ctrl-rightArrow  [ctrl]-[-] to go to the first word in the line then IDLE skips the position with the first non-whitespace letter and

Re: Object Reference question

2009-09-01 Thread Bruno Desthuilliers
Ethan Furman a écrit : (snip) The best answer I can give is that you do not want to use 'name' to reference the object itself, but only for printing/debugging purposes. Which is what the OP stated !-) 'name' is just a label for your object, and not necessarily the only label; that

Re: Python word to text

2009-09-01 Thread BJörn Lindqvist
2009/9/1 Nitebirdz nitebi...@sacredchaos.com: On Tue, Sep 01, 2009 at 11:38:30AM +0200, BJörn Lindqvist wrote: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that external programs like

Re: Python word to text

2009-09-01 Thread Tino Wildenhain
Am 01.09.2009 13:42, schrieb Nitebirdz: On Tue, Sep 01, 2009 at 11:38:30AM +0200, BJörn Lindqvist wrote: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that external programs like catdoc and

Re: Python word to text

2009-09-01 Thread Tim Golden
BJörn Lindqvist wrote: 2009/9/1 Nitebirdz nitebi...@sacredchaos.com: On Tue, Sep 01, 2009 at 11:38:30AM +0200, BJörn Lindqvist wrote: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that

Re: Is behavior of += intentional for int?

2009-09-01 Thread zaur
On 1 сен, 03:31, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Mon, 31 Aug 2009 10:21:22 -0700, zaur wrote: As a result of this debate is not whether we should conclude that there should be two types of integers in python: 1) immutable numbers, which behave as constant

copy object?

2009-09-01 Thread lallous
Hello I am new to python and have some questions. How to copy objects using another method than this: class op: def __init__(self, op): for x in dir(op): if x[:2] == __: continue setattr(self, x, getattr(op, x)) o = op(src) I tried to copy

Re: Python word to text

2009-09-01 Thread Gabriel
2009/9/1 BJörn Lindqvist bjou...@gmail.com: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs, which means that external programs like catdoc and antiword can't be used. Anyone know of any? You could

Python community buildbot page still 503

2009-09-01 Thread Graeme Glass
If I am not mistaken http://python.org/dev/buildbot/community/all/ has been down since python.org had its harddrive issues. Anyone know a time line on getting it back up and running. I have mailed the buildbot mailing list, but heard nothing for a week, so thought I would try here. Kind regards,

Re: An assessment of the Unicode standard

2009-09-01 Thread steve
I'm a lurker on this list and am here more to learn rather than teach and although better sense tells me not to feed the troll -- I'll bite. Mainly because, r, unlike XL does seem to offer help every one in a while. So, ... On 08/31/2009 03:58 AM, r wrote: On Aug 30, 2:05 pm, Paul

Re: Ban Xah Lee

2009-09-01 Thread markspace
Gernot Hassenpflug wrote: Crap, what the hell are *you* doing here, Arved. This is so frightening! LOL Gernot (shocked to find people have other interests, hehe) Thanks for cross posting this to five different newsgroups. Your garbage is not wanted here, here being clj.programmer. Learn

AttributeError: 'NoneType' object has no attribute 'get_text'

2009-09-01 Thread Raji Seetharaman
Hi all, i worked out python and glade example program to add two numbers and display its output from the following link http://www.dreamincode.net/forums/showtopic63885.htm When i run the script, i received the following error python add.py Traceback (most recent call last): File add.py, line

Re: Logging contents of IRC channel

2009-09-01 Thread Dan Upton
http://www.irchelp.org/irchelp/rfc/rfc.html describes (more or less) the protocol. It's actually pretty easy to write something which can connect and monitor one or more channels on a server--that's how I learned network programming in Java many moons ago. I'd say look at the RFC and start off

Re: Python word to text

2009-09-01 Thread Nitebirdz
On Tue, Sep 01, 2009 at 03:20:29PM +0200, Tino Wildenhain wrote: A quick search returned this: http://code.activestate.com/recipes/279003/ Did you give it a try? Thats a funny advice. Did you read that receipe? ;-) Requires the Python for Windows extensions, and MS Word. how does this

Re: [ANN] Pida 0.6beta3

2009-09-01 Thread Gary Herron
poelzi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We are proud to announce the hopfully last beta of Pida 0.6. [1] Wouldn't this be a good time to tell us what Pida does? It was a long time since beta2 and a lot of changes happened since then: == Core Highlights == •

Re: An assessment of the Unicode standard

2009-09-01 Thread Rami Chowdhury
SI is preferred, but Imperial is permitted. IME most people in the UK under the age of 40 can speak SI without trouble. On the other hand, let's nip down to the pub for 580ml of beer just doesn't have the right ring to it ;-) On Tue, 01 Sep 2009 06:17:00 -0700, Matthew Barnett

Python3: hex() on arbitrary classes

2009-09-01 Thread Philipp Hagemeister
class X(object): def __int__(self): return 42 def __hex__(self): return '2b' #sic hex(X()) What would you expect? Python2 returns '2b', but python 3(74624) throws TypeError: 'X' object cannot be interpreted as an integer. Why doesn't python convert the object to int before constructing

Q on naming nested packages/modules

2009-09-01 Thread kj
I'm having a hard time getting the hang of Python's package/module scheme. I'd like to find out what's considered best practice when dealing with the scenario illustrated below. The quick description of the problem is: how can I have two nested modules, spam.ham and spam.ham.eggs? Suppose I

Re: Permanently adding to the Python path in Ubuntu

2009-09-01 Thread David C. Ullrich
When I wanted to set PYTHONPATH I had the advantage of knowing nothing about how Linux/Ubuntu was supposed to work, so I tried everything. ~/.profile worked for me. In article mailman.670.1251592772.2854.python-l...@python.org, Chris Colbert sccolb...@gmail.com wrote: I'm having an issue with

Re: Python3: hex() on arbitrary classes

2009-09-01 Thread Mark Dickinson
On Sep 1, 4:22 pm, Philipp Hagemeister phi...@phihag.de wrote: class X(object):     def __int__(self): return 42     def __hex__(self): return '2b' #sic hex(X()) What would you expect? Python2 returns '2b', but python 3(74624) throws TypeError: 'X' object cannot be interpreted as an

Re: Python3: hex() on arbitrary classes

2009-09-01 Thread Stephen Hansen
On Tue, Sep 1, 2009 at 8:22 AM, Philipp Hagemeister phi...@phihag.dewrote: class X(object): def __int__(self): return 42 def __hex__(self): return '2b' #sic hex(X()) What would you expect? Python2 returns '2b', but python 3(74624) throws TypeError: 'X' object cannot be interpreted

Re: AttributeError: 'NoneType' object has no attribute 'get_text'

2009-09-01 Thread MRAB
Raji Seetharaman wrote: Hi all, i worked out python and glade example program to add two numbers and display its output from the following link http://www.dreamincode.net/forums/showtopic63885.htm When i run the script, i received the following error python add.py Traceback (most recent call

Re: Python3: hex() on arbitrary classes

2009-09-01 Thread Philipp Hagemeister
Mark Dickinson wrote: (...) If you want to be able to interpret instances of X as integers in the various Python contexts that expect integers (e.g., hex(), but also things like list indexing), you should implement the __index__ method: Thanks. Somehow forgot this magic method and deleted it

Re: Q on naming nested packages/modules

2009-09-01 Thread Benjamin Kaplan
On Tue, Sep 1, 2009 at 11:58 AM, kjno.em...@please.post wrote: I'm having a hard time getting the hang of Python's package/module scheme.  I'd like to find out what's considered best practice when dealing with the scenario illustrated below. The quick description of the problem is: how can

Re: Q on naming nested packages/modules

2009-09-01 Thread kj
In h7jga8$ij...@reader1.panix.com kj no.em...@please.post writes: I'm having a hard time getting the hang of Python's package/module scheme. I'd like to find out what's considered best practice when dealing with the scenario illustrated below. The quick description of the problem is: how can I

Re: Q on naming nested packages/modules

2009-09-01 Thread Ethan Furman
kj wrote: In h7jga8$ij...@reader1.panix.com kj no.em...@please.post writes: I'm having a hard time getting the hang of Python's package/module scheme. I'd like to find out what's considered best practice when dealing with the scenario illustrated below. The quick description of the

Re: Q on naming nested packages/modules

2009-09-01 Thread Carl Banks
On Sep 1, 8:58 am, kj no.em...@please.post wrote: I'm having a hard time getting the hang of Python's package/module scheme.  I'd like to find out what's considered best practice when dealing with the scenario illustrated below. The quick description of the problem is: how can I have two

[ANN] doit: bringing the power of build-tools to execute any kind of task

2009-09-01 Thread schettino72
doit 0.3 released! doit comes from the idea of bringing the power of build-tools to execute any kind of task. It will keep track of dependencies between tasks and execute them only when necessary. It was designed to be easy to use and get out of your way. http://pypi.python.org/pypi/doit/0.3.0

Re: Python word to text

2009-09-01 Thread BJörn Lindqvist
2009/9/1 Tino Wildenhain t...@wildenhain.de: Am 01.09.2009 13:42, schrieb Nitebirdz: On Tue, Sep 01, 2009 at 11:38:30AM +0200, BJörn Lindqvist wrote: Hello everybody, I'm looking for a pure Python solution for converting word documents to text. App Engine doesn't allow external programs,

Re: Is behavior of += intentional for int?

2009-09-01 Thread Piet van Oostrum
zaur szp...@gmail.com (z) wrote: z On 29 авг, 16:45, zaur szp...@gmail.com wrote: Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type copyright, credits or license() for more information. a=1 x=[a] id(a)==id(x[0]) True a+=1 a

Seeking a python code browser

2009-09-01 Thread Medi
Is there any recommendation for a python code browser (aka xref) tool. I am a Source Navigator user, but seems like its python support is flaky. Unless you can help me with that...which is my preferred way. Thanks Medi -- http://mail.python.org/mailman/listinfo/python-list

Re: executable path finding

2009-09-01 Thread ryles
On Aug 31, 12:37 pm, koranthala koranth...@gmail.com wrote: On Aug 31, 9:07 pm, Diez B. Roggisch de...@nospam.web.de wrote: koranthala wrote: Hi,     I am creating a python application using py2exe. I am facing a problem which I am not sure how to solve.     The application

Re: Python community buildbot page still 503

2009-09-01 Thread Martin v. Löwis
If I am not mistaken http://python.org/dev/buildbot/community/all/ has been down since python.org had its harddrive issues. Anyone know a time line on getting it back up and running. This service is, unfortunately, unmaintained. It broke when I upgraded the buildbot master to a new code

Re: Why does this group have so much spam?

2009-09-01 Thread David
Il Tue, 1 Sep 2009 11:50:14 +0200, Andre Engels ha scritto: What about mailing lists? There exist well-functioning mailing lists with thousands of subscribers. Being a posting member of those will significantly increase your internet bill under your proposal. It's an implementation issue, it

Re: An assessment of the Unicode standard

2009-09-01 Thread Hyuga
On Aug 29, 8:20 pm, John Machin sjmac...@lexicon.net wrote: On Aug 30, 8:46 am, r rt8...@gmail.com wrote: Take for instance the Chinese language with it's thousands of characters and BS, it's more of an art than a language.  Why do we need such complicated languages in this day and time.

Re: Q on naming nested packages/modules

2009-09-01 Thread Terry Reedy
kj wrote: But now suppose that I want to factor out some code in spam/ham.py to a helper module. (The reason behind factoring out this new module is to declutter spam/ham.py, and improve its readibility.) My instinct (from my Perl past) is to put this factored-out code in a file

Re: An assessment of the Unicode standard

2009-09-01 Thread r
On Sep 1, 2:39 am, Terry Reedy tjre...@udel.edu wrote: (snip) There is, of course, an international system of measure. The US is the only major holdout. (I recall Burma, or somesuch, is another.) An interesting proposition would be for the US to adopt the metric system in exchange for the rest

Re: Q on naming nested packages/modules

2009-09-01 Thread Rami Chowdhury
An implication of all this is that if now I wanted to create a new module x.y.z.w, this means that the previously leaf-module x.y.z would become non-leaf. In other words, I'd have to: 1. create the new directory x/y/z 2. *rename* the file x/y/z.py to x/y/z/__init__.py 3. create the file

Re: copy object?

2009-09-01 Thread Terry Reedy
lallous wrote: Hello I am new to python and have some questions. How to copy objects using another method than this: class op: def __init__(self, op): What do you expect op to be? Certainly not the class 'op'. for x in dir(op): if x[:2] == __:

ANN: eGenix mxODBC - Python ODBC Database Interface 3.0.3

2009-09-01 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mxODBC - Python ODBC Database Interface Version 3.0.3 mxODBC is our commercially supported Python extension providing ODBC database connectivity to

Re: An assessment of the Unicode standard

2009-09-01 Thread Terry Reedy
r wrote: On Sep 1, 2:39 am, Terry Reedy tjre...@udel.edu wrote: (snip) There is, of course, an international system of measure. The US is the only major holdout. (I recall Burma, or somesuch, is another.) An interesting proposition would be for the US to adopt the metric system in exchange for

Re: Python community buildbot page still 503

2009-09-01 Thread exarkun
On 07:27 pm, mar...@v.loewis.de wrote: If I am not mistaken http://python.org/dev/buildbot/community/all/ has been down since python.org had its harddrive issues. Anyone know a time line on getting it back up and running. This service is, unfortunately, unmaintained. It broke when I

Re: Python community buildbot page still 503

2009-09-01 Thread Martin v. Löwis
On reading your previous email, I assumed that someone (you, perhaps) had tried to contact Grig Gheorghiu (he was in charge of it last I heard) to let him know that some maintenance was required and that someone (you, perhaps) only made the decision to remove the community buildbots after he

Re: Why does this group have so much spam?

2009-09-01 Thread David
Il Mon, 31 Aug 2009 20:06:54 -0700 (PDT), r ha scritto: Is the car owner not a victim too? :). i am ok with the filthy insurance company paying as long as the owners rates don't increase. He is, unless he left keys in the cockpit, but he is 'less victim' of the people involved in the accident.

Re: Q on naming nested packages/modules

2009-09-01 Thread kj
In mailman.809.1251832870.2854.python-l...@python.org Rami Chowdhury rami.chowdh...@gmail.com writes: An implication of all this is that if now I wanted to create a new module x.y.z.w, this means that the previously leaf-module x.y.z would become non-leaf. In other words, I'd have to: 1.

fastPATX Lion now out for your speedy web browsing needs!

2009-09-01 Thread patx
fastPATX Lion is now out! New features include, tabbed browsing, less dependencies, and and a better download manager. The new version is by far the most stable! There was only one crash recored in the fastPATX Lion-Alpha testing! The bug that caused the crash has also been taking care of!

port of GWTCanvas to python / pyjamas

2009-09-01 Thread lkcl
as part of the recent porting of GGhart to pyjamas, a massive performance gain can be had by using SVG Canvas. unfortunately, that meant porting GWTCanvas to pyjamas as well. this is also progressing well: http://pyjs.org/examples/gwtcanvas/ if anyone would like to help with the porting effort

Re: port of GWT GChart to python pyjamas

2009-09-01 Thread lkcl
been ported already, enough to show that the libray is in a mostly useable state, even after only three days. pie-charts are proving slightly problematic (as GChartExample24, which is a pie chart editor, shows). fixed. demo at :

Re: An assessment of the Unicode standard

2009-09-01 Thread r
On Sep 1, 1:52 pm, Hyuga hyugaricd...@gmail.com wrote: (snip) I'd say don't feel the troll, but too late for that I guess.   The only trolls in this thread are you and the others who breaks into MY THREAD just for the knee-jerk reaction of troll calling! Even though you *did* offer some argument

Re: Is behavior of += intentional for int?

2009-09-01 Thread Steven D'Aprano
On Tue, 01 Sep 2009 07:04:09 -0700, zaur wrote: On 1 сен, 03:31, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Mon, 31 Aug 2009 10:21:22 -0700, zaur wrote: As a result of this debate is not whether we should conclude that there should be two types of integers in python:

Re: An assessment of the Unicode standard

2009-09-01 Thread Rami Chowdhury
The only trolls in this thread are you and the others who breaks into MY THREAD just for the knee-jerk reaction of troll calling! How does this make one's opinion any less relevant? I think the fact that you are coming across in this thread as closed-minded, bigoted, and uninformed gives

Re: An assessment of the Unicode standard

2009-09-01 Thread Steven D'Aprano
On Tue, 01 Sep 2009 08:35:46 -0700, Rami Chowdhury wrote: SI is preferred, but Imperial is permitted. IME most people in the UK under the age of 40 can speak SI without trouble. On the other hand, let's nip down to the pub for 580ml of beer just doesn't have the right ring to it ;-)

Re: An assessment of the Unicode standard

2009-09-01 Thread r
On Sep 1, 6:06 pm, Rami Chowdhury rami.chowdh...@gmail.com wrote: (snip: trolling tirade) I don't think when i started this thread i had any intentions what-so- ever of pleasing asinine-anthropologist, sociology-sickos, or neo-nazi- linguist. No, actually i am quite sure of that is the case! --

Re: Why does this group have so much spam?

2009-09-01 Thread Terry Reedy
David wrote: I'm not saying that criminals shouldn't being prosecuted, but we are talking of something else: creating and environment that discurages criminals, because present enviroment is pretty wild and criminals have a big advantage. The mail-tax proposal aims to change this situation. I

Re: Is behavior of += intentional for int?

2009-09-01 Thread Carl Banks
On Sep 1, 10:40 am, Piet van Oostrum p...@cs.uu.nl wrote: zaur szp...@gmail.com (z) wrote: z On 29 авг, 16:45, zaur szp...@gmail.com wrote: Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type copyright, credits or license() for

Re: An assessment of the Unicode standard

2009-09-01 Thread Rami Chowdhury
On Tue, 01 Sep 2009 16:29:54 -0700, r rt8...@gmail.com wrote: [snip: variety of almost-alliterative epithets] Well, if you admit you set out to offend people, then you're trolling. -- Rami Chowdhury Never attribute to malice that which can be attributed to stupidity -- Hanlon's Razor

Re: Is behavior of += intentional for int?

2009-09-01 Thread Terry Reedy
Steven D'Aprano wrote: I'm asking what *problem* you are trying to solve with mutable numbers, where immutable numbers are not satisfactory. The only answer I can imagine is that you're worried about the overhead of creating new integer objects instead of just flipping a few bits in an

python module for data comparison of 2 MySQL servers

2009-09-01 Thread none
I have 2 MySQL servers in 2 different data centers. Between them, there is data replication setup. Is there a python tool so I can do data comparison for daily records? Basically, just access both servers and do a diff in memory and print out records. Thanks --

Re: Why does this group have so much spam?

2009-09-01 Thread Steven D'Aprano
On Tue, 01 Sep 2009 20:48:19 +0200, David wrote: Il Tue, 1 Sep 2009 11:50:14 +0200, Andre Engels ha scritto: What about mailing lists? There exist well-functioning mailing lists with thousands of subscribers. Being a posting member of those will significantly increase your internet bill

Re: Overriding iadd for dictionary like objects

2009-09-01 Thread RunThePun
On Sep 1, 3:00 am, a...@pythoncraft.com (Aahz) wrote: In article b11a8a0e-03ca-41c9-b0d0-c5180b6a2...@p15g2000vbl.googlegroups.com, RunThePun  ubershme...@gmail.com wrote: On Aug 30, 10:33=A0pm, a...@pythoncraft.com (Aahz) wrote: In article

Re: PyGTK problems after Linux update...

2009-09-01 Thread barcaroller
barcaroller barcarol...@music.net wrote in message news:h7ev9g$dc...@news.eternal-september.org... Okay, I won't disagree, but how do I fix this? Never mind. The latest update today included a new pygtk which seems to have fixed the problem. All is good now. --

  1   2   >