Re: Returning to 'try' block after catching an exception

2008-05-21 Thread Ben Finney
age is not the absence of fear, but the decision that | `\ something else is more important than fear.” —Ambrose | _o__) Redmoon | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: backport of 'set' to python 2.3?

2008-05-21 Thread Ben Finney
that 'set' refers to the set type from that point on (or you're not on a version of Python that has a 'set' type at all). -- \ "I have a large seashell collection, which I keep scattered on | `\the beaches all over the world. Maybe you've seen it.

Re: unittest: Calling tests in liner number order

2008-05-23 Thread Ben Finney
ly *non*-deterministic sequence. -- \ "In prayer, it is better to have a heart without words than | `\ words without heart." -- Mahatma Gandhi | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: why is com-prompt faster and how do i start at cprompt at mydir/ ?

2008-05-23 Thread Ben Finney
"One seldom discovers a true believer that is worth knowing." | `\ -- Henry L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: why is com-prompt faster and how do i start at cprompt at mydir/ ?

2008-05-23 Thread Ben Finney
[EMAIL PROTECTED] writes: > On 24 Maj, 05:48, Ben Finney <[EMAIL PROTECTED]> > wrote: > > Can you tell us exactly which programs you mean when you say "the > > shell" and "the commandprompt"? > > commandprompt = windows dos-windows > >

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
ession of the bug. -- \ “In case you haven't noticed, [the USA] are now almost as | `\ feared and hated all over the world as the Nazis were.” | _o__) —Kurt Vonnegut, 2004 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-05-24 Thread Ben Finney
"encapsulation" and "abstraction" principles for enforced access restrictions; they're not. > Will it ever be added to python? I hope not. -- \"Why was I with her? She reminds me of you. In fact, she | `\ reminds me more of you t

Re: Why does python not have a mechanism for data hiding?

2008-05-24 Thread Ben Finney
Ben Finney <[EMAIL PROTECTED]> writes: > If you want the users of your code to know that an attribute should > not be used as a public API for the code, use the convention of > naming the attribute with a single leading underscore. This is a > string signal that the attrib

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
s, and far more constant forward progress — all as a result of the fact that I had to design the code well enough to write tests for it, *before* actually implementing that code. > I'm going to read more on the subject (thanks to Ben for the link). > Maybe I have some misconceptions. If so, you're certainly not alone. Happy hacking! -- \ “You can be a victor without having victims.” —Harriet | `\ Woods | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
am to finishing the implementation. Others may have successfully achieved unit tests for conditions that only arise in multithreaded code, but that's outside my experience. -- \ "How many people here have telekenetic powers? Raise my hand." | `\-- Emo Philips | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
as* important as the other tests. > Don't let the fact that it can't do everything keep you from using > it when it makes sense. Yes. -- \"Don't worry about people stealing your ideas. If your ideas | `\are any good, you'll have to ram them down pe

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
_) termination of their C programs." -- Robert Firth | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
nt code, all the time to go through more rounds of QA, etc. With BDD, only the time to code the test is spent, so you save all that other time. -- \ "Laugh and the world laughs with you; snore and you sleep | `\ alone." -- Anonym

Re: Code correctness, and testing strategies

2008-05-24 Thread Ben Finney
and local to the change that was made. (good sigmonster, have a cookie) -- \"Program testing can be a very effective way to show the | `\presence of bugs, but is hopelessly inadequate for showing | _o__) their absence." -- Edsger Dijkstra

Re: class-oriented rather than object-oriented?

2008-05-24 Thread Ben Finney
nations and ages it is the rule." -- Friedrich Nietzsche | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

When was feature FOO added to Python? (was: decorators when?)

2008-05-27 Thread Ben Finney
David C. Ullrich <[EMAIL PROTECTED]> writes: > What version added decorators (using the @decorator syntax)? > > (Is there a general way I could have found out the answer myself?) For standard library features, the documentation for a module http://www.python.org/doc/lib/> usually says "(New in 2

