Re: is implemented with id ?

2012-11-03 Thread Aahz
g the life time of an object. > >It's usually phrased as "a and b are the same object". If the object >is mutable, then changing a will also change b. If a and b aren't >mutable, then it doesn't really matter whether they share a physical >address. That last sen

Re: is implemented with id ?

2012-11-03 Thread Aahz
hey'll still be compared char-for-char >until there's a difference. Without looking at the code, I'm pretty sure there's a hash check first. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Normal is what cuts off your sixth finger and your tail..." --Siobhan -- http://mail.python.org/mailman/listinfo/python-list

Re: is implemented with id ?

2012-11-03 Thread Aahz
bage collected. That's old news, fixed in 2.5 or 2.6 IIRC -- interned strings now get collected by refcounting like everything else. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Normal is what cuts off your sixth finger and your tail.

Re: is implemented with id ?

2012-11-03 Thread Aahz
In article <50959154$0$6880$e4fe5...@news2.news.xs4all.nl>, Hans Mulder wrote: >On 3/11/12 20:41:28, Aahz wrote: >> In article <50475822$0$6867$e4fe5...@news2.news.xs4all.nl>, >> Hans Mulder wrote: >>> On 5/09/12 15:19:47, Franck Ditter wrote: >>>

Re: Haskell -> Python

2012-11-03 Thread Aahz
ks clumsy next to the Haskell. If you want more Pythonic, follow PEP8 in your formatting. ;-) -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Normal is what cuts off your sixth finger and your tail..." --Siobhan -- http://mail.python.org/mailman/listinfo/python-list

Re: Proper place for everything

2012-11-03 Thread Aahz
, and will probably sneer or laugh at you > privately. And possibly publicly too. > >- If you hope to convince the Python community to change , > we are constrained by backwards-compatibility issues, policies, and > design decisions. Frequently there are (mis-)features that

Re: __unicode__() works, unicode() blows up. (Never mind!)

2012-11-04 Thread Aahz
self.username > >to be: > >def __unicode__(self): >return unicode(self.username) > >This never got noticed before because normally, self.username already is >a unicode string, so it just works. You apparently need more coffee when programming after waking up! (

Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py

2012-11-09 Thread Aahz
sometimes do. (Or so I am lead to believe.) > >This sonds like a good use case for a context manager, like the one in >decimal.Context.get_manager(). Note that because get_manager() applies to a specific Context instance it is safe in a threaded application, which is NOT tr

Re: Numpy combine channels

2012-11-09 Thread Aahz
gt; >>> (a[:, 0] + a[:, 1]) / 2 >array([1, 1, 2]) I'd actually think it should be the max. Consider a stereo where one side is playing a booming bass while the other side is playing a rest note -- should the mono combination be half as loud as as the bass? -- Aahz (a...@pythoncraf

Re: Is there a simpler way to modify all arguments in a function before using the arguments?

2012-11-10 Thread Aahz
gt; print(x) >> print(y) > >I was tempted to post that myself, but he said /simpler/ ;) >From my POV, that *is* simpler. When you change the parameters for foo, you don't need to change the arg pre-processing. Also allows code reuse, probably any program needing this

Re: Single leading dash in member variable names?

2012-11-10 Thread Aahz
port *`` ignores any module global names in foo that start with a single leading underscore. Obviously, this has little effect for most Python programs because you DON'T USE ``import *``. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Normal is what cuts off your sixth finger and your tail..." --Siobhan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python garbage collector/memory manager behaving strangely

2012-11-14 Thread Aahz
amespace >to the function readlines so there should be no confusion. At least not >for a moderately experienced programmer, beginners can be confused by the >littlest things sometimes. Actually, as an experienced programmer, I *do* think it is confusing as evidenced by the mistake

DNS from Python (was Re: Subprocess puzzle and two questions)

2012-11-14 Thread Aahz
s lying around: domain = MAILTO.split('@',1)[1] server = str(dns.resolver.query(domain, 'MX')[0].exchange) You'll need to play around a bit to find out what that does, but it should point you in the right direction. -- Aahz (a...@pythoncraft.com) <*&g

Re: debugging in eclipse

2012-11-15 Thread Aahz
In article , Roy Smith wrote: >In article , > Dave Angel wrote: >> >> I'd also add a print statement, just to assure yourself that it's running. > >My trick to make sure something is running is to add "assert 0". ``1/0`` is

Re: Detect file is locked - windows

