Re: Using Python on a fork-less POSIX-like OS

2018-07-29 Thread Jan Claeys
> > My question is that the _posixsubprocess.c can be prepared to > use posix_spawn(3) instead of fork(2)? Maybe the UNIX/Linux version > can also benefit from it, see: https://salsa.debian.org/ruby- > team/ruby-posix-spawn You might want to ask this on the python-dev mailing list. -- Ja

Re: Non-GUI, single processort inter process massaging - how?

2018-07-22 Thread Jan Claeys
y other HTTP client... -- Jan Claeys -- https://mail.python.org/mailman/listinfo/python-list

Re: An assessment of the Unicode standard

2009-09-10 Thread Jan Claeys
Op Sun, 30 Aug 2009 15:28:55 -0700, schreef r: > I said it before and i will say it again. I DON"T CARE WHAT LANGUAGE WE > USE AS LONG AS IT IS A MODERN LANGUAGE FOUNDED ON IDEALS OF > SIMPLICITY Maybe we should use a language that has a Turing-complete grammar, so that even computers can un

Re: Python embedding question.

2008-07-15 Thread Jan Claeys
Op Tue, 15 Jul 2008 11:51:47 +0200, schreef Thomas Troeger: > I want to embed a Python application on a device with limited > resources, esp. storage limitations. Is there a way to reduce the Python > interpreter to a set of modules that's urgently needed? You might want to have a look at how the

Re: Python internals

2008-07-15 Thread Jan Claeys
Op Tue, 15 Jul 2008 09:29:58 -0500, schreef Larry Bates: > Names are pointers in Python that point to values in memory. But "pointers" doesn't have the same meaning as in "C" here. Memory in Python is not (necessarily) an "array of bytes"; how & where the values are stored in "physical memory"

Re: Python 2.5.2 on Ubuntu Hardy Utf-8-Euro error

2008-06-07 Thread Jan Claeys
Op Fri, 30 May 2008 22:37:14 +0200, schreef M.-A. Lemburg: > On 2008-05-30 17:41, Peter Otten wrote: >> Josep wrote: >>> My Python version is 2.5.2, Ubuntu Hardy .deb package. >> Python might get confused by an @EURO suffix in the locale: > Right, that's what's happening. > > The locale module

Re: definition of a highlevel language?

2008-06-07 Thread Jan Claeys
Op Mon, 26 May 2008 15:49:33 -0400, schreef Dan Upton: > The point about them looking very little like x86/ARM/etc chips is the > important part though--IIRC, part of the failure of Java machines was > lousy support for preexisting code, due to the optimizations for Java > bytecode, and I expect t

Re: Python is slow

2008-06-06 Thread Jan Claeys
Op Fri, 23 May 2008 14:00:33 -0700, schreef [EMAIL PROTECTED]: > Now this I can tell is false. The problem is not that it's difficult to > "make a native compiler for" dynamic languages, the problem is that it's > difficult to write native compiler for dynamic languages that generates > code that

Re: downloading a link with javascript in it..

2008-05-16 Thread Jan Claeys
Op Mon, 12 May 2008 22:06:28 +0200, schreef Diez B. Roggisch: > There is no way to interpret the JS in Python, There is at least one way: -- JanC -- http://mail.python.org/mailman/listinfo/python-list

Re: pop langs website ranking

2008-04-25 Thread Jan Claeys
Op Wed, 23 Apr 2008 04:07:31 +, schreef Roedy Green: > The weakness of this approach is it is unusual group of people who will > voluntarily submit to having their usage spied on. These are not a > typical group or a large group. Hello, planet Earth calling? I guess around 90% of internet u

Re: Python in High School

2008-04-21 Thread Jan Claeys
Op Thu, 03 Apr 2008 00:06:34 -0700, schreef Dennis Lee Bieber: > On Thu, 03 Apr 2008 03:37:43 GMT, Jan Claeys <[EMAIL PROTECTED]> declaimed > the following in comp.lang.python: > >> Later I learned C (and even later C++), and I've always been wondering >> why th

Re: Python in High School

2008-04-02 Thread Jan Claeys
Op Wed, 02 Apr 2008 17:02:45 -0400, schreef Dan Upton: > Side rant: I think Java's just fine, as long as it's taught properly. > I'd done a little bit of C and C++ programming when I was in high > school, trying to teach myself from a book, but I never really got > pointers or objects. Going bac

Re: License of Python

2008-04-02 Thread Jan Claeys
Op Sun, 30 Mar 2008 08:16:39 -0700, schreef iu2: > Due to Competitors... I don't want to expost the language I use If they are clever, they already know that you want to use python by now, after you posted this on a public mailing list / newsgroup... -- JanC -- http://mail.python.org/mailman