Traling white space on program source lines (was: Simple Doc Test failing without any reason [Help Needed])

2008-05-28 Thread Ben Finney
never do evil so completely and cheerfully as when they | `\ do it from religious conviction.” —Blaise Pascal | _o__) (1623-1662), Pensées, #894. | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: make a string a list

2008-05-29 Thread Ben Finney
tuff(line) -- \"I'd take the awe of understanding over the awe of ignorance | `\ any day." -- Douglas Adams | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-06-03 Thread Ben Finney
| `\ once we got as used to it." -- Henry L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Import, site packages, my modules, Windows vs. Linux

2008-06-03 Thread Ben Finney
ng, they don't just go by size, because I bet there are some | _o__) Chihuahuas with some good ideas." -- Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-06-03 Thread Ben Finney
a man of value.” —Albert Einstein | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-06-03 Thread Ben Finney
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes: > On Wed, 04 Jun 2008 13:50:42 +1000, Ben Finney wrote: > > > It seems you [alex23] have a different idea of what unit testing > > is for from me. > > For me it's about finding bugs where docume

Re: Why does python not have a mechanism for data hiding?

2008-06-04 Thread Ben Finney
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes: > On Wed, 04 Jun 2008 15:55:38 +1000, Ben Finney wrote: > > > By definition, "private" functions are not part of the publicly > > documented behaviour of the unit. Any behaviour exhibited by some &

Re: Why does python not have a mechanism for data hiding?

2008-06-04 Thread Ben Finney
this function *is* part of the public API since external things are depending on it directly. Then it needs full direct unit test coverage. -- \ "I got contacts, but I only need them when I read, so I got | `\ flip-ups." -- Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-06-04 Thread Ben Finney
be removed. > It's my understanding that unit testing (a.k.a. PyUnit) is designed > for just such a purpose. Yes. -- \ "I was in the first submarine. Instead of a periscope, they had | `\a kaleidoscope. 'We're surrounded.'" -- Steven W

Re: Why does python not have a mechanism for data hiding?

2008-06-05 Thread Ben Finney
Roy Smith <[EMAIL PROTECTED]> writes: > In article <[EMAIL PROTECTED]>, > Ben Finney <[EMAIL PROTECTED]> wrote: > > > Then what you're really testing is the interactions of the "push > > the button" function with its external interfa

Re: Newb question: underscore

2008-06-05 Thread Ben Finney
;_' for convenience. That's only a guess though; you should believe the code you have in front of you, not my guesses. -- \ "Pinky, are you pondering what I'm pondering?" "Well, I think | `\so, Brain, but 'apply North Pole' to what?&q

Re: Newb question: underscore

2008-06-05 Thread Ben Finney
gettext' functionality, in contexts that predate the appearance of that functionality in Python. -- \Hercules Grytpype-Thynne: "Well, Neddie, I'm going to be | `\ frank." Ned Seagoon: "Right, I'll be Tom." Count Moriarty: | _o__)"

Re: Dynamically naming objects.

2008-06-06 Thread Ben Finney
red"]', etc. -- \ "Pinky, are you pondering what I'm pondering?" "Well, I think | `\ so, Brain, but do I really need two tongues?" -- _Pinky and | _o__) The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-06-08 Thread Ben Finney
- the next iteration of tests at all levels :-) -- \ "[W]e are still the first generation of users, and for all that | `\ we may have invented the net, we still don't really get it." | _o__) -- Douglas Adams | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-06-10 Thread Ben Finney
David <[EMAIL PROTECTED]> writes: > On Sun, Jun 8, 2008 at 12:28 PM, Ben Finney > <[EMAIL PROTECTED]> wrote: > > I did do it in a mostly top-down way, but didn't stop the BDD > process to actually run the app :-) > > It sounds like what you are sug

Re: Why does python not have a mechanism for data hiding?

