Huron [EMAIL PROTECTED] writes:
Since you're posting in English, is there any point in responding
to it in English, and are non-Europeans eligible?
I'm afraid not. The team is too small to welcome remote work at the present
time ...
Working remotely hadn't occurred to me ;-). I was
Steve Holden [EMAIL PROTECTED] writes:
Given that Python has a 1's-complement operator already I don;t see
why you can't just leave Python alone and use it,
What's the meaning of the 1's complement operator (for example, what
is ~1), when ints and longs are the same?
--
Steve Jorgensen [EMAIL PROTECTED] writes:
In this case, it woiuld just be keeping a list of dirty hash tables, and
having a process that pulls the next one from the queue, and cleans it.
If typical Python programs spend so enough time updating hash tables
for a hack like this to be of any
Steve Jorgensen [EMAIL PROTECTED] writes:
Given that Python is highly dependent upon dictionaries, I would
think a lot of the processor time used by a Python app is spent in
updating hash tables. That guess could be right or wrong, bus
assuming it's right, is that a design flaw? That's just
[EMAIL PROTECTED] writes:
I have some scientific application written in python. There is a
good deal of list processing, but also some simple computation such
as basic linear algebra involved. I would like to speed things up
implementing some of the functions in C. So I need profiling.
Why
Huron [EMAIL PROTECTED] writes:
1) whether there would be legal or procedural obstacles for a
non-European wanting to work in Paris for a while; and
If you are a member of the EU (the netherlands ?), there no such problem on
our side. Only _you_ would have some paperwork to do.
I'm in the
Terry Reedy [EMAIL PROTECTED] writes:
Do you even realize you're having this conversation over the Python
mailing list/newsgroup, rather than by private email?
Did you consider asking *that* question privately ;-?
Hehe, good comeback. Seriously, I figured enough other clpy people
might
Sybren Stuvel [EMAIL PROTECTED] writes:
An example:
def generate_randomizer(n, m):
randomizer = def(x):
return x ** n % m
return randomizer
You're a little bit confused; name doesn't necessarily mean persistent
name. You could write the above as:
def
Terry Reedy [EMAIL PROTECTED] writes:
Are you claiming that including a reference to the more humanly readable
representation of a function (its source code) somehow detracts from the
beauty of the function concept?
Huh? Anonymous functions mean you can use functions as values by
spelling
Jorgen Grahn [EMAIL PROTECTED] writes:
I feel the recent SMP hype (in general, and in Python) is a red herring. Why
do I need that extra performance? What application would use it?
How many mhz does the computer you're using right now have? When did
you buy it? Did you buy it to replace a
Thomas Bellman [EMAIL PROTECTED] writes:
And I'm fairly certain that 'sort' won't start spending CPU time
until it has collected all its input, so you won't gain much
there either.
For large input, sort uses the obvious in-memory sort, external merge
algorithm, so it starts using cpu once
James Stroud [EMAIL PROTECTED] writes:
Any ideas on how to do this with a regular function, or is the way I've done
it the pythonic choice?
I think you're trying to do something like this:
def FunctionMaker(avar, func, label):
def callback():
avar.set(label)
[EMAIL PROTECTED] (Bengt Richter) writes:
And I'm fairly certain that 'sort' won't start spending CPU time
until it has collected all its input, so you won't gain much
there either.
Why wouldn't a large sequence sort be internally broken down into parallel
sub-sequence sorts and merges that
Aldo Cortesi [EMAIL PROTECTED] writes:
The lexical scope within which a function is declared is
made available to the function when it is run. This is done
by storing the values of free variables within the declared
function in the func_closure attribute of the created
function object.
[EMAIL PROTECTED] writes:
Python or C? C is simply a pawn.
Venomous problem? Pythons squeeze and constrict, until the problem is
gone.
Don't quit your day job.
--
http://mail.python.org/mailman/listinfo/python-list
Simo Melenius [EMAIL PROTECTED] writes:
But if you could do anonymous blocks, you could just write something
like:
def generate_randomizer (n, m):
return def (x):
return pow (x, n, m)
Yes, as it stands you can already say:
def generate_randomizer(n, m):
return lambda
Adriaan Renting [EMAIL PROTECTED] writes:
Not to discourage you, working abroad can realy be a nice thing to
do, but expect a lot of paperwork, and a lot of contradicting
answers. The basic thing is, that most european goventments aren't
set up to deal with expats, most immigrants are economic
Terry Hancock [EMAIL PROTECTED] writes:
def ternary(condition, true_result, false_result):
if condition:
return true_result
else:
return false_result
Almost as good, and you don't have to talk curmudgeons into providing
it for you.
Not the same at
[EMAIL PROTECTED] writes:
Basically I will like to combine a social security number (9 digits)
and a birth date (8 digits, could be padded to be 9) and obtain a new
'student number'. It would be better if the original numbers can't be
traced back, they will be kept in a database anyways. Hope
James Stroud [EMAIL PROTECTED] writes:
Then your best bet is to take a reasonable number of bits from an sha hash.
But you do not need pycrypto for this. The previous answer by ncf is good,
but use the standard library and take 9 digits to lessen probability for
clashes
import sha
def
Duncan Booth [EMAIL PROTECTED] writes:
1) Every time you access gen.next you create a new method-wrapper object.
Why is that? I thought gen.next is a callable and gen.next() actually
advances the iterator. Why shouldn't gen.next always be the same object?
--
Terry Hancock [EMAIL PROTECTED] writes:
Not the same at all. It evaluates both the true and false results,
which may have side effects.
If you are depending on that kind of nit-picking behavior,
you have a serious design flaw, a bug waiting to bite you,
and code which shouldn't have been
Christophe [EMAIL PROTECTED] writes:
Any recommendations on a windows packager/installer that's free? I need
it to allow non-tech users to install some python scripts... you know,
Click Next... Click Next... Click Finish... You're Done! and
everything just magically works ;)
Isn't that
Bryan Olson [EMAIL PROTECTED] writes:
First, a portable worker-process timeout: In the child process,
create a worker daemon thread, and let the main thread wait
until either the worker signals that it is done, or the timeout
duration expires. As the Python Library Reference states in
section
Is there such a thing as a general purpose Python Jabber client? I'm
imagining one that uses tkinter.
A little Googling finds a couple of Jabber protocol libraries written
in Python, a few half-finished projects, and a client for the Sharp
Zaurus, but I didn't spot any simple portable ones that
Tim Roberts [EMAIL PROTECTED] writes:
I doubt it. C#, VB.NET, VBscript, Javascript and Perl have not suffered
from being interpreted.
Are you kidding?
--
http://mail.python.org/mailman/listinfo/python-list
Michael Sparks [EMAIL PROTECTED] writes:
But I think to do it on Erlang's scale, Python needs user-level
microthreads and not just OS threads.
You've just described Kamaelia* BTW, except substitute micro-thread
with generator :-) (Also we call the queues outboxes and inboxes, and
the
Kirk Job Sluder [EMAIL PROTECTED] writes:
You have a client on the phone who needs access to information, but has
forgotten or lost the 10-digit unique ID and the PIN you gave them two
years ago. How do you provide that client with the information he or
she needs? This is the kind of dilemma
Kirk Job Sluder [EMAIL PROTECTED] writes:
I'm more than happy to agree to disagree on this, but I see it
differently. In aviation there certainly is a bit of risk-benefit
analysis going on in thinking about whether the cost of a given safety
is justified given the benefits in risk reduction.
Mark Dufour [EMAIL PROTECTED] writes:
After nine months of hard work, I am proud to introduce my baby to the
world: an experimental Python-to-C++ compiler.
Wow, looks really cool. But why that instead of Pypy?
--
http://mail.python.org/mailman/listinfo/python-list
James Stroud [EMAIL PROTECTED] writes:
Yes and no. Yes, you are theoretically correct. No, I don't think
you have the OP's original needs in mind (though I am mostly
guessing here). The OP was obviously a TA who needed to assign
students a number so that they could anonymously check their
talin at acm dot org [EMAIL PROTECTED] writes:
# Declare that Factor is a generic function
Factorial = Function()
Was the comment a typo for Factorial?
# Define Factorial( 0 )
@Arity( 0 )
def Factorial():
return 1
Overriding old definition of Factorial
# Define Factorial( x )
Paddy [EMAIL PROTECTED] writes:
A work colleague circulated this interesting article about reducing
software bugs by orders of magnitude:
http://www.spectrum.ieee.org/WEBONLY/publicfeature/sep05/0905ext.html
This gets a not found error. Got a different link?
Some methods they talk about
Steven D'Aprano [EMAIL PROTECTED] writes:
It is a mere implementation detail that (for most computer systems, and
most programming languages) stack space is at a premium and a deeply
recursive function can run out of stack space while the heap still has
lots of free memory.
Every serious FP
Todd Steury [EMAIL PROTECTED] writes:
or 1.#INDj. However I really need these numbers to be calculated (although
precision isn't key). Is there a way to get python to increase the size
limit of float and complex numbers?
Python just uses machine doubles by default. You might be able to
[EMAIL PROTECTED] writes:
My goal is to encrypt a nine-digit number so that it can be safely used
as a student ID number.
Why don't you just use the build in stdlib functions as other people
have proposed?
--
http://mail.python.org/mailman/listinfo/python-list
Paddy [EMAIL PROTECTED] writes:
As I write, the main article starts here:
http://www.spectrum.ieee.org/sep05/2164
With the sidebar here:
http://www.spectrum.ieee.org/sep05/2164/extsb1
Thanks, the article is slightly interesting but it doesn't say much.
I'm sure a lot more is going on than
Mikael Olofsson [EMAIL PROTECTED] writes:
print 'z = %.5fE%d' % (10.**c, m)
Nice approach. We should never forget that we do have mathematical
skills beside the computers. But, shouldn't you switch c and m in the
last row?
Yeah, doh. c=characteristic, m=mantissa.
--
François Pinard [EMAIL PROTECTED] writes:
This being said, for one, I always found _insane_ presenting recursion
to new programmers using such examples, which are both very easily,
and much better written non-recursively. It does not help beginners
at taking recursion any seriously.
I dunno
Steven D'Aprano [EMAIL PROTECTED] writes:
But there is a difference: writing assembly is *hard*, which is why we
prefer not to do it. Are you suggesting that functional programming is
significantly easier to do than declarative?
I think you mean imperative. Yes, there is a community that
Robert Kern [EMAIL PROTECTED] writes:
http://www.nightsong.com/phr/crypto/p3.py
[Ed Hotchkiss wrote:]
Awesome. I just started Python today so I'd have no idea ... how good is
this encryption compared to PGP?
p3.py's functionality is nothing like PGP: it just encrypts character
strings
Tom Anderson [EMAIL PROTECTED] writes:
One thing that would be rather useful in various bits of programming
i've done would be a mutable bitmap type.
Am i right in thinking there's no such thing in the standard library?
Is there an implementation out there somewhere else? Is there a hack
for
[EMAIL PROTECTED] writes:
I'm pretty sure we'll be using PyGames for the graphics, although a
traditional ASCII roguelike interface would be nice to have too.
??!!! How can you call it roguelike if it's not ascii ???
--
http://mail.python.org/mailman/listinfo/python-list
Chris [EMAIL PROTECTED] writes:
Is there a way to make python create a list of Mondays for a given year?
mondays = ['1/3/2005','1/10/2005','1/17/2005','1/24/2005',
'1/31/2005','2/7/2005', ... ]
This is pretty inefficient but it's conceptually the simplest:
def mondays(year):
from
Hmm, here's an approach using the .throw() operation from PEP 342.
It's obviously untested, since that feature is not currently part of
Python, probably incorrect, and maybe just insane. I renamed append
to insert_iterator since append usually means put something at the
end, not in the middle.
Paul Rubin http://[EMAIL PROTECTED] writes:
Hmm, here's an approach using the .throw() operation from PEP 342.
It's obviously untested, since that feature is not currently part of
Python, probably incorrect, and maybe just insane.
Pardon the unintentional shift/reduce conflict above. I mean
Michael Ekstrand [EMAIL PROTECTED] writes:
def drawline((x1, y1), (x2, y2)):
# draw a line from x1, y1 to x2, y2
foo(x1, y1)
bar(x2, y2)
Yow! I did not know you could even do this.
My vote would be +1 for keeping them in the language... they look far
too useful to
Steve Holden [EMAIL PROTECTED] writes:
Here's my mission: simple P2P class with encryption of whatever type
of file is being sent, and authentication via encrypted user
name/password. So any type of file or login being sent over the net,
any communication between the scripts should be
Michael Sparks [EMAIL PROTECTED] writes:
I'm looking at using this library and to familiarise myself writing
small tests with each of the ciphers. When I hit Crypto.Cipher.ARC4 I've
found that I can't get it to decode what it encodes. This might be a
case of PEBKAC, but I'm trying the
Michael Sparks [EMAIL PROTECTED] writes:
Rather than re-inventing wheels I thought I'd pick a library sit down
and see how pycrypt's meant to be used before actually going anyway.
(Amongst other reasons, this is why I suspected me, rather than the
library :-)
Pycrypt doesn't operate at
Neal Becker [EMAIL PROTECTED] writes:
Like a puzzle? I need to interface python output to some strange old
program. It wants to see numbers formatted as:
e.g.: 0.23456789E01
Yeah, that was normal with FORTRAN.
My solution is to print to a string with the '% 16.9E' format, then
parse
Tony Houghton [EMAIL PROTECTED] writes:
Can anyone recommend a good book for intermediate up to expert level?
Python Cookbook (2nd ed.) by Alex Martelli, if you really want a dead
tree book. It's not so much about Python itself, as how to accomplish
various things with it. If you just want to
Nico Grubert [EMAIL PROTECTED] writes:
while 'transfer.lock' in os.listdir( WINDOWS_SHARE ):
print Busy, please wait...
time.sleep(10)
f = open(WINDOWS_SHARE + '/myfile', 'w')
But there's a race condition, and don't you have to make your own lock
before writing myfile, so that the
Peter Hansen [EMAIL PROTECTED] writes:
If you focus on IDEs, your research will have pre-selected only
certain kinds of programmers and teams, and will not necessarily
include the best ones.
It wouldn't have occurred to me to say that Ken Iverson (APL), Peter
Deutsch (PARC Smalltalk), or Dave
Roger [EMAIL PROTECTED] writes:
1. Fetch phone number from my ASCII data.
2. Dial (always a local number) phone (through USRobotics 56K? ).
3. Ask @3 questions to called phone number. Y/N Y/N Y/N
4. Save answers to ASCII file.
5. Say 'Thanks', hang up.
Repeat till eof()
I'm opposed to pretty much every proposal of this sort. If you want
to propose adding a feature to the language, add it in a way that the
compiler can know about it and notice when it's not used correctly.
Mere conventions that are not checked by the compiler are just more
stuff for people to
Neil Hodgson [EMAIL PROTECTED] writes:
The PEP system allows for the documentation of a convention as an
Informational PEP. Documenting conventions is useful.
Where there are conventions, they should be documented. I'm in favor
of fewer conventions. If the preferred method of doing
Tony Meyer [EMAIL PROTECTED] writes:
Does this mean that you think that PEP 8 (Python Code Style Guide)
should be enforced by the compiler? So that (e.g) lines that are too
long just don't compile?
I'd be ok with compiler warning messages from lines that are too long.
I think it's appropriate
[EMAIL PROTECTED] (Bengt Richter) writes:
2) In general, I think it might be good to meet Paul Rubin half way
re convention vs syntax, but I don't think code tagging should be
part of the language syntax per se. (-*- cookies -*- really are
defacto source syntax that snuck in by disguise IMO
Terry Hancock [EMAIL PROTECTED] writes:
But that's precisely why it would be valuable to have a PEP -- a
central catalog of such conventions makes it possible for checking
software to be consistent. If PyChecker were going to check for such
things, it would do so only because a standard
Larry Bates [EMAIL PROTECTED] writes:
Several apps using 4Mb each shouldn't be very much memory (maybe
20Mb at most). You didn't say how much memory was in your machine,
but 256Mb of memory will cost you no more than $50. Not really
worth a lot of effort.
That is bogus reasoning. I can't
Fredrik Lundh [EMAIL PROTECTED] writes:
That is bogus reasoning.
not if you're a professional software developer and someone's paying you
to develop an application that is to be run on a platform that they control.
An awful lot of Python targeted users are not in that situation, so if
MrJean1 [EMAIL PROTECTED] writes:
Ocha O + 54 - o otro
Nena N + 57 -nk nekto
MInga MI+ 60 -mk mikto
Luma L + 63 - l lunto
Please tell me you're making this up.
--
Tony Meyer [EMAIL PROTECTED] writes:
I'm not sure why I haven't seen this mentioned yet, but a leading
double-underscore does really make a member private:...
As you see, it's there in the dict, but it's obfuscated - but that's
all that other languages do anyway.
No, that's false: in
Simon Brunning [EMAIL PROTECTED] writes:
I thought about it, but I didn't mention it in the end because this
feature (name mangling) isn't intended as a mechanism for making
things private - it's intended to prevent namespace clashes when doing
multiple inheritance. It can be used to make
Steven D'Aprano [EMAIL PROTECTED] writes:
Do you know any language that has real private and protected attributes?
Java?
--
http://mail.python.org/mailman/listinfo/python-list
Chris Gonnerman [EMAIL PROTECTED] writes:
-- Make it easy to do right.
What you are promoting is the first philosophy: Tie the programmer's
hands so he can't do wrong. Python for the most part follows the
second philosophy, making writing good code so easy that the coder
is rarely tempted
Gregor Horvath [EMAIL PROTECTED] writes:
to be able to share private variables with other classes under certain
circumstances, it's better to use something like C++'s friend
declaration, where you can export the variables to a specific other class.
That assumes that you always know for
Mike Meyer [EMAIL PROTECTED] writes:
Note that the quoted article only applies to *writing* attributes. It
doesn't say anything about needing accessors to *read* a
variable. This encourages me that the convention I use - adopted from
Eiffel, where the compiler enforces it - of freeling reading
Gregor Horvath [EMAIL PROTECTED] writes:
If its your code this is possible, but if not and the maintainer is
not willing or able to change it, then you have a problem.
Perhaps the maintainer has good reason for not wanting to change it.
After all, he's maintaining the code and you're not. In
Steven D'Aprano [EMAIL PROTECTED] writes:
No, but that is precisely why Python's semi-private variables are
usually better. Names like _X and class.__X are warnings to the developer
use these at your own risk, without preventing developers who need them
from using them. You have most of the
Mike Meyer [EMAIL PROTECTED] writes:
Generally that sounds reasonable. Obviously there are other examples
when (e.g. for security) you have to make sure that variables can't be
read by other classes, e.g. you have a class that stores a capability
(or a password) in an instance variable,
Gregor Horvath [EMAIL PROTECTED] writes:
No, but the assumption here is that the maintainer / designer of a
class alaways knows everything and things are static. Unfortunatly
this is wrong in real live.
I'd say it's pretty far removed from how multi-person software
projects actually work.
Gregor Horvath [EMAIL PROTECTED] writes:
One reason is that it does not restrict the programer to tight und has
genuine simple solutions, like the one with private instance
variables.
If you don't want the compiler to make sure your private instance
variables stay private, then don't declare
yoda [EMAIL PROTECTED] writes:
Currently, the content is generated and a number of SMS per user are
generated. I'll have to measure this more accurately but a cursory
glance indicated that we're generting approximately 1000 sms per
second. (I'm sure this can't be right.. the parser\generator
Dennis Lee Bieber [EMAIL PROTECTED] writes:
Ah, but in the way of your code -- it is not your car... It is the
car you supplied to someone hundreds of miles away... And they are
perfectly free to open the hood... tamper with the engine programming, etc.
I don't understand what you're
Gregor Horvath [EMAIL PROTECTED] writes:
If you don't want the compiler to make sure your private instance
variables stay private, then don't declare them that way. You're the
one asking for less flexibility.
I want to declare them as private, but want to give the flexibilty to
access
Gregor Horvath [EMAIL PROTECTED] writes:
Everything is said on this topic. There are two ligitimate solutions
to the problem of private instance variables. Its a matter of taste,
and mine is the pythonic one.
The Pythonic solution is to have both solutions available, and Python
in fact used to
Peter Corbett [EMAIL PROTECTED] writes:
http://www.pick.ucam.org/~ptc24/yvfc.html
Madness! I love it.
--
http://mail.python.org/mailman/listinfo/python-list
Bill Mill [EMAIL PROTECTED] writes:
Python is for consenting adults.
Python might be for consenting adults, but multi-person software
projects are supposed to be done in the workplace, not the bedroom.
So there are still some software constructs that are simply beyond the
bounds of propriety,
Fredrik Lundh [EMAIL PROTECTED] writes:
from yourcode import Secret
class Secret(Secret):
def gethidden(self):
return self.__hidden
Heh, interesting, and it occurs to me that you could do that by
accident (A inherits from B, and then something imports B and makes an
inheriting
Fredrik Lundh [EMAIL PROTECTED] writes:
Looks like you must know every one of the base classes of the NotSoSecret,
whether there is some base class named Secret? And, if so, you must also
know these classes _implementation_
that information isn't hidden, so there's nothing you must know.
Gregor Horvath [EMAIL PROTECTED] writes:
Are the numerous working python open source projects not multi-person
software projects? Even multiple persons that even dont know each
other and can discuss the latest news at the coffee machine?
There are not that many such projects being done in
Gregor Horvath [EMAIL PROTECTED] writes:
Real open source live example from yesterdays mailinglists:
I don't see any use of name mangling in that example.
--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber [EMAIL PROTECTED] writes:
They did? Fine... Add another that Python names beginning with _ or
__ are not to be accessed from outside the module/class that defined
them. And if one is not the owner of that module/class, they should
contact the responsible person and
Steve Holden [EMAIL PROTECTED] writes:
Good grief, the ultimate choice is to use Python because you like it,
or not to use it because you don't. Enough with the picking every
available nit, please. Consent or stop complaining :-)
Riiight. If she was walking in that neighborhood she must have
Gregor Horvath [EMAIL PROTECTED] writes:
Real open source live example from yesterdays mailinglists:
I don't see any use of name mangling in that example.
Someone has a problem and tweaks a private variable as a workaround.
They should have patched the source instead.
No python program
zooko [EMAIL PROTECTED] writes:
I haven't benchmarked it against Evan Podromou's heap implementation
yet, but obviously inserting and removing things from a heapq heap is
O(N).
Good heavens, I should hope not. The whole point of heaps is that
those operations are O(log(N)).
--
Steven D'Aprano [EMAIL PROTECTED] writes:
Still, [EMAIL PROTECTED]'s point that you must know the base classes
is correct. It is *easy* to find them out (NotSoSecret.__bases__ should do
it), but if you don't you are taking a chance that your class name doesn't
clash with one of the bases.
Steven D'Aprano [EMAIL PROTECTED] writes:
2) Allow the client access to these private variables, through
a special construct. Maybe instead of from ... import ...
from ... spy
What you are suggesting is that you have private variables that are only
private by convention, since
Steven D'Aprano [EMAIL PROTECTED] writes:
It's not easy if the base classes change after you check your code in.
You shouldn't need to know about that if it happens. Modularity, remember?
Yes. And if you are relying on a public method in a class, and somebody
dynamically modifies that
Iyer, Prasad C [EMAIL PROTECTED] writes:
But I want to do something like this
class BaseClass:
def __init__(self):
# Some code over here
def __init__(self, a, b):
# Some code over here
def __init__(self, a, b, c):
# some code
Richie Hindle [EMAIL PROTECTED] writes:
Yes. From Guido's announcement at
http://mail.python.org/pipermail/python-dev/2005-September/056846.html:
The syntax will be
A if C else B
Wow, I thought this was a prank at first. Congratulations to Guido.
I think the introduction of list and
Steve Holden [EMAIL PROTECTED] writes:
That would make a good Onion (www.TheOnion.com) headline: Users
Discover Computer Security Conflicts with Desire for Convenience
+1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
Rocco Moretti [EMAIL PROTECTED] writes:
There is little in the way of technical problems that are solved by
language level enforcement of private variables. The issues in
question are mostly social ones, and if you're not reading and
following the documented interface, stopping private
Mike Meyer [EMAIL PROTECTED] writes:
So, fool._bar is now clobbered. Nuts, the _bar attribute is broken for
*every* instance of Fools. According to you, the error must be in
Fools. Care to point it out?
Yes, the error is in the breaker function, which leaks the private
variable to other
Reinhold Birkenfeld [EMAIL PROTECTED] writes:
For a conditional, syntax must be found, and the tradition of Python
design is not to use punctuation for something that can be solved with
keywords.
Yeah, if C then A else B is a ancient tradition stretching from
Algol-60 to OCAML, and who knows
Mike Meyer [EMAIL PROTECTED] writes:
Unless your compiler detects and flags passing private variables to
external functions all you've got is a convention that you don't pass
private variables to external functions.
Yes, the point is that it's something that you can check for by
examining the
Steven D'Aprano [EMAIL PROTECTED] writes:
A cautionary tale of what happens when religious wars enter programming
debates. For all I know, Paul Rubin is intelligent, gentle, kind to
animals and small children, generous, charitable and modest.
Don't bet on it.
But touch his religious belief
James Stroud [EMAIL PROTECTED] writes:
I'm very curious about what is going on here. I'm sure my curiosity has
something to do with ignorance of some fundamental concept of computer
science (maybe that 8 is just a vertical infinity?):
Python doesn't have a character type. A character is
501 - 600 of 4752 matches
Mail list logo