2012-11-15 Thread Aahz
't access the file, you can't access it. (Not to >dismiss your question; I just wonder how you're going to handle the >different cases) Real-life use case for user-requested operation: if no permission, skip the file "permanently" (until it changes, at least); if locke

Re: Plumber, an alternative to mixin-based subclassing

2011-02-28 Thread Aahz
[posted & e-mailed] In article , Florian Friesdorf wrote: > >An alternative to mixin-based subclassing: > >http://pypi.python.org/pypi/plumber You'll probably get more interest if you provide a summary. -- Aahz (a...@pythoncraft.com) <*>

Re: Idea for removing the GIL...

2011-02-28 Thread Aahz
r, and that was considered too >drastic a change. ...especially given CPython's goal of easy integration with C libraries. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning abou

PostgreSQL vs MySQL (was Re: How to handle sockets - easily?)

2011-03-16 Thread Aahz
ery way, especially the C client library and the wire protocol.) Can you point at a reference for the latter? I have been trying to convince my company that PG is better than MySQL. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies t

Re: reimport module every n seconds

2011-03-17 Thread Aahz
gt;>> doubt that it's enough faster to warrnat this kludge). >> >> I'm with Aahz. =A0Don't do that. >> >> I don't know what you're doing, but I suspect an even better solution >> would be to have your program run a "reconfigu

Re: PostgreSQL vs MySQL