2008-06-11 Thread Ben Finney
to prove" means "to determine the truth by a test or trial"). -- \ "I went over to the neighbor's and asked to borrow a cup of | `\salt. 'What are you making?' 'A salt lick.'" -- Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: importing part of a module without executing the rest

2008-06-13 Thread Ben Finney
efined, but the code inside it is not executed until you call the function at some later time. This also has the beneficial effect of defining a specific interface for using that code. Whether that's appropriate to your situation is impossible to say without knowing what you are trying to do. --

Re: Making wxPython a standard module?

2008-06-15 Thread Ben Finney
quot; -- Henry L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Making wxPython a standard module?

2008-06-15 Thread Ben Finney
[EMAIL PROTECTED] writes: > On Jun 15, 9:37 am, Ben Finney <[EMAIL PROTECTED]> > wrote: > > The Zen of Python, by Tim Peters > > … > > There should be one-- and preferably only one --obvious way to do it. > > I agree with that concept. But there already is mor

Re: The best way to package a Python module?

2008-06-15 Thread Ben Finney
k | `\ Twain, _Pudd'n'head Wilson_ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: The best way to package a Python module?

2008-06-15 Thread Ben Finney
omething somebody else gives you. | `\ That's something you give to yourself.” —_Hocus Pocus_, | _o__)Kurt Vonnegut | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 372 -- Adding an ordered directory to collections

2008-06-16 Thread Ben Finney
.py <http://dev.pocoo.org/hg/sandbox/raw-file/tip/ > odict.py>`_ This seems to be a victim of errant line-breaking, resulting in the wrong URL. -- \“The reason we come up with new versions is not to fix bugs. | `\ It's absolutely not.” —Bill Gates,

Re: sorted or .sort() ?

2008-06-16 Thread Ben Finney
Brain, but what if the chicken won't wear the nylons?" -- | _o__) _Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Annoying message when interrupting python scripts

2008-06-17 Thread Ben Finney
's what Geoff is saying "should" be done :-) -- \ "When I was born I was so surprised I couldn't talk for a year | `\ and a half." -- Gracie Allen | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Null pattern

2008-06-19 Thread Ben Finney
" "Sure, Brain, | `\ but how are we going to find chaps our size?" -- _Pinky and | _o__) The Brain_ | Ben Finney w -- http://mail.python.org/mailman/listinfo/python-list

Re: IDE on the level of Eclipse or DEVc++?

2008-06-25 Thread Ben Finney
ools into a consistent graphical Python IDE. -- \ "Laugh and the world laughs with you; snore and you sleep | `\alone." —anonymous | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: python -regular expression - list element

2008-06-25 Thread Ben Finney
Groucho Marx | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Disabling the magic "last expression" _ variable

2008-07-01 Thread Ben Finney
: __builtin__._last = result print result -- \“If you continue running Windows, your system may become | `\ unstable.” —Microsoft, Windows 95 error message | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: convert unicode characters to visibly similar ascii characters

2008-07-01 Thread Ben Finney
no excuse for boredom, | _o__) ever.” —Viggo Mortensen | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: beginner's questions - manipulating text files

2008-07-02 Thread Ben Finney
n("bar.txt", 'w') output_file.write(chosen_line) -- \ “Smoking cures weight problems. Eventually.” —Steven Wright | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Validation with domain

2008-07-02 Thread Ben Finney
t anything lose its flavor on the bedpost | _o__) overnight?” —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Times where one would use new style classes vs classic classes

2008-07-02 Thread Ben Finney
bad judgement.” —Frederick P. Brooks | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Copyright issues for an application developed using django, python and mySQL

2008-07-03 Thread Ben Finney
the company, your managers should get expert legal opinion. > Please advice. Hope that helps. -- \ “I was gratified to be able to answer promptly and I did. I | `\ said I didn't know.” —Mark Twain, _Life on the Mississippi_ | _o__)

