Peter Otten wrote:
> Lothar Werzinger wrote:
>> Can anyone explain this oddity? Any insight is highly appreciated.
>
> When you are creating objects like there is no tomorrow Python's cyclic
> garbage collections often takes a significant amount of time. The first
>
/s)
len(map) 100
Inserting 100 keys lasted 0:02:23 (6957 1/s)
len(map) 100
total 300
Thanks,
Lothar
,[ /home/lothar/tmp/dicttest.py ]
| #!/usr/bin/python
| # -*- coding: utf-8 -*-
|
| import datetime
| import optparse
| import sys
| import time
|
|
|
|
| def fillDict(ma
esses or paths in file
systems to root of IIS or to pythonscripts below IIS' root?
Unfortunately I couldn't find a way to solve the problem.
regards
Lothar
--
http://mail.python.org/mailman/listinfo/python-list
t the IIS execute python scrits as cgi.
Http Error code is 404 (but i'm sure that the file exists in the
requested path).
Is there any difference for python as CGI on IIS between Windows XP
prof. and Windows 2003 Server?
Thanks
Lothar
--
http://mail.python.org/mailman/listinfo/python-list
Maarten Sneep <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On Mac OS X the shared library functionality is obtained through
> frameworks. It may detect this by default, but I'm not sure about
Not good. I don't want frameworks. I must embedd python into my
application.
Sett
Help,
i tried to generate a dynamic library from the official
Python-2.4.0.tgz on MacOSX 10.3 but when i do the
./configure --enable-shared ; make ; sudo make install
or
./configure --enable-shared=yes ; make ; sudo make install
It links statically. It's also strange that i can't find a
libp
well done.
i had not noticed the lookahead operators.
"André Malo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * lothar wrote:
>
--
http://mail.python.org/mailman/listinfo/python-list
Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "lothar" wrote:
>
> > with respect to the documentation, the module is broken.
>
> nope.
>
> > the module does not necessarily deliver a "minimal length" match for a
> &g
give an re to find every innermost "table" element:
innertabdoc = """
n
y z
"""
give an re to find every "pre" element directly followed by an "a" element:
preadoc = """
a r n
l y
r
f g z
m b u c v
u
"""
"John Ridley" <[EMAIL
can not be done.
"André Malo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * "lothar" <[EMAIL PROTECTED]> wrote:
>
> > no - in the non-greedy regex
> > <1st-pat>*?
> >
> > <1st-pat>, and are arbi
no - in the non-greedy regex
<1st-pat>*?
<1st-pat>, and are arbitrarily complex patterns.
with character classes and negative character classes you do not need
non-greediness anyway.
"John Ridley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
with respect to the documentation, the module is broken.
the module does not necessarily deliver a "minimal length" match for a
non-greedy pattern.
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "lothar" wrote:
>
an?
"André Malo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * "lothar" <[EMAIL PROTECTED]> wrote:
>
> > this response is nothing but a description of the behavior i reported.
>
> Then you have not read my response carefully enou
non-greedy (minimal length) match that was not
always non-greedy (minimal length)?
"André Malo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
* lothar wrote:
> re:
> 4.2.1 Regular Expression Syntax
> http://docs.python.org/lib/re-syntax.html
>
> *?,
re:
4.2.1 Regular Expression Syntax
http://docs.python.org/lib/re-syntax.html
*?, +?, ??
Adding "?" after the qualifier makes it perform the match in non-greedy or
minimal fashion; as few characters as possible will be matched.
the regular expression module fails to perform non-greedy matches
15 matches
Mail list logo