2011-03-17 Thread Aahz
In article <87bp1a3g59@benfinney.id.au>, Ben Finney wrote: >a...@pythoncraft.com (Aahz) writes: > >>>(I always recommend people to use PostgreSQL, though; which is >>>superior in almost every way, especially the C client library and the >>>wire protoc

Re: Guido rethinking removal of cmp from sort method

2011-04-08 Thread Aahz
ll out the cmp= >argument in cases where they use the cmp() builtin in 2.x? Actually, my take is that removing __cmp__ was a mistake. (I already argued about it back in python-dev before it happened, and I see little point rehashing it. My reason is strictly efficiency grounds: when compariso

Re: Guido rethinking removal of cmp from sort method

2011-04-08 Thread Aahz
In article <4d9f32a2$1...@dnews.tpgi.com.au>, Lie Ryan wrote: >On 04/09/11 01:08, Aahz wrote: >> >> Actually, my take is that removing __cmp__ was a mistake. (I already >> argued about it back in python-dev before it happened, and I see little >> point reh

Re: python on iPad (PyPad)

2011-04-09 Thread Aahz
ronment. It's available in iTunes >at http://itunes.apple.com/us/app/pypad/id428928902?mt=8# There's nothing wrong with advertising this, I suggest that you also announce it on c.l.py.announce -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ &

Re: Dump interpreter history?

2011-04-11 Thread Aahz
hat you want, and now you just need to gussy it up in an editor. I've never used it myself, but IIRC ipython does what you want very nicely. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit

Re: threading.Semaphore (quite long)

2011-04-12 Thread Aahz
MainThread? Or should this be done in a >separate thread being informed about a keyboard exception by the main >thread? Outside of signals, there should not be a problem with that. I don't have time to look further, I just noticed that nobody responded. -- Aahz (a...@pythoncraft.com

Re: Dump interpreter history?

2011-04-12 Thread Aahz
In article , Terry Reedy wrote: >On 4/11/2011 11:54 AM, Aahz wrote: >> In article, >> Ken D'Ambrosio wrote: >>> >>> Hey, all. A co-worker asked me a question, and I've got no idea how (or >>> if) it can be done. Bottom line: he'd like

Re: Forcing absolute package imports in 2.7?

2011-04-13 Thread Aahz
rams? from __future__ import absolute_import -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Mic

Re: Questions about GIL and web services from a n00b

2011-04-16 Thread Aahz
le.loads() releases the GIL, but it doesn't; you need to use pickle.load() (and cStringIO if you want to do it in memory). -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doub

Re: Feature suggestion -- return if true

2011-04-18 Thread Aahz
uestion, I find this more readable: if x not in cache: Without testing, I'm not sure, but I believe it's more efficient, too (creates fewer bytecodes). -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found

Re: 1 Million users.. I can't Scale!!

2005-09-29 Thread Aahz
e to work on those sorts of machine >when possible. Of course, they're not right for every application, >especially since they're so expensive. Do these use shared memory? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build l

Re: New Python book

2005-10-06 Thread Aahz
In article <[EMAIL PROTECTED]>, Scott David Daniels <[EMAIL PROTECTED]> wrote: > >You could ask over on comp.lang.python.education comp.lang.python.education is a rogue newsgroup; it won't appear on many newsservers. -- Aahz ([EMAIL PROTECTED]) <*>

BayPIGgies: October 13, 7:30pm (IronPort)

2005-10-07 Thread Aahz
e for November 10 but haven't settled anything yet. Please send e-mail to [EMAIL PROTECTED] if you want to suggest an agenda (or volunteer to give a presentation). The meeting agenda for December 8 has been set. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/

Re: Matching zero only once using RE

2005-10-07 Thread Aahz
expressions." Now they have two problems.' --Jamie Zawinski -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list

Re: Python's garbage collection was Re: Python reliability

2005-10-10 Thread Aahz
d-discipline interface. Bingo! There's a reason why one Python motto is "Plays well with others". -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list

REMINDER: BayPIGgies: October 13, 7:30pm (IronPort)

2005-10-11 Thread Aahz
e for November 10 but haven't settled anything yet. Please send e-mail to [EMAIL PROTECTED] if you want to suggest an agenda (or volunteer to give a presentation). The meeting agenda for December 8 has been set. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com

Re: MS Word Outline -> reStructuredText script?

2005-10-15 Thread Aahz
ply isn't designed to be machine-generated; there has been some discussion on the docutils mailing lists about this, and I suggest you look in the archives. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a profe

Re: Question on class member in python

2005-10-18 Thread Aahz
rides, you need to program some "hooks" >(an extra level of indirection, if you will). Or wait for foo = property('getFoo', 'setFoo') (Currently proposed by Guido on python-dev) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythonc

Re: Python variables are bound to types when used?

2005-10-19 Thread Aahz
's hard to break the habit of thirty years of programming! But I try very hard to stick with "name" when I'm doing formal instruction. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list

Storing empties (was Re: Automatic binding of **kwargs to variables)

2005-10-31 Thread Aahz
>slightly confusing for the reader (since the other things might have >other meanings and purposes) while 'object()' shouldn't be. What's your preferred idiom when you're dealing with storable objects? -- Aahz ([EMAIL PROTECTED]) <*> http://w

Re: Storing empties

2005-11-01 Thread Aahz
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: >Aahz <[EMAIL PROTECTED]> wrote: >> In article <[EMAIL PROTECTED]>, >> Alex Martelli <[EMAIL PROTECTED]> wrote: >>> >>>the canonical idiom when you need s

BayPIGgies: November 10, 7:30pm (Google)

2005-11-07 Thread Aahz
agenda for December 8 has been set. Please send e-mail to [EMAIL PROTECTED] if you want to suggest an agenda (or volunteer to give a presentation). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to

Re: Storing empties

2005-11-08 Thread Aahz
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: >Aahz <[EMAIL PROTECTED]> wrote: >>Alex: >>>Aahz: >>>>Alex: >>>>> >>>>>the canonical idiom when you need such distinction is: >>>>&

Re: JMS yet again

2005-11-16 Thread Aahz
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > [...] Am I the only person who immediately thought of Babylon 5 and wondered if I was in the wrong newsgroup? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.

Re: Why are there no ordered dictionaries?

2005-11-21 Thread Aahz
h attribute access. The section part actually has multiple dicts (the sections) which are layered, so that a dict key in the top layer overrides the value of the key in lower layers. We traditionally have used it such that the sections are accessed in MRU orders; last week, we added a new feat

Re: Python as Guido Intended

2005-11-23 Thread Aahz
, but your second-to-last sentence is not. The reason Python people say to use something else is precisely because we don't believe that one-size-fits-all. Some people use other languages in addition to Python, and some people don't use Python at all. -- Aahz ([EMAIL PROTECTED])

Re: books: Dive into Python vs Beginning Python

2005-11-25 Thread Aahz
to take a look at Python. Another option: just use the on-line tutorial at python.org -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list

Re: General question about Python design goals

2005-11-27 Thread Aahz
t;for strings. But it has no such parameters for lists. Why? That's a fair cop. Submit a patch and it'll probably get accepted. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the

Re: General question about Python design goals

2005-11-27 Thread Aahz
In article <[EMAIL PROTECTED]>, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> Christoph deleted his own attribution: >>> >>>For instance, I just wanted to use the index() method on a tuple which >>>does not work. ... >> >

Re: General question about Python design goals

2005-11-28 Thread Aahz
tches would >probably be welcome to rectify this state of affairs. You're wrong. I don't have time/energy to look up the relevant posts, but Guido has been extremely clear in the past that tuples are *NOT* going to grow methods. -- Aahz ([EMAIL PROTECTED]) <*> http

Re: General question about Python design goals

2005-11-28 Thread Aahz
Python 3.0 (e.g. apply(), which is superseded by *args/**kwargs being allows on the calling side). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur.&

Re: Death to tuples!

2005-11-28 Thread Aahz
cle known as Guido. I suggest you write a PEP so that whatever decision gets made, there's a document. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list

Re: Death to tuples!

2005-11-28 Thread Aahz
d assignment breaks, but not completely: >>> t = ([1,2], [3,4]) >>> t[0] += [5] Traceback (most recent call last): File "", line 1, in ? TypeError: object doesn't support item assignment >>> t ([1, 2, 5], [3, 4]) (I'm pretty sure Skip has seen th

Re: General question about Python design goals

2005-11-28 Thread Aahz
In article <[EMAIL PROTECTED]>, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: >Aahz wrote: >>Christoph wrote: >>>Aahz wrote: >>>>Christoph wrote: >>>>> >>>>>For instance, I just wanted to use the index() method on a tuple wh

Re: Which License Should I Use?

2005-11-29 Thread Aahz
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: > >Don't listen to schmucks on USENET when making legal decisions. Hire >yourself a competent schmuck. Mind if I .sig this? How would you like to be attributed? -- Aahz ([EMAIL PROTECTED])

Re: Which License Should I Use?

2005-11-29 Thread Aahz
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Robert Kern <[EMAIL PROTECTED]> wrote: >>> >>>Don't listen to schmucks on USENET when making legal decision

Re: python speed

2005-11-29 Thread Aahz
er? Take a look at PyGame. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck (aka Robert Kern) -- http://mail.python.org/mailman/listinfo/python-list

Re: General question about Python design goals

2005-12-01 Thread Aahz
[Since part of my post seems to have gotten lost in this thread, I figured I would repeat it] In article <[EMAIL PROTECTED]>, Aahz <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, >Christoph Zwerschke <[EMAIL PROTECTED]> wrote: >> >>Or, ano

Re: General question about Python design goals

2005-12-02 Thread Aahz
7;re saying that for should implicitly invoke list (or maybe >iter) on any object that it's passed that's not a list or iterator? for does in fact implicitly invoke iter() on its loop expression. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ &q

Re: regexp non-greedy matching bug?

2005-12-04 Thread Aahz
e you're technically correct, I've been bitten too many times by forgetting whether to use match() or search(). I've fixed that problem by choosing to always use search() and combine with ^ as appropriate. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraf

Re: Favorite flavor of Linux? (for python or anything else)

2005-12-04 Thread Aahz
;t packaged, and I want a packaged OS. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck (aka Robert Kern) -- http://mail.python.org/mailman/listinfo/python-list

Re: Favorite flavor of Linux? (for python or anything else)

2005-12-04 Thread Aahz
In article <[EMAIL PROTECTED]>, Christoph Haas <[EMAIL PROTECTED]> wrote: >On Sunday 04 December 2005 19:56, Aahz wrote: >> >> Of course, one can use Debian-testing, but that isn't packaged, and >> I want a packaged OS. > >You probably mean that Tes

BayPIGgies: December 8, 7:30pm (IronPort)

2005-12-05 Thread Aahz
-mail to [EMAIL PROTECTED] if you want to suggest an agenda (or volunteer to give a presentation). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck.&qu

Re: Bitching about the documentation...

2005-12-05 Thread Aahz
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > >Tim Peters? Read it no matter what the subject says. A-men! -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making

Re: Bitching about the documentation...

2005-12-05 Thread Aahz
ocess? Or do I (and others) simply need to keep repeating this point endlessly? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck

Usenet falsehoods (was Re: Bitching about the documentation...)

2005-12-05 Thread Aahz
aren't what you'd call a "real name". (People named "piglet", "tigger", and "pooh", just for example, who were active long before I showed up. Not to mention "piranha".) ObSheesh: Sheesh -- Aahz ([EMAIL PROTECTED]) <*>

Re: hash()

2005-12-05 Thread Aahz
In article <[EMAIL PROTECTED]>, Tim Peters <[EMAIL PROTECTED]> wrote: > >First, if `st` is a string, `st[::-1]` is a list. Do you really mean >to compare string hashes with list hashes here? I'm going to assume >not. QOTW: Timbot makes an error ;

Re: Usenet falsehoods (was Re: Bitching about the documentation...)

2005-12-06 Thread Aahz
In article <[EMAIL PROTECTED]>, Grant Edwards <[EMAIL PROTECTED]> wrote: >On 2005-12-06, Aahz <[EMAIL PROTECTED]> wrote: >> In article <[EMAIL PROTECTED]>, >> Grant Edwards <[EMAIL PROTECTED]> wrote: >>> >>>Hmm, I though he explaine

Re: Documentation suggestions

2005-12-06 Thread Aahz
ot of the problem: where does ``print`` get documented? If we can come up with a good process for answering that question, we can probably fix a lot of other problems. (Note emphasis on the word "process".) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ &quo

Re: Documentation suggestions

2005-12-07 Thread Aahz
s I >don't care about to click on "sys" or "datetime" motivated me to write >my little hack. That's why I use Lynx! ;-) ("/]re" takes me right to regex docs) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "

Re: Bitching about the documentation...

2005-12-07 Thread Aahz
had had had had had had had a better >effect on the reader "I'd like to thank my parents, Ayn Rand and God." -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire your

Re: Documentation suggestions

2005-12-07 Thread Aahz
e the semantics the same >and only some trivial details are different?) Raymond Hettinger (and/or maybe one of the metaclass wizards) can probably also write it, with Guido editing after. That might produce even more accuracy in the end. -- Aahz ([EMAIL PROTECTED]) <*> ht

Re: Documentation suggestions

2005-12-08 Thread Aahz
system that the Python code is >actually running on safe? Ruby may have a real bastion mode, but >Python doesn't. Just run the Python code chrooted. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making

Re: what is lambda used for in real code?

2004-12-31 Thread Aahz
set of people who would argue that I18N is *always* a concern -- it's just that a lot of people either don't know it yet or ignore it. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you thi

Re: The Industry choice

2005-01-01 Thread Aahz
love checked exceptions but has come to regard them as the horror that they are. I've learned to just write "throws Exception" at the declaration of every method. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't a

Re: The Industry choice

2005-01-02 Thread Aahz
filling them in, testing operation as I go. This isn't even unit-testing -- I haven't drunk that Kool-Aid yet. This is easy because running a Python program is faster than invoking the Java compiler -- and you still haven't tested the actual operation of your Java program. -- A

Re: The Industry choice

2005-01-02 Thread Aahz
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Paul Rubin <http://[EMAIL PROTECTED]> wrote: >>> >>>I was pretty skeptical of Java's checked exceptions wh

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Aahz
*READABLE* as Python. >> ;-) > >Shouldn't that be ;-)) ? http://www.netfunny.com/rhf/jokes/90q2/lispcode.html -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis -- http://mail.python.org/mailman/listinfo/python-list

Re: Developing Commercial Applications in Python

2005-01-03 Thread Aahz
nce >clearly says Python can be used for commercial applications. Is there >any other implications like that of GPL to make the source open ? Are you looking to embed Python as a scripting language or to write the software in Python? -- Aahz ([EMAIL PROTECTED]) <*>

Re: The Industry choice

2005-01-03 Thread Aahz
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Steve Holden <[EMAIL PROTECTED]> wrote: >>>Aahz wrote: >>>> >>>>That's funny -- Bruce Eckel

Re: Python evolution: Unease

2005-01-04 Thread Aahz
ython, and one for improving docs. Giving the PSF more money increases the chances for additional work. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." -

Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))

2005-01-04 Thread Aahz
de-centric view of the universe. Therefore you encode *FROM* Unicode and you decode *TO* Unicode. Period. It's similar to the way floating point contaminates ints. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affe

Re: Python evolution: Unease

2005-01-04 Thread Aahz
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Aahz: >> >> The first three PSF grants were all in some way not directly related to >> changing the core language. One was for a library, one for improving >> Jython, and one for improving docs. Giv

Write some docs already! (was Re: Python evolution: Unease)

2005-01-05 Thread Aahz
a bunch of final format >stuff and drop it on someone else to put into the latex format so it >can be included. Not clear what you mean here. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis -- http://mail.python.org/mailman/listinfo/python-list

Re: Python evolution: Unease

2005-01-05 Thread Aahz
In article <[EMAIL PROTECTED]>, Daniel Bowett <[EMAIL PROTECTED]> wrote: > >Thanks, typically how long does it take for any documentation to be >considered and implemented? It varies. (I could write a much longer response, but it would boil down to the same thing.

Re: The Industry choice

2005-01-06 Thread Aahz
e GPL is if you copy GPL source. That's not true -- consider linking to a GPL library. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis -- http://mail.python.org/mailman/listinfo/python-list

Re: The Industry choice

2005-01-06 Thread Aahz
ers are attempting to achieve: vendor lock-in. > >I think I stated that clearly. And my counter-argument is that I believe your perception is wrong. If I agreed with your focus on lock-in, I'd say that what the GPL is trying to lock in is a specific legal philosophy by subverting

Software archeology (was Re: Developing Commercial Applications in Python)

2005-01-07 Thread Aahz
owned by Infoseek before getting transferred to Verity through a series of dot-bomb transactions. The Ultraseek engine doesn't use Python, but Python is used to control the engine, and I think much of the spider is written in Python. -- Aahz ([EMAIL PROTECTED]) <*> ht

Re: Software archeology (was Re: Developing Commercial Applications in Python)

2005-01-08 Thread Aahz
In article <[EMAIL PROTECTED]>, Stephen Waterbury <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Stephen Waterbury <[EMAIL PROTECTED]> wrote: >>> >>>Also see Python Success Stories: http://pythonology.org/s

Re: "A Fundamental Turn Toward Concurrency in Software"

2005-01-08 Thread Aahz
end said something like, "In the year 2000, there will be a programming language. I don't know what it will look like, and I don't know what it will do. But I do know one thing: it will be called FORTRAN." After all, FORTRAN 2003 contains OOP support -- Aahz ([EMAIL

Re: Old Paranoia Game in Python

2005-01-09 Thread Aahz
Secret Illuminati Eye-In-The-Pyramid(tm) Decoder ring, >> Utility Belt & Pouches >> === >> > > > >The Illuminati really have infiltrated our society. Stay alert! Trust no one! Keep your laser handy! -- Aahz ([EMAIL PROTECTED]) <*>

Re: Old Paranoia Game in Python

2005-01-09 Thread Aahz
In article <[EMAIL PROTECTED]>, Lucas Raab <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Lucas Raab <[EMAIL PROTECTED]> wrote: >>>Sean P. Kane wrote: >>>> >>>>Equipment: Red Reflec Armour,

Re: Please Contribute Python Documentation!

2005-01-09 Thread Aahz
asn't earlier documented. So I filed a bug report. ;-) If you think this still isn't enough, file another.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is no

Re: why are people still using classic classes?

2005-01-12 Thread Aahz
other excellent reasons you've been provided. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis -- http://mail.python.org/mailman/listinfo/python-list

Re: why are people still using classic classes?

2005-01-13 Thread Aahz
l learn that Guido believes super() should only be used with class hierarchies explicitly designed for the purpose. Given that, you'd have to do a lot of other changes to support super() and it's less outrageous. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pytho

Re: why are people still using classic classes?

2005-01-13 Thread Aahz
clean as it once was. It >has grown warts, for the sake of backwards compatibility. :( That's progress. One of the primary goals for Python 3.0 is to make a fresh start by removing a lot of the backwards compatibility. -- Aahz ([EMAIL PROTECTED]) <*> http://www.p

Free NNTP (was Re: how to stop google from messing Python code)

2005-01-14 Thread Aahz
pful. Most people use Gooja to post because they're lazy. >if you have internet access, you have NNTP access. gmane.org provides >access to more than 6,500 mailing lists via NNTP, including all >relevant Python forums. You also have access to the free netnews

Re: Threading Or Other Suggestions?!?

2005-01-14 Thread Aahz
3) Examine the simulation results > >For this, I was thinking about threads... does anyone have other/better >suggestion(s)? Does anyone see any difficulty/memory problems in using >threads? If you're not on Windows, this will be much easier with multiple processes. -- Aahz ([EMAIL

shelve to DB conversion?

2005-01-19 Thread Aahz
I'd like to hear some experiences about converting a shelf with pickles to database with pickles, particularly if someone has handy code for proxying shelve code. We're using PostgreSQL if that makes any difference. -- Aahz ([EMAIL PROTECTED]) <*> http://www

Re: Zen of Python

2005-01-24 Thread Aahz
but there's nothing to stop you. What did you think the "direct" >in "direct way" might have been intended to mean? Actually, I like breaking out of nested "search" loops with try/except. -- Aahz ([EMAIL PROTECTED]) <*> http://www.py

Re: Textual markup languages (was Re: What YAML engine do you use?)

2005-01-25 Thread Aahz
age document to explain all these features, not for non-technical users. reST fits both these criteria, but only for a selected subset of featuers. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >