That's the most accurate description of Xah's behaviour I've read so far.
Jon Perez schrieb:
Sherm Pendley wrote:
Xah's a pretty well-known troll in these parts. I suppose he thinks someone
is going to take the bait and rush to defend the other languages or some
such nonsense.
Actually,
Ian Bicking wrote:
I've proposed adding support for semi-automatic linking to external
documents, based on a simple tagging model, a couple of times, e.g.
http://mail.python.org/pipermail/python-list/2005-May/280751.html
Op 2005-12-06, [EMAIL PROTECTED] schreef [EMAIL PROTECTED]:
Just because a few people dislike something,
doesn't make it a defect.
Actually, it does. Unless you're in the business of building security
systems. Then the goals are reversed.
I can accept that you like scope by indent and
Op 2005-12-06, Ben Sizer schreef [EMAIL PROTECTED]:
[EMAIL PROTECTED] wrote:
Just because a few people dislike something,
doesn't make it a defect.
Actually, it does.
Whose definition of defect are we using? And how small a sample
population are we going to require in order to find a
François Pinard wrote:
[A.M. Kuchling]
On Tue, 6 Dec 2005 00:05:38 -0500,
François Pinard [EMAIL PROTECTED] wrote:
It's a relatively recent phenomenon that maintainers go berzerk, foaming
at the mouth over forms, borders, colors, and various other mania! :-)
It's largely to
Antoon Pardon [EMAIL PROTECTED] writes:
But lately I have been wondering about doing the following:
end = None
...
if ...:
...
end
IMO it looks better, but I'm reluctant because it suggest
some checking by the compilor, which just doesn't happen.
I don't think you can always do
annagel wrote:
Thanks for the reply and as it turns out no I don't think I really do
want to do this. I started working with tkinter after banging my head
against the wall for a while with wxwindows so the whole thing ended up
being a last minute change so I am trying to get most at least of
A.M. Kuchling wrote:
I've proposed adding support for semi-automatic linking to external
documents, based on a simple tagging model, a couple of times, e.g.
http://mail.python.org/pipermail/python-list/2005-May/280751.html
Very interesting. There could be a manually-maintained list
BartlebyScrivener wrote:
You are correct about the tutorial. Just try to look at the home page
through the eyes of a curious Windows user who wants to learn
programming and is trying to decide whether to take up Perl, Ruby,
Python, or Visual Basic, let's say.
On the home page, the first
Paul Rubin a écrit :
Antoon Pardon [EMAIL PROTECTED] writes:
But lately I have been wondering about doing the following:
end = None
...
if ...:
...
end
IMO it looks better, but I'm reluctant because it suggest
some checking by the compilor, which just doesn't happen.
I don't think
Mardy wrote:
This works, but my problem is that SQL connections (MySQL or sqlite) don't
get closed when the script execution finishes, and at the next execution
of a CGI they may lock the database (this is especially true with sqlite,
but even mysql on Windows gave me these problems).
You
Antoon Pardon wrote:
Op 2005-12-06, Ben Sizer schreef [EMAIL PROTECTED]:
Of course. However I would argue that indented scope is one way of
doing so. Scope is instantly visible, and no longer a game of 'hunt the
punctuation character, which is in a different place depending on the
coder's
Op 2005-12-07, Paul Rubin schreef http:
Antoon Pardon [EMAIL PROTECTED] writes:
But lately I have been wondering about doing the following:
end = None
...
if ...:
...
end
IMO it looks better, but I'm reluctant because it suggest
some checking by the compilor, which just doesn't
Thanks for help, I tried to install ActivePerl and have the same
problem so there's probably something wrong with the windows installer.
Unfortunatelly I wasn't able to find out where is the problem from log
file so I'll try to upgrade installer - the windows server installation
is quite old and
Alan Kennedy wrote:
[Fredrik Lundh]
but isn't libxml2dom just a binding for libxml2? as I mention above, I had
libxml2
in mind when I wrote widely used, not the libxml2dom binding itself.
No, libxml2dom is Paul Boddie's DOM API compatibility layer on top of
the cpython bindings for
Op 2005-12-07, Ben Sizer schreef [EMAIL PROTECTED]:
Antoon Pardon wrote:
Op 2005-12-06, Ben Sizer schreef [EMAIL PROTECTED]:
Of course. However I would argue that indented scope is one way of
doing so. Scope is instantly visible, and no longer a game of 'hunt the
punctuation character,
Michael Williams wrote:
I would RTM, but I'm not sure exactly what to look for. Basically, I
need to be able to call a variable dynamically. Meaning something like
the following:
- I don't want to say OBJECT.VAR but rather
OBJECT. (string) and have it
On Tue, 06 Dec 2005 00:33:17 +0100, Fredrik Lundh wrote:
Sybren Stuvel wrote:
def somefunc(x): return x*5
How is that a multi-line function definition?
but that's namespace pollution! if you do this, nobody will never ever be
able to use the name somefunc again! won't somebody please
Op 2005-12-07, Christophe schreef [EMAIL PROTECTED]:
Paul Rubin a écrit :
Antoon Pardon [EMAIL PROTECTED] writes:
But lately I have been wondering about doing the following:
end = None
...
if ...:
...
end
IMO it looks better, but I'm reluctant because it suggest
some checking by the
Steven D'Aprano enlightened us with:
All joking aside, when I have names (temporary variables or
scaffolding functions) that I need to initialise a module or data
structure, but then outlive their usefulness, I del the name
afterwards. Am I the only one?
I don't do that. I tend to split up my
Il 2005-12-07, Alex Martelli [EMAIL PROTECTED] ha scritto:
I can't reproduce the infinite recursion you observe, by merging said
recipe and your definition of class Test, w/Python 2.4.2 on Mac OS 10.4.
It seemed that the problem arose because I was not using super() in a new
style class based
On Tue, 06 Dec 2005 22:44:39 -0800, Erik Max Francis wrote:
Peter Hansen wrote:
Okay, good, I already knew all that then, except perhaps that key word
fixed.
One thing I should say here is that pygene is a collection of
inter-related classes for populations, organisms, gametes and genes.
On Tue, 06 Dec 2005 15:44:07 +, John Marshall wrote:
The goal is to be able to keep some meta-data
for each file/directory of a directory hierarchy
in a separate directory: one meta-data file per
file/directory.
So you are planning on shadowing the entire file system with a single
On Mon, 05 Dec 2005 19:31:46 -0800, bonono wrote:
Paul Rubin wrote:
Why use temporary variables when all you have to do is make your
expressions three lines long to avoid polluting the namespace?
Indeed. I'd much rather say
x = a + b + (c * d) + e
than
temp1 = a + b
temp2 =
Il 2005-12-07, Lawrence Oluyede [EMAIL PROTECTED] ha scritto:
I don't get to fully work the metaclass anyway for other weird reasons
(using super() I lose an attribute around?!) I'm gonna fix this.
It was a bug of one of the super() in the chain.
Still suffer from deep recursion limit error
Jacek Pop³awski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Do you have any experience with Python in SNMPv3 area?
SNMP suck per design and SNMPv3 suck even more by adding complexity to that
design IMO.
SNMPv2 sort of works well within the limits of the design of SNMP, so that
is
Lawrence Oluyede wrote:
look in TestChild's __init__(). Not using super() fails with a
File /home/rhymes/downloads/simple_logger.py, line 55, in __init__
Test.__init__(self, foo)
File /home/rhymes/downloads/simple_logger.py, line 24, in _method
returnval = getattr(self,'_H_%s' %
On Mon, 05 Dec 2005 19:36:58 -0800, BartlebyScrivener wrote:
Well, that might be asking a bit too much of the programmers, who
perhaps don't exactly enjoy mucking about in the lowlands of English
grammar and syntax.
Oh come on now! For the kinds of minds who enjoy obfuscated C or Perl,
Steven D'Aprano wrote:
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.
Did you mean: Badger badger Badger badger badger badger Badger badger Mushroom!
Mushroom!
/F
--
http://mail.python.org/mailman/listinfo/python-list
Why is the ElementTree API not a part of the Python core?
I've recently been developing a script for accessing the Miva API only
to find all the core API's provided by Python for parsing XML is messy
and complicated. Many of the examples I see for parsing the data using
these API's uses a similar
Steven D'Aprano wrote:
[...]
All joking aside, when I have names (temporary variables or scaffolding
functions) that I need to initialise a module or data structure, but then
outlive their usefulness, I del the name afterwards. Am I the only one? I
can't say I've seen anyone else doing that,
On Mon, 05 Dec 2005 21:05:46 -0800, rurpy wrote:
If one is required to buy a book to use free software,
One is *not* required to buy a book to use free software. It isn't
compulsory.
it is not really free, is it?
What part of you may use this FREE software for FREE is too difficult
for you
On Mon, 05 Dec 2005 22:58:42 -0800, Dan Bishop wrote:
class CapOutput:
...def __init__(self, fileobj):
... self._file = fileobj
...def write(self, text):
... self._file.write(text.capitalize())
...
sys.stdout = CapOutput(sys.stdout)
print 'why?'
Why?
That's ...
Note that even though the time is always returned as a floating point
number, not all systems provide time with a better precision than 1
second. says the doc.
Can anything be said about precision if indeed your system returns
figures after the decimal point?
Thx.
malv
--
Steve Holden [EMAIL PROTECTED] writes:
All joking aside, when I have names (temporary variables or scaffolding
functions) that I need to initialise a module or data structure, but then
outlive their usefulness, I del the name afterwards. Am I the only one? I
can't say I've seen anyone else
I broke down and wrote a dynamic global module index for the Python library
reference manual last night using Myghty. It's something I've wanted for
quite awhile and as I'm just learning to use Myghty I thought it would be a
good tool to experiment with (better I think than Moin, which was my
Hello,
I'm trying to unzip archives that have soft links in them (that is,
were created on unix with a -y option). I'm not finding that ZipFile
will do that. That I can see, it creates the link file, and that file
has the right contents, but it is not a soft link in the directory
structure.
On Mon, 05 Dec 2005 05:16:04 -0800, JohnBMudd wrote:
From The Design of Everyday Things, docs are a sign of poor design.
Even a single word, such as the word Push on the face of a door, is
an indication that the design can be improved.
I find it ironic that you are using a book that documents
Adam I don't expect everything to make the transition. Are discussions
Adam of atoms and fragments of BNF really better than calling them
Adam expressions and linking to CPython's Grammar file?
Actually, yes. The actual Grammar file isn't designed for explanation
(mostly it's more
This is why things need to go into public trackers, or wiki pages.
François Whatever means the maintainer wants to fill his preservation
François needs, he is free to use them. The problem arises when the
François maintainer wants imposing his own work methods on others.
The library reference has so many modules that the table of contents
is very large. Again, not really a problem that we can fix; splitting
it up into separate manuals doesn't seem like it would help.
I like the Global Module Index in general - it allows quick access to
exactly what I want.
I
On 12/7/05, Steven D'Aprano [EMAIL PROTECTED] wrote:
But none of them are the cost of Python, which is free. It really isn't a
scam, nobody is going to come knocking at your door with a surprise bill
for using Python.
Well, there is the PSU's Spanish Inquisition division. Last week
they barged
The library reference has so many modules that the table of contents
is very large. Again, not really a problem that we can fix;
splitting it up into separate manuals doesn't seem like it would
help.
Iain I like the Global Module Index in general - it allows quick access
On Tue, 6 Dec 2005, Peter Otten wrote:
Ritesh Raj Sarraf wrote:
I'm using this for option arguments which are mutually inclusive.
But I want the user to pass atleast one option argument for the program
to function properly.
For example, I have an option --fetch-update which requires a file
Doug,
I agree with you, ElementTree is fast pythonic.
Certainly does make sense to me.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
The library reference has so many modules that the table of contents
is very large. Again, not really a problem that we can fix;
splitting it up into separate manuals doesn't seem like it would
help.
Iain I like the Global Module Index in
On 07 Dec 2005 03:25:53 -0800,
Paul Rubin http://[EMAIL PROTECTED] wrote:
Steve Holden [EMAIL PROTECTED] writes:
All joking aside, when I have names (temporary variables or
scaffolding functions) that I need to initialise a module or data
structure, but then outlive their usefulness, I
OK, Thanks
On Tue, 06 Dec 2005 15:41:08 +0100, Fredrik Lundh wrote:
Philippe C. Martin wrote:
Can I ask anydb which db it's using ?
the page says
If the database file already exists, the whichdb module is used to
determine its
type and the appropriate module is used; if it
[EMAIL PROTECTED] wrote:
Real people have real names. Using your real name on the net makes
you less virtual to the people you communicate with.
on the other hand,
http://www.python.org/doc/Humor.html#timbot2
/F
--
http://mail.python.org/mailman/listinfo/python-list
Tony Meyer wrote:
This makes no sense. If you want to complain about Python, try a
Perl list. Why would a list dedicated to discussion about/help with
a language need complaints about the language?
Huh?!? Usually people complain because they need help or feel
that things can be
On 12/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Adam I don't expect everything to make the transition. Are discussions
Adam of atoms and fragments of BNF really better than calling them
Adam expressions and linking to CPython's Grammar file?
Actually, yes. The actual
Iain Well, the point of the GMI is to lookup whatever module you are
Iain currently having to use for the first time (at least it is for
Iain me). Giving easy access to the modules I've already had to look
Iain up (because they are common) doesn't really help - I've already
Adam Having a large and detailed language specification, although an
Adam admirable ideal, is a waste of time when the target audience is
Adam perhaps a few dozen people.
Just because that audience is small doesn't mean they are unimportant.
There are currently four actively
[EMAIL PROTECTED] wrote:
Iain Well, the point of the GMI is to lookup whatever module you are
Iain currently having to use for the first time (at least it is for
Iain me). Giving easy access to the modules I've already had to look
Iain up (because they are common) doesn't really
malv wrote:
This is probably a fair answer.
My experience: Two years ago I started with Boa till I discovered eric.
I have been with eric ever since. Eric uses Qt as GUI. I think both Qt
and wx enable you to do pretty much the same thing. I like the work
F.Lundh did on Tkinter, but every
On 12/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Adam Having a large and detailed language specification, although an
Adam admirable ideal, is a waste of time when the target audience is
Adam perhaps a few dozen people.
Just because that audience is small doesn't mean they
Bruno,Thanks, but the whole reason I need it is to create objects in the tree on the fly. Every implementation I've seen of Element tree manually assigns values to the nodes and manually places them. All I care about is that any tags they have are in my list of "valid_tags". Otherwise they can
giangiammy wrote:
I'm starting to approch python: I find it a powerful language,
but, I'd like to get, ad result of my program, something
containing every python lib necessary to run (on linux systems):
i.e.: my application should be bounbled with the python
interpreter and the needed
hi all,
tryng python with pygame, I get the followinf error:
faberdanaio.py:28: RuntimeWarning: use movie: No module named movie
animation = pygame.movie.Movie(images/film.mpeg)
Traceback (most recent call last):
File faberdanaio.py, line 28, in ?
animation =
Hi,
I am encoding a string such as...
[code]
data = someFile.readlines()
encoded = []
for line in data:
encoded.append(binascii.b2a_uu(stringToEncode))
return encoded
[/code]
...I then try to decode this by...
[code]
def decode(data):
result = []
for val in data:
hello i want to know what the iterator type differs from list type also if youplease advice me a tutorial on how to use Unicode and different string methods as encode ,decodethanks
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Yahoo!
Hello all,
Dear Ng Pheng Siong,
thank you for your great job with M2Crypto.
I have got and build 0.15 version on a win xp box recently and was reading
your ZServerSSL HOWTO document so that i can start using https,
xmlprc-over-https etc.
I have to tell that i have installed from Plone 2.0.5
hey there,
i have looked at the string module and re.
i was looking for advice on what would be the best way to pull a value
out of a small string.
for example, i have a string
$.+.09 JAR
and all i want out of it is the +.09
likewise, i have
$-.04 TIN kt
and all i want is the -.04
what
Fredrik Lundh wrote:
Steven D'Aprano wrote:
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.
Did you mean: Badger badger Badger badger badger badger Badger badger
Mushroom! Mushroom!
Thank you, I really needed that stuck in my head. :)
--
[EMAIL PROTECTED] wrote:
,, info cut
However there is one thing I don't like in python,
that is, scoping by indentation. But it would not annoy me so much that
make me decide to implement a new language^_^.
Regards,
Limin
I find these comments interesting. It is very common for
I telnet to port 13 (returns time)
Hope this is helpful,
Mike
Nico Grubert wrote:
Hi there,
I could not find any ping Class or Handler in python (2.3.5) to ping a
machine.
I just need to ping a machine to see if its answering. What's the best
way to do it?
Kind regards,
Nico
--
Erik Max Francis wrote:
If you went into detail I could probably tell you whether or not what
you're doing is obviously a genetic algorithm, or obviously an
instance of genetic programming, or somewhere in between. Without
internal structure it's probably more likely closer to genetic
On 2005-12-07, Steven D'Aprano [EMAIL PROTECTED] wrote:
On Mon, 05 Dec 2005 19:36:58 -0800, BartlebyScrivener wrote:
Well, that might be asking a bit too much of the programmers, who
perhaps don't exactly enjoy mucking about in the lowlands of English
grammar and syntax.
Oh come on now! For
On Tue, 06 Dec 2005 10:29:33 -0800,
Michael Spencer [EMAIL PROTECTED] wrote:
not that helpful. Miscellaneous Services, in particular, gives no clue to
treasures it contains. I would prefer, for example, to see the data
structure modules: collections, heapq, array etc... given their
On 2005-12-07, Antoon Pardon [EMAIL PROTECTED] wrote:
What I don't understand is, that most people who have a problem
with scope by indentation, want to introduce braces. I think
braces are the worst solution.
Braces are very convenient to match block start and end. Open a C program
in the VI
OK some sample Code. First from the module that I am importing. I
won't post anything because the vast majority of stuff is way outside
the scope of this problem and has to do with image and sound
manipulation.
First the imports I use:
import sys
import os
import user
import traceback
import
[EMAIL PROTECTED] wrote:
hey there,
i have looked at the string module and re.
i was looking for advice on what would be the best way to pull a value
out of a small string.
for example, i have a string
$.+.09 JAR
and all i want out of it is the +.09
likewise, i have
$-.04 TIN kt
malv wrote:
Note that even though the time is always returned as a floating point
number, not all systems provide time with a better precision than 1
second. says the doc.
Can anything be said about precision if indeed your system returns
figures after the decimal point?
A few things.
1.
py [EMAIL PROTECTED] wrote:
...
encoded.append(binascii.b2a_uu(stringToEncode))
binascii.b2a_uu only works for up to 45 bytes at once; but if you were
feeding it more than 45 bytes, this should raise a binascii.Error
itself.
..any idea why this is happening? Anyone successfully use the
Steven D'Aprano [EMAIL PROTECTED] wrote:
On Mon, 05 Dec 2005 19:36:58 -0800, BartlebyScrivener wrote:
Well, that might be asking a bit too much of the programmers, who
perhaps don't exactly enjoy mucking about in the lowlands of English
grammar and syntax.
Oh come on now! For the
[EMAIL PROTECTED] wrote:
Iain I like the Global Module Index in general - it allows quick access
Iain to exactly what I want. I would like a minor change to it though
Iain - stop words starting with a given letter rolling over to another
Iain column (for example, os.path is at
Zeljko Vrba [EMAIL PROTECTED] wrote:
On 2005-12-07, Antoon Pardon [EMAIL PROTECTED] wrote:
What I don't understand is, that most people who have a problem
with scope by indentation, want to introduce braces. I think
braces are the worst solution.
Braces are very convenient to match
the second line was not a typo , and thanks for that.
these values may vary somewhat over time. So i may have to rewrite this
part of the script.
a string is fine for right now, because it is just going to be pumped
into a database. i can change it later if necessary.
thanks for the help gents,
[Fredrik Lundh]
It's libxml2 that does all the work, and the libxml2
authors claim that libxml2 implements the DOM level 2 document model,
but with a different API.
That statement is meaningless.
The DOM is *only* an API, i.e. an interface. The opening statement on
the W3C DOM page is
What
So...
Python is already flexible. It supports use of (1) tabs, (2) space or
(3) a mix of tabs and space to indicate scope.
Some people think this is too flexible. It should be cut back to tabs
or spaces. The fewer people comfortable with Python, the better. It's
better to be right than
Michael Schneider wrote:
I telnet to port 13 (returns time)
The problem is that most modern up-to-date servers use firewalls. They
only open the ports that are absolutely necessary. Usually the time
service is part of inetd, which is disabled by default, on most of the
servers. PING ICMP may
Hi. I need a way to reach a goal like this in python 2.3:This is a informal way to said it:
result=validateXmlWithDTD(XmlFilePath, DTDFilePath)
#where result could be True,False or some exception
I'm not interested in a one specific sintaxis or way to do this. I try to find a simple and
Les,
I only ping internal machines. You are right about shutting down ports.
When we disable telent, we also disable ping. Many people may not though,
good luck,
Mike
Laszlo Zsolt Nagy wrote:
Michael Schneider wrote:
I telnet to port 13 (returns time)
The problem is that most modern
[EMAIL PROTECTED] wrote:
ElementTree on the other hand provides incredibly easy access to XML
elements and works in a more Pythonic way. Why has the API not been
included in the Python core?
While I fully agree that ElementTree is far more Pythonic than the
dom-based stuff in the core, this
Thanks to everyone for their e-mails. I am using
Fredrik's strptime/mktime solution to calculate my
elapsed time.
__
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
--
A.M. Kuchling wrote:
There's another struggle within the LibRef: is it a reference or a
tutorial? Does it list methods in alphabetical order so you can look
them up, or does it list them in a pedagogically useful order? I
think it has to be a reference; if each section were to be a
[Alan Kennedy]
Don't confuse libxml2dom with libxml2.
[Paul Boddie]
Well, quite, but perhaps you can explain what I'm doing wrong with this
low-level version of the previously specified code:
Well, if your purpose is to make a point about minidom and DOM standards
compliance in relation to
[EMAIL PROTECTED] wrote:
...
thanks for the help gents, i am going to just go with string functions,
seems like it will be easier both to code now. and later if and when
the format of this stuff may change.
I agree -- to each day are sufficient the evils thereof. Many
programmers fall into
Peter Hansen wrote:
Going by memory, Linux will generally be 1ms resolution (I might be
off by 10 there...), while Windows XP has about 64 ticks per second,
so .015625 resolution...
here's a silly little script that measures the difference between
two distinct return values, and reports the
I would vote against ant because java must be installed to run it.
The bootstrap install should be very simple. If you make python usage
dependent on:
1) download java
2) install java
3) add java to path
4) download ant
5) install ant
6) add ant to path
7) download ptyhon
8) install python
9)
[EMAIL PROTECTED] wrote:
Some people like it just as it is. Don't change ANYTHING!
search for NIMPY
Some people (a lot of the ones that don't give Python a chance) want
one more choice, braces. Is that so much to ask for?
If you like curly brace style, there are always other scripting
Ritesh Raj Sarraf wrote:
parser.add_option(-d,--download-dir, dest=download_dir,
help=Root directory path to save the downloaded files,
action=store, type=string)
parser.set_defaults(download_dir=foo)
This can be simplified to
parser.add_option(-d,
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
OTOH, I find myself returning to the same module docs over and over
again to look up function arguments, regular expression syntax, that
sort of thing. Having to page down past dozens and dozens of modules I
don't care about to click on sys
On 2005-12-07, Peter Hansen [EMAIL PROTECTED] wrote:
2. If your system returns figures after the decimal point, it
probably has better resolution than one second (go figure).
Depending on what system it is, your best bet to determine
why is to check the documentation for your system
On Wed, 7 Dec 2005 09:36:24 +0100,
Fredrik Lundh [EMAIL PROTECTED] wrote:
or just add a marker (in some for me unknown way), and postprocess
the HTML files. I'm not sure the links does necessarily belong in e.g.
PDF renderings of the documentation, but that's of course up to the
Alex Martelli wrote:
binascii.b2a_uu only works for up to 45 bytes at once; but if you were
feeding it more than 45 bytes, this should raise a binascii.Error
itself.
Definitely not, given the above limit. But I still don't quite
understand the exact mechanics of the error you're getting.
[EMAIL PROTECTED] wrote:
FWIW I find Python's docs to be OK at best, with some horrible
parts, and a lot of mediochre to poor parts.
I myself have no big beef about Python's docs, but you're certainly
not the first one to complain about them. Xah Lee rants very
heavily against the quality
Hi all,
I'm writing a class with some attributes which deepcopy can't cope
with, and I need some more clarifications. Sorry for my newbie
questions, but I'm a newbie indeed (or a sort of).
Suppose one of the attributes of my class is a dictionary whose values
are callable functions, such as:
def
[EMAIL PROTECTED] enlightened us with:
Some people (a lot of the ones that don't give Python a chance) want
one more choice, braces. Is that so much to ask for?
I say: use #{ and #} instead. If you want to have braces, what's wrong
with
if condition: #{
some statement
other statement
On 06 Dec, 2005, at 20:53, Steven Bethard wrote:
Samuel M. Smith wrote:
The dict class has some read only attributes that generate an
exception
if I try to assign a value to them.
I wanted to trap for this exception in a subclass using super but it
doesn't happen.
class SD(dict):
1 - 100 of 249 matches
Mail list logo