Re: Singleton implementation problems

2008-07-04 Thread Ben Finney
work by | `\authority.” —Richard Dawkins, _Big Mistake_ (The Guardian, | _o__) 2006-12-27) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Naming conventions for regular variables

2008-07-04 Thread Ben Finney
neral store. They wouldn't let me buy anything | `\ specifically.” —Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: interpretation of special characters in Python

2008-07-07 Thread Ben Finney
the environment variables. Since those are not the input to the Python compiler, they can't be translated this way. -- \“You know I could rent you out as a decoy for duck hunters?” | `\ —Groucho Marx | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: "in"consistency?

2008-07-07 Thread Ben Finney
l behaviour of string types was changed in Python 2.3, according to that document. -- \ “I put contact lenses in my dog's eyes. They had little | `\ pictures of cats on them. Then I took one out and he ran around | _o__) in circles.” —Steven Wright | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Emacs/Python Essentials?

2008-07-07 Thread Ben Finney
little order | `\ will lose both, and deserve neither.” —Thomas Jefferson, in a | _o__) letter to Madison | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Agile Software Development Tools Screencasts

2008-07-07 Thread Ben Finney
to cry, but it takes a bigger man to laugh | `\at that man.” —Jack Handey | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Agile Software Development Tools Screencasts

2008-07-07 Thread Ben Finney
Robert Kern <[EMAIL PROTECTED]> writes: > Ben Finney wrote: > > percious <[EMAIL PROTECTED]> writes: > > > >> I started a new series about python on showmedo. Please feel free > >> to take a look. > > > > I'd love to, but showmedo

Re: Python Agile Software Development Tools Screencasts

2008-07-07 Thread Ben Finney
Robert Kern <[EMAIL PROTECTED]> writes: > Ben Finney wrote: > > Okay. Where would the public link to those files be? > > > > If I need to "log in" just to download it, that's a needless barrier > > that's going to turn me away too. > > Y

Re: Python Agile Software Development Tools Screencasts

2008-07-07 Thread Ben Finney
't engineered for security.” —Brian | `\ Valentine, senior vice-president of Microsoft Windows | _o__) development | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Returning the positions of a list that are non-zero

2008-07-08 Thread Ben Finney
at index 2 Value 2 was originally at index 3 Value 1 was originally at index 4 -- \ “Experience is that marvelous thing that enables you to | `\ recognize a mistake when you make it again.” —Franklin P. Jones | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: mock with inheritance

2008-07-09 Thread Ben Finney
-- \ “It is the mark of an educated mind to be able to entertain a | `\ thought without accepting it.” —Aristotle | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Loading just in time

2008-07-10 Thread Ben Finney
do that, then? Your functions should be organised into conceptually sensible module groupings. -- \“My doctor told me to stop having intimate dinners for four. | `\ Unless there are three other people.” —Orson Welles | _o__)

Re: Python and decimal character entities over 128.

2008-07-10 Thread Ben Finney
that output. -- \“If you go to a costume party at your boss's house, wouldn't | `\ you think a good costume would be to dress up like the boss's | _o__) wife? Trust me, it's not.” —Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Python 3.0 and removal of the 'string' module

2008-07-10 Thread Ben Finney
don't know what they want and are | `\ willing to go through hell to get it.” —Donald Robert Perry | _o__) Marquis | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: paypal wholesale men jordans 17 (paypal accept)(www super-saler com

2008-07-10 Thread Ben Finney
he other day. They said my | `\ personality was weird. … That's okay, I have four more.” | _o__) —Bug-Eyed Earl, _Red Meat_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 and removal of the 'string' module

2008-07-10 Thread Ben Finney
Terry Reedy <[EMAIL PROTECTED]> writes: > Ben Finney wrote: > > Can anyone see a reason to believe the above wiki page's statement > > about the 'string' module being removed? More to the point, can > > anyone see a reason why that statement should rem

Re: Python 3.0 and removal of the 'string' module

2008-07-11 Thread Ben Finney
and nobody got scared.” —Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to learn

2008-07-11 Thread Ben Finney
ish too long after the end.” —Igor | `\ Stravinskey | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: How to serialize and deserialize the objects into memory?

