-- there is no real advantage to
supporting backslash-using Dos/Windows path literals, even though many
Windowsers use rawstrings for those.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
' is just
fine even though its last character is a \ -- it's about the parity of
the length of the terminating sequence of backslashes: even is OK [0 is
of course even;-)] and odd is not).
> Again, thanks for taking the time to reply.
>
> Now get back to work on your new Nutshell book :-)
Yep, good point!-)
Alex
--
http://mail.python.org/mailman/listinfo/python-list
t and not accurate things) could be usefully added to help
communicate your intended meaning (or maybe, for most people, if they
hear all of "rigor, consistency, uniformity", would think of some Nazi
language woefully constraining their expression...?-)
Alex
--
http://mail.python.org/mailman/listinfo/python-list
I thought the OP was counting up by powers of 2 to indicate the
"exponential" nature of the issues...;-)
Alex
--
http://mail.python.org/mailman/listinfo/python-list
in staff' -- you need the x between 'and' and 'not',
and similarly for the elif (and don't use tabs -- they make a mess of a
display on many newsreaders etc -- fixed to spaces above).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ave been considering a move to Scilab for some time, but it too
> carries the burden of working with a flawed language.
There was a pyscilab once, still around at
<http://pdilib.sourceforge.net/>, but I don't think it ever matured
beyond a "proof of concept" release 0.1 or
like this:
>
> select( user='jack', addr='Green Str.' )
select(**opts)
should fit the bill. (it.comp.lang.python is the Italian newsgroup
about Python, by the way;-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
be assumed, the OP
stated; only a '-' would instead appear explicitly. Little for it but
specialcasing depending on whether a[0]=='-', I think -- e.g. in the
above 3-line snippet of mine, insert right after the first line:
if a[0]!='-': results['+'].append(a.pop(0))
Alex
--
http://mail.python.org/mailman/listinfo/python-list
o away by RC due to reference-cycles
(plus, also, weak references for yet another helper). To leak memory
despite all of that, you really need to do it on purpose (e.g. via a
C-coded container extension-type that does NOT play nice with gc;-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Having some trouble with f.readline and python. Specifically looking for
the command to tell it to go and read a specific line.
Alex Nordhus
Keystroke clipboard Copy and Paste !
http://www.pasteaway.com
--
http://mail.python.org/mailman/listinfo/python-list
EMAIL PROTECTED] && http://www.alcyone.com/max/
> San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
>No man who needs a monument ever ought to have one.
>-- Nathaniel Hawthorne
I figured I would have to write one, luckily I am not doing many Line
vermicule wrote:
>
> What is so hard to understand ?
> Should be perfectly clear even to a first year undergraduate.
>
> As for "greedy" even a minimal exposure to Djikstra's shortest path
> algorithm would have made the concept intuitive. And from memory,
> that is the sort of thing done in Com
Sean Burke wrote:
>
> alex goldman <[EMAIL PROTECTED]> writes:
>
>> vermicule wrote:
>>
>> >
>> > What is so hard to understand ?
>> > Should be perfectly clear even to a first year undergraduate.
>> >
>> > As for &qu
Lawrence Kirby wrote:
> On Tue, 10 May 2005 04:58:48 -0700, alex goldman wrote:
>
>> Sean Burke wrote:
>
> ...
>
>>> No, you're just confused about the optimization metric.
>>> In regexes, "greedy" match optimizes for the longest match,
ds = string.split(ln)
if len(words) >= 2:
# print (words[1])
outputfile.write(words[1])
When I use just print it prints out fine. Each on a dffrent line just
the way I want it. But writing the file its all on one line. How do I
get the data to goto new lines in the new fi
Lawrence Kirby wrote:
> On Tue, 10 May 2005 06:52:18 -0700, alex goldman wrote:
>
>> Lawrence Kirby wrote:
>
> ...
>
>>> However the original quote was in the context of regular expressions, so
>>> discussion of the terminology used in regular expres
That worked! Thank you so much!
--
http://mail.python.org/mailman/listinfo/python-list
Hi everybody,
i´m writing an applications under wxphython and i need to print some
data in an external printer (usb, parallel, i suppose that it doesn´t
mind. Excuse me for the (maybe) stupid question but, how can i do it?
where can i found information about it?
Thanks a lot,
greetings
--
http:/
StepH wrote:
>1./ Is each "display" must responsible to acquire/read the data ?
>2./ Or an engine collect the data then send them to each "display" ?
>
>
>
I'd keep it simple:
- DataCollector class
asociated with one or more display instances (implemented as a list of
display subscribers)
it c
display.update(data)".
so it comes to something like this:
tk mainloop is set to call tick() every 100ms through a timer.
tick() will iterate through all data collectors and call their "collect"
method
each data collector will then collect data and iterate through all
asociated
The question still remains, can it run it's self? ;)
On 20 May 2005, at 23:50, Kay Schluehr wrote:
>
> holger krekel wrote:
>
>> Welcome to PyPy 0.6
>>
>>
>> *The PyPy Development Team is happy to announce the first
>> public release of PyPy after two years of spare-time and
This is exactly the sort of thing ive been trying to avoid
implementing my self for ages :) I will take it for a spin and see
how it behaves, looks great though.
On 23 May 2005, at 05:07, C. Titus Brown wrote:
> ANNOUNCING twill v0.7.
>
> twill is a simple Web scripting language built on top
John W. Kennedy wrote:
> Strong
> typing has been a feature of mainstream programming languages since the
> late 1950's.
I'm just curious, what do you mean by /strong/ typing, and which strongly
typed languages do you know?
--
http://mail.python.org/mailman/listinfo/python-list
John W. Kennedy wrote:
> Strong
> typing has been a feature of mainstream programming languages since the
> late 1950's.
Is Fortran a strongly typed language? I don't think so. Strong typing has
been invented in the 70's, if I'm not mistaken, when ML was invented, but
strong typing has never been
Tassilo v. Parseval wrote:
> Also sprach John W. Kennedy:
>
>> alex goldman wrote:
>>> John W. Kennedy wrote:
>>>
>>>
>>>>Strong typing has been a feature of mainstream programming languages
>>>>since the late 1950's.
>&
Looking for some confirmation that Python really is a more concise language than most others, I resorted to the ever handy Computer Language Shootout and it's oh so reliable CRAPS scoring system ;)Python comes second, just after OCaml. Both of which are a significantly further ahead of everything e
John McGrath wrote:
> Unfortunately, there is no
> consensus as to what the term means.
If the language allows the programmer to write programs from the 'slack'
domain, by saying "just trust me on this", then it's not strongly typed.
What other meanings are there? I wasn't aware of the lack of c
I'm new to Python from Perl, and loving it. Has there ever been any
discussion of creating a similar resource as CPAN for Python, or a
similar distribution method as PPMs? Seems like it would make a great
language even better.
Alex
--
http://tangentspace.net/cz
--
http://mail.python.org/ma
Unless I've totally missed it, there isn't a binary tree/sorted list
type arrangement in Python. Is there a particular reason for this?
Sometimes it might be preferable over using a list and calling
list.sort() all the time ;)
On a somewhat unrelated note, does anyone know how python searche
I'm thinking that with a decent dynamics engine (PyODE?) you could
write a reasonably realistic simulator to test this sort of code on.
Obviously it won't be as good as actually you know, driving a Jeep
around by wire, but it'd be a tad cheaper and more time efficient for
anyone interested
2.168.1.1, while printing the commands being sent to stdout.
Here, my proxy runs on different box than imap server... if you need to
put both of them on same box you'll need to change the port number of ,
either imap server, or imap proxy.
well..
hope it helps
Alex
--
http://mail.python.org/mailman/listinfo/python-list
The Polygon library for Python:
http://www.dezentral.de/warp.html?http://www.dezentral.de/soft/Polygon/index.html
provides some support for dealing with polygons, which seems to be the
only hard thing on this list. The rest you should be able to implement
easily.
Alex
On 6/14/05, Cyril BAZIN
py_genetic <[EMAIL PROTECTED]> wrote:
> Alex, thanks for the advise:
>
> > > class PosRecords(tables.IsDescription):
> >
> > > class A(object):
> > > self.__init__(self, args):
> >
> > This makes 0 sense; maybe you should learn element
et I
prefer to stick with Python because I like it better *as a language*...
Alex
--
http://mail.python.org/mailman/listinfo/python-list
will often return None without performing any change, while
somelist.pop()
does modify somelist but typically returns non-None.
The use of trailing-exclamation-point (by convention) to indicate
"mutating methods" is a nice plus in languages that allow it.
Alex
--
http://mail.python
Mark Carter <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
> > Josiah Carlson <[EMAIL PROTECTED]> wrote:
> >
> >>> pitfall of Python is knowing whether an operation is destructive or not.
> >> If it returns None, it probably changes the conte
Mark Carter <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
> > Mark Carter <[EMAIL PROTECTED]> wrote:
>
> > Yes, GMP is a pain to compile (especially on Mac OS X), but I believe
>
> > Just mentioning this in case you want to give Scheme another cha
ne an "import sys" somewhere appropriate, of
course;-). The _ in front of _getframe, as well as the klunkiness of it
all, are all indications that this is _not_ recommended for "production
use" -- like most of Python's introspection features, it IS chiefly
meant for debugging purposes.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
es the original write method or has
> overriden it.
I'd check for identity between type(o).write and file.write -- seems a
more direct expression of that thought (and implementable with the C-API
just as well as with pure Python).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
em)
> > index += 1
>
> That's a heck of a lot slower than the builtin, and if you're running it
> often enough for sys.maxint to be an issue, you may care about the speed.
Perhaps itertools.izip(itertools.count(), seq) might be faster (haven't
timed it,
S how angles "truly are"). I blame the Babylonians for that
confusion just as much as for the clunky base-60 that intrudes in our
ordinary time reckoning...!
Alex
--
http://mail.python.org/mailman/listinfo/python-list
leError, and having all my real
> exceptions inherit from it as well, but I don't recall seeing that done
> before and I was wondering if it were a bad idea for some reason.
I often do exactly what you propose, and I believe I have suggested it
in the Nutshell 2nd edition. I have n
ferring to an essay of mine
that I had posted in 2002,
<http://groups.google.com/group/comp.lang.python/msg/b977ed1312e10b21> ?
Longest "week" on record, unless I'm missing something!-)
Alex
--
http://mail.python.org/mailman/listinfo/python-list
g., go
from a function taking 3 arguments to one taking 2 -- not just from N
down to 1) but your 'pedantic' remark seems pedantically wrong:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
he primary
key constraint/index that will be useful for later lookups; "bulk
insertions" into DBs can often benefit from the latter idea).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
to find the particular topic you are interested in.
Try <http://books.google.com/advanced_book_search> -- it will easily
generate for you queries on books.google.com such as, e.g.:
generator inauthor:"alex martelli"
to find 3 mentions of "generator" in the Nutshell
my
perception that, at their roots, Scheme, C and Python share one
philosophical underpinning (one that's extremely rare among programming
languages as a whole) -- an appreciation of SIMPLICITY AND UNIFORMITY as
language characteristics.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
perience
(just like "Unix" was originally intended as a pun on "Multics"
underscoring the drastically simpler philosophy of the new OS).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ood reviews of the book support
me in this) that the Python community is better off with a Nutshell with
an imperfect index than it would be with no Nutshell at all, which would
likely be the case if I had "insisted on quality" as you apparently
would have preferred.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ion of
> > new ones made out of whole cloth.
...
> Cousin Alex
>
> With regards to PL/I a phrase from an old ( 1969 ) song
> named "The Night They Drove Old Dixie Down" comes to mind
>
> Ya take what you need and ya leave the rest
>
ly in the
> SELECT statement. Alternatively, you may be interested in the
Absolutely true -- in this case, return tuple(cursor) will suffice.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
R use oldstyle classes" and you
won't need to understand WHY you shouldn't use them:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
r.w and r.h, but r.area is readonly (can't be set):
>>> r = Rectangle(12, 34)
>>> r.area
408
>>> r.h = 10
>>> r.area
120
>>> r.area = 144
Traceback (most recent call last):
File "", line 1, in
AttributeError: can't set attribute
Alex
--
http://mail.python.org/mailman/listinfo/python-list
er
responder's preference for Eclipse+PythonDev; other options that should
be mentioned include IDLE, Wing, eric4, Microsoft Visual Studio
(Windows-only), Apple's XCode (Mac-only), ...
Alex
--
http://mail.python.org/mailman/listinfo/python-list
yield L
return
indices = constraints.pop()
for p in all_permutations_given_indices(L, indices):
for pp in all_permutations_with_constraints(p, constraints):
yield pp
constraints.append(indices)
and, putting it all together:
def do_it_all(L):
s
If dict_fromkeys was a plain function (or if fromkeys was a staticmethod
rather than a classmethod of dict) then z would be an instance of dict,
rather than one of zap (unless you also specifically passed the desired
class, kind of cumbersome).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ossible) runtime
checks, you should really use a language designed for type inferencing
(Boo is, and in some other ways it's reminiscent of Python; however
there are far more books &c for other languages such as SML and
Haskell). Or, you could read Robert Martin's classic essay at
<http://www.artima.com/weblogs/viewpost.jsp?thread=4639> and ponder
whether Uncle Bob might not have a point...
Alex
--
http://mail.python.org/mailman/listinfo/python-list
type.
Sure, even more than they currently use wanton isinstance calls (or even
worse, type(x)==... checks). But hopefully the new "syntax hook" will
also allow GOOD decorators to emerge (e.g., ones doing adaptation rather
than mere checks).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
waste pixels, screen space, readers' attention
spans, and everybody's time. In other words, it's almost as bad as it
can get in Python without outright breakage of syntax or semantics
("almost" only because long comments that lie outright are worse:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
lcome to
> disagree, but since UnboundLocalError seems to be one of the more
> perplexing errors newbies suffer from, I think it is better for them to
> avoid it until they've got a little more experience.
I think encouraging newbies to overuse globals is a horrible practice,
and if you're ever teaching to newbies you're seriously damaging their
chance to learn to program decently, or at least ensuring they'll take a
needlessly long time for that learning. And I've both taught and
practiced programming at a huge variety of levels, as well as quite
successfully, so I do NOT believe your opinions on this subject should
carry exactly the same weight as mine -- to be frank, I believe that in
this case your opinion has a NEGATIVE worth, and that by putting it in
practice you're seriously hurting the people you think you're helping.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Scott David Daniels <[EMAIL PROTECTED]> wrote:
> Steven D'Aprano wrote:
> > On Sat, 23 Jun 2007 21:11:42 -0700, Alex Martelli wrote a lot, with lots
> > of YELLING.
> >
> > Given the amount of SHOUTING in your post, and the fact that you feel so
> >
I want to know which GUI package should I turn to if I want to make something
resembling MS OneNote.
A lot of packages have "Notebook" style widgets or tabbed stuff, but wxPython's
are not really customizable from what I know, and neither are TKs. I'm not sure
about pyGTK and it's primarily a L
DavidM <[EMAIL PROTECTED]> wrote:
...
> Seems that I have to allow a 'punishment free' threshold of complexity,
> otherwise the population stagnates.
Sounds like you've hit on a good simulation of life: to get innovation,
you must be very tolerant of errors!-)
Alex
urity -- ah well, saw it
coming, ever since complex numbers lost ordering comparisons), but
equality and hashing should remain just like now (yay!).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
s
compile.func_annotation['source'] and the like, and format as it likes
best. Type annotations (not necessarily for checking -- third party
libraries are free to provide completely different semantics, such as
adaptation) is another possible use, and Pythonistas' creativity may
well supply many, many others.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
.) [where somelist may
be a "temporary anonymous" list if you're just going to use the listcomp
further rather than just assigning it to a name].
Alex
--
http://mail.python.org/mailman/listinfo/python-list
citly say self (the one bad bit in the
book:-).
For the curious: the explicit-self idea is essentially taken from
Modula-3, a sadly now forgotten language which still had an impact on
the history of programming.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Alex Martelli) writes:
> > > print [(m,n) for m in range(5) for n in multab(m) if m>2]
> > Sure, just place the if clause where it needs to apply (between the two
> > for clauses) [apart from t
ts with a bad or unlucky __hash__ that
happens to return the same value for every object:
class oops(object):
def __hash__(self): return 123456
this one you might expect to produce O(N) behavior:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ike a quote by Knuth -- "beware this program may have bugs as I have
only proven it and not tested it":-)
> Hmmm... For a dinausor, C seems well alive. Can you remind me which
So do chickens.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
anguage ?
The joke's just based on the fact that (based on DNA analysis) birds are
said to be dinosaurs, and are definitely "well alive":-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
to a silly extent.
Python LETS you program at such lowish levels, if you insist, but it
encourages thinking more about your problem and less about the way the
inner gears of the machine will turn in order to produce a solution for
it...! Part of the encouragement is indeed that coding at a higher
level of abstraction tends to make your program faster (an "abstraction
reward" to replace the "abstraction penalty" so common with some other
languages:-) -- but clarity and productivity are more important still.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
# parent process
forbytes, tooktime = server()
else:
# child process
time.sleep(0.5)
client()
sys.exit(0)
stend = time.time()
print "%d bytes in %5.2f sec (ss=%d, rs=%d)" % (forbytes,
tooktime, sendsize, recvsize)
main()
brain:~/
what you're doing is...:
>>> s = "onomatopoeia"
>>> s = s.join(s[::-1])
>>> s
'aonomatopoeiaionomatopoeiaeonomatopoeiaoonomatopoeiaponomatopoeiaoonoma
topoeiatonomatopoeiaaonomatopoeiamonomatopoeiaoonomatopoeianonomatopoeia
o'
>>>
...which is
Donn Cave <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Alex Martelli) wrote:
>
> > "Dynamic typing is recommended", they conclude, "when programs must be
> > as flexible as possible". I recommend read
required to eventually move up a long time in the future.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
might make it attractive to some. Also, I believe
ActivePython is also available as a pre-built binary for some platforms
for which CPython is only distributed as sources (e.g., Solaris), and
again this difference may be seen as favorable by some.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
subconsciously influences the
programmer to write tests that don't really "challenge" the code enough
-- writing the tests "in advance" would avoid this problem.
Nihil sub sole novi...
Alex
--
http://mail.python.org/mailman/listinfo/python-list
al
difference on the semantics of method .translate; float and int also
have the same operators; and tuple has hardly anything, so the learning
task is nowhere as big as it may seem from here:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ef method(self):
pass
# ==> this prints out FunctionType (???)
Can somebody shed some light on why I am seeing this?
(Using Python 2.5.1 on Win XP).
TIA,
./alex
--
.w( the_mindstorm )p.
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 5, 1:52 am, Alex Popescu <[EMAIL PROTECTED]>
wrote:
> Hi all!
>
> I am pretty new to Python, so please excuse me if I am missing
> something. Lately, I've been playing with decorators and I am a bit
> confused about some behavior. Here is the code that puzzl
Alex Popescu <[EMAIL PROTECTED]> wrote:
...
> - when testing from outside the class definition, the function is
> already attached to the class instance and this is the reason why its
> type is instancemethod
To be more precise: when you access any attribute of a class (or
i
ond statement is needed only to avoid destroying the
original dict passed by the "real" caller; you can optimize things a
bit, if need be, by making the recursive function a private auxiliary
one (which allVariants itself calls appropriately). I'm not going to
explore optimization possibilities (including recursion elimination,
which is often the strongest optimization you can to do a recursive
function but may well obscure its essential simplicity:-).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
_dict with difl_dict (that's the equivalent of the "from difl import
*" which you appear to desire) and use main_dict for both globals and
locals in your PyRun_String call.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 5, 11:17 am, Michele Simionato <[EMAIL PROTECTED]>
wrote:
> On Jul 5, 3:41 am, [EMAIL PROTECTED] (Alex Martelli) wrote:
>
> >
>
> Alex already explained everything beautifully. I will just add a link
> to
> the definite guide to
> descriptors:htt
On Jul 5, 3:32 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Alex Popescu wrote:
> > On Jul 5, 11:17 am, Michele Simionato <[EMAIL PROTECTED]>
> > wrote:
> >> On Jul 5, 3:41 am, [EMAIL PROTECTED] (Alex Martelli) wrote:
>
> >>>
> >> Alex
Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> En Thu, 05 Jul 2007 01:19:32 -0300, Stuart <[EMAIL PROTECTED]>
> escribió:
>
> > What command do you mean when you say "update main_dict with
> > dlfl_dict"?
>
> I think Alex Martelly was refering
knows how to
modify the caught exception according to its type.
In the first case you will need somehow to tell to the new instance
exception the real stack trace, because by simply raising
a new one the original stack trace may get lost.
bests,
./alex
--
.w( the_mindstorm )p.
--
http://mail.python.org/mailman/listinfo/python-list
ebugger is nowhere near as useful as it is in
> C or C++.
I am a Python newbie, but unfortunately I don't agree with that. For
me having a debugger helped understand very quickly the flow
in the libraries for which otherwise I would have had to navigate
through code (which once again is
On Jul 5, 5:01 pm, Michele Simionato <[EMAIL PROTECTED]>
wrote:
> On Jul 5, 3:17 pm, Alex Popescu <[EMAIL PROTECTED]>
> wrote:
>
> > The true story is that
> > while working on Groovy (I am a committer on this dynlang meant to run
> > on the Java VM:http:
Alex Popescu <[EMAIL PROTECTED]> wrote:
...
> frameworks (TestNG is not a unit testing framework,
> but a full flavored testing framework that fits perfectly functional
> testing, integration testing, and with some of the
> very advanced features even performance and load test
er spreadsheet program) at some point, and many East Coast
zipcodes had indeed been truncated (which messes with USPO's automatic
system and thus is NOT tolerated, at least in bulk mail)...!-)
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ulous claim to be sure, but we'd better let Herr
Schluehr know that in no uncertain terms...
Alex
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 6, 4:20 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Alex Popescu wrote:
>
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 6, 4:20 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Alex Popescu wrote:
> > Probably the simplest solution would be to create a new exception and
> > wrapping the old one and the additional info. Unfortunately, this
> > may have a huge impact on 3rd party
On Jul 6, 6:19 am, [EMAIL PROTECTED] (Alex Martelli) wrote:
> Alex Popescu <[EMAIL PROTECTED]> wrote:
>
>...
>
> > frameworks (TestNG is not a unit testing framework,
> > but a full flavored testing framework that fits perfectly functional
> > testing, integ
ay (and has
been for many years); see e.g.
<http://www.acmqueue.org/modules.php?name=Content&pa=showpage&pid=220>
for the _enhancements_ FreeBSD 5.2 brought to this idea a few years ago,
for example.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
stance(exc, (UnicodeEncodeError, UnicodeTranslateError)):
erore = exc.object[exc.start:exc.end]
if len(erore)==1 and erore in _rimedi: return _rimedi[erore]
raise exc
codecs.register_error('rimedia', rimedia)
outf = codecs.open('filename.txt',
does
> it.
>
Isn't it possible to get from modulefinder what it has found and just
filter it out according to your rules?
This way you are in control and can deicde what is internal/external.
./alex
--
.w( the_mindstorm )p.
> I'm working on g-pypi which creates ebuil
der the dir_name the
current dir and this breaks all imports). I am pretty sure this is
answered somewhere, but I must confess that so far I haven't been able
to find it :-(.
TIA,
./alex
--
.w( the_mindstorm )p.
--
http://mail.python.org/mailman/listinfo/python-list
1401 - 1500 of 2602 matches
Mail list logo