Re: Python in High School

2008-04-02 Thread Jan Claeys
Op Tue, 01 Apr 2008 10:27:18 -0700, schreef sprad: > I'm a high school computer teacher, and I'm starting a series of > programming courses next year (disguised as "game development" classes > to capture more interest). The first year will be a gentle introduction > to programming, leading to two

Re: Python's great, in a word

2008-01-15 Thread Jan Claeys
Op Mon, 07 Jan 2008 05:09:15 -0800, schreef MartinRinehart: > Would you Python old-timers try to agree on a word or two that > completes: > > The best thing about Python is ___. > > Please, no laundry lists, just a word or two. I'm thinking "fluid" or > "grace" but I'm not sure I've done eno

Re: Counter-spam: Change the subject

2007-12-26 Thread Jan Claeys
Op Tue, 11 Dec 2007 14:19:20 -0800, schreef Paul McGuire: > My ISP's news server only works for me when I am connected locally, not > when I am travelling. Gmane ? -- JanC -- http://mail.python.org/mailman/listinfo/python-list

Re: Best way to protect my new commercial software.

2007-12-18 Thread Jan Claeys
Op Fri, 14 Dec 2007 16:54:35 +, schreef Grant Edwards: > Uh what? I don't know what country you're in, but in the US, it doesn't > take any time at all to copyright something. The mere act of writing > something copyrights it. I thought it was the same in Europe as well. No, it's only copy

Re: DNS servers in Python - which ones are a good base for work?

2007-12-17 Thread Jan Claeys
Op Tue, 11 Dec 2007 11:10:52 -0800, schreef John Nagle: > I need to do a non-standard DNS server in Python. This is for a spam > blacklist type DNS server, not for IP lookup. "dnspython" seems to be > client side only. Oak DNS is deprecated. Suggestions? $ wajig search python-twisted-names py

Re: Newbie edit/compile/run cycle question

2007-12-17 Thread Jan Claeys
Op Mon, 10 Dec 2007 16:00:04 -0800, schreef Matimus: > better written: > > python -mpy_compile FILENAME The -m option doesn't work in all versions of cpython (I think since v2.4, or maybe 2.3?). -- JanC -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie edit/compile/run cycle question

2007-12-09 Thread Jan Claeys
Op Sun, 09 Dec 2007 01:11:28 +, schreef Jeremy C B Nicoll: > What command (in XP) does one need to issue to syntax check a saved > python script without running it? > > Does a syntax check report all syntax errors or just the first one > found? python -c "import py_compile; py_compile.compil

Re: Distinguishing attributes and methods

2007-12-09 Thread Jan Claeys
Op Sun, 09 Dec 2007 12:44:46 -0800, schreef MonkeeSage: > The point is that just because the attributes are "looked up the same > way" or whatever, doesn't make them the same *kind* of attribute. To say > that all attributes are the same in python muddies the water. They are > the same in a generi

Re: "Python" is not a good name, should rename to "Athon"

2007-12-08 Thread Jan Claeys
Op Mon, 03 Dec 2007 14:20:52 +1300, schreef greg: > If you want a really appropriate name for a programming language, I'd > suggest Babbage. (not for Python, though!) Konrad Zuse wrote the first high-level programming language, so I think his name would be a better candidate... -- JanC -- ht

Re: How to display unicode with the CGI module?

2007-11-25 Thread Jan Claeys
Op Sun, 25 Nov 2007 13:02:26 -0800, schreef coldpizza: > It is funny that encode() and decode() omit the name of the other > encoding (Unicode ucs2?), which makes it far less readable than a > s.recode('ucs2','utf8'). The internal encoding/representation of a "string" of Unicode characters is co

Re: Python web frameworks

2007-11-25 Thread Jan Claeys
Op Fri, 23 Nov 2007 09:29:38 -0800, schreef BartlebyScrivener: > I'm just learning Django and feeling my way through all of this server > terminology. Where does Django's memcached feature fit into all of this? > When you all speak of start up costs and memory intensive loading for > each requests

Re: import pysqlite2 or import sqlite3?

2007-11-22 Thread Jan Claeys
Op Wed, 21 Nov 2007 21:11:59 +0100, schreef Hertha Steck: > After a second look at the error message: when I installed Gentoo, > Python 2.4 was installed, I got the new version a little later. And I > think I installed Pysqlite 2.3.5 separately. > > Python 2.5 comes with pysqlite - should I unins