2008-07-11 Thread Ben Finney
| `\ despise the groups they identify with and belong to.” —George | _o__) Carlin, 2007 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 and removal of the 'string' module

2008-07-11 Thread Ben Finney
John Roth <[EMAIL PROTECTED]> writes: > On Jul 11, 6:26 am, Benjamin <[EMAIL PROTECTED]> wrote: > > On Jul 11, 3:06 am, Ben Finney <[EMAIL PROTECTED]> > > wrote: > > > Is there a better information source, then, for the current > > > state of

Re: Python 3.0 and removal of the 'string' module

2008-07-11 Thread Ben Finney
27;t make it worse.” —Hazel | `\ Woodcock | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Loading just in time

2008-07-11 Thread Ben Finney
ccording to PEP 8. -- \ “People always ask me, ‘Where were you when Kennedy was shot?’ | `\Well, I don't have an alibi.” —Emo Philips | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Correct use of try,except and raise?

2008-07-12 Thread Ben Finney
return self.stack.pop() except IndexError, exc: exc.args = ["pop from empty stack"] raise -- \ “Experience is that marvelous thing that enables you to | `\ recognize a mistake when you make it again.” —Franklin P. Jones | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Correct use of try,except and raise?

2008-07-13 Thread Ben Finney
despise, we don't believe in it at all.” —Noam Chomsky, | _o__) 1992-11-25 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Correct use of try,except and raise?

2008-07-13 Thread Ben Finney
Roy Smith <[EMAIL PROTECTED]> writes: > Ben Finney <[EMAIL PROTECTED]> wrote: > > > If you are passing a sequence conceptually, then it's more Pythonic to > > pass it as a sequence explicitly:: > > > > def __init__(self, items): &g

Re: Testing for Internet Connection

2008-07-15 Thread Ben Finney
for me?” —Groucho Marx | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Modify a string's value

2008-07-15 Thread Ben Finney
pe, and have it allow mutable values. You'd have to take care of creating those values explicitly, though. -- \ “Pinky, are you pondering what I'm pondering?” “I think so, | `\ Brain, but shouldn't the bat boy be wearing a cape?” —_Pinky | _o__)

Re: Python internals

2008-07-15 Thread Ben Finney
“Are you pondering what I'm pondering?” “I think so, Brain, but | `\I don't think Kay Ballard's in the union.” —_Pinky and The | _o__) Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Moving to functional programming

2008-07-15 Thread Ben Finney
\“None can love freedom heartily, but good men; the rest love | `\ not freedom, but license.” —John Milton | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Modify a string's value

2008-07-15 Thread Ben Finney
Python passes arguments by reference http://effbot.org/zone/python-objects.htm>. -- \ “For of those to whom much is given, much is required.” —John | `\F. Kennedy | _o__)

Re: Python internals

2008-07-16 Thread Ben Finney
say, but I will defend to the | `\death your right to mis-attribute this quote to Voltaire.” | _o__) —Avram Grumer, rec.arts.sf.written, May 2000 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: How can i use a variable without define it ?

2008-07-16 Thread Ben Finney
apply in Python. Can you give a small, complete example that demonstrates the issue you're trying to solve? -- \ “The face of a child can say it all, especially the mouth part | `\of the face.” —Jack Handey | _o__)

Re: How can i use a variable without define it ?

2008-07-16 Thread Ben Finney
t; foo = {'name': "david", 'sex': "male"} >>> def bar(context): ... print context['name'], context['sex'] ... >>> bar(foo) david male What problem are you trying to solve? -- \ “The best mind-altering drug is truth.” —Jane Wagner, via Lily | `\Tomlin | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: How can i use a variable without define it ?

2008-07-16 Thread Ben Finney
zhw <[EMAIL PROTECTED]> writes: > On 7月16日, 下午5时35分, Ben Finney <[EMAIL PROTECTED]> > wrote: > > What problem are you trying to solve? > > I an sorry, I can't tell you. Perhaps I'm not being clear: What *programming* problem are you trying to solve? I

Re: python doc in command line

2008-07-16 Thread Ben Finney
—Albert Einstein | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Trickiness with unittesting

2008-07-18 Thread Ben Finney
that means it's gonna be up all night.” —Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: __del__ methods

2008-07-19 Thread Ben Finney
x27; is the recommended choice. In Python 3.0, classic classes are no longer supported and this issue goes away. -- \ Q: “I've heard that Linux causes cancer...” Torvalds: “That's a | `\ filthy lie. Besides, it was only in rats and has not been | _o__)

Re: __del__ methods

2008-07-20 Thread Ben Finney
—Groucho Marx | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Attack a sacred Python Cow

2008-07-24 Thread Ben Finney
and loosely-couple the hell out of everything.” —Aahz | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Attack a sacred Python Cow

2008-07-24 Thread Ben Finney
ot a lunatic. We, and Python itself, change quite readily. Neither of those mean your ideas in this instance have merit. -- \ “Pinky, are you pondering what I'm pondering?” “Well, I think | `\ so, Brain, but do I really need two tongues?” —_Pinky and The | _o__)

Re: Attack a sacred Python Cow

2008-07-24 Thread Ben Finney
hi | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

binding names doesn't affect the bound objects (was: print doesn't respect file inheritance?)

2008-07-25 Thread Ben Finney
rint' should use http://www.python.org/doc/ref/print.html>. -- \ “When I wake up in the morning, I just can't get started until | `\ I've had that first, piping hot pot of coffee. Oh, I've tried | _o__)other enemas...” —Emo Philips | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: binding names doesn't affect the bound objects

2008-07-26 Thread Ben Finney
perator). > > Apparently I can. I admit to not trying any of the above. I was explaining the behaviour reported by the original poster, without experimenting to see if I could reproduce the behaviour. Thanks for being more diligent. -- \“All persons, living and dead, are purel

Re: Attack a sacred Python Cow

2008-07-28 Thread Ben Finney
| `\ rm * halt LART LART LART!” —The Swedish BOFH, | _o__) alt.sysadmin.recovery | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Attack a sacred Python Cow

2008-07-28 Thread Ben Finney
Ben Finney <[EMAIL PROTECTED]> writes: > It has, at least, long ago bought him a place in my kill-file. > Seeing your side of the conversation, I can only confirm that > decision as correct. This should perhaps say "seeing the parts of his communication that leak throug

Re: Boolean tests

2008-07-29 Thread Ben Finney
elp people see the difference. -- \ “People are very open-minded about new things, as long as | `\ they're exactly like the old ones.” —Charles F. Kettering | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: DB access without object-relation mapping?

2008-07-29 Thread Ben Finney
el-headed maintenance, and comprehensive documentation, and I don't even need to consider using the ORM layer :-) -- \ “Know what I hate most? Rhetorical questions.” —Henry N. Camp | `\ | _o__)

Re: static variables in Python?

2008-07-29 Thread Ben Finney
a man is telling the truth when you | `\ know that you would lie if you were in his place.” —Henry L. | _o__) Mencken | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it allowed to use function results as default arguments ?

2008-07-29 Thread Ben Finney
m down? We might, if they screamed all the time, for no good | _o__) reason.” —Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Standard module for parsing emails?

2008-07-30 Thread Ben Finney
Marx | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Class definition attribute order

2008-08-01 Thread Ben Finney
__) telling them to sit down and shut up.” —Phyllis Diller | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

<    28   29   30   31   32   33   34   35   36   37   >