Re: [Python-Dev] __autoinit__

2005-07-09 Thread Aahz
want to resend. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Chaining try statements: eltry?

2005-07-07 Thread Aahz
:) was available. That's what I use try/except for. ;-) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] using pyhon from the MSYS shell

2005-07-05 Thread Aahz
On Tue, Jul 05, 2005, Martin v. L?wis wrote: Aahz wrote: Martin removed the attribution here: I was trying to compile a python plugin (for gimp) using the MSYS shell and the MINGW compiler. python-dev is the wrong place for this question Actually, it isn't - he is really asking what

Re: [Python-Dev] python-dev Summary for 2005-06-16 through 2005-06-30 [draft]

2005-07-04 Thread Aahz
Nothing to say, just keep up the good work! I hope the triple-team approach is still working well. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list

Re: [Python-Dev] Terminology for PEP 343

2005-07-03 Thread Aahz
! -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Terminology for PEP 343

2005-07-03 Thread Aahz
as, xrange objects are iterable. How about decimal.Context() objects are managed resources or ...have guarded scopes? (I'm not terribly wild about either, but they are fairly simple and direct.) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n

Re: [Python-Dev] Money module

2005-07-02 Thread Aahz
that this isn't going to be a real PEP any time soon, please restrict the discussion to comp.lang.python. Thanks for your help keeping python-dev clutter-free. ;-) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-01 Thread Aahz
post a patch. It passes the smell test of not being horribly unPythonic, if that's what you want to know. Note that you're likely to be required to add a new function with this feature, but that can be argued later. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn

Re: [Python-Dev] Decimal rounding doc

2005-07-01 Thread Aahz
rounding mode in the Decimal docs? Or the sprints burned my head? My suspicion is that someone at some point thought that Cowlishaw was sufficient; we probably should write some base-level docs that explain the Python mechanisms and refer to Cowlishaw for details. -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code

2005-07-01 Thread Aahz
. How about this for a change? class grouping: def __init__(self, .x, .y, .z): pass This is off-topic for python-dev. Please take it to comp.lang.python. (It's not immediately obvious that this is off-topic, I know, but please take my word for it.) -- Aahz ([EMAIL

Re: [Python-Dev] Inconsistent API for sets.Set and build-in set

2005-06-30 Thread Aahz
2.2 -- but I'm always happy to see inconsistencies resolved) I'll guess that Raymond will probably want 2.5 to have set.union_update() get a PendingDeprecationWarning. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng

Re: [Python-Dev] using pyhon from the MSYS shell

2005-06-29 Thread Aahz
On Tue, Jun 28, 2005, lode leroy wrote: I was trying to compile a python plugin (for gimp) using the MSYS shell and the MINGW compiler. python-dev is the wrong place for this question; please start with comp.lang.python (or find another suitable place). -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] New python developer

2005-06-29 Thread Aahz
(and sorry for my english but it's not my mother tongue) Welcome! Your English is just fine. If you haven't yet, take a look at http://www.python.org/dev/ Pay particular attention to Why Develop Python? and Intro to Development. -- Aahz ([EMAIL PROTECTED]) * http

Re: [Python-Dev] Decimal floats as default (was: discussion aboutPEP239 and 240)

2005-06-27 Thread Aahz
it. ...and document and maintain it. That's always been the sticky part, along with the requirement that this degrade gracefully when the platform-specific code doesn't exist. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng

Re: [Python-Dev] PyPI: no space left on device

2005-06-18 Thread Aahz
On Sat, Jun 18, 2005, Gustavo Niemeyer wrote: PyPI seems to be out of space: FYI, python-dev is not a good place to send messages like this. Please use [EMAIL PROTECTED] (I've already notified the appropriate parties.) -- Aahz ([EMAIL PROTECTED]) * http

Re: [Python-Dev] Dynamic class inheritance something else

2005-06-14 Thread Aahz
need, but there are still a couple of details that I haven't been able to solve. Hi Veronica, python-dev is for future development of Python; for questions about using Python, please go to comp.lang.python. Thanks. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f

Re: [Python-Dev] AIX 4.3, Python 2.4.1 fails in test_exceptions with a core dump

2005-06-13 Thread Aahz
on python-dev, there's a broader spectrum on c.l.py. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] python running in several threads

2005-06-07 Thread Aahz
to comp.lang.python. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Summer of Code: Developing complete SSL support for Python

2005-06-04 Thread Aahz
information, but I also encourage you to join the Summer of Code mailing list: http://mail.python.org/mailman/listinfo/summerofcode -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The only problem with Microsoft is they just have no taste. --Steve Jobs

Re: [Python-Dev] Adventures with Decimal

2005-05-23 Thread Aahz
with every operation. It was a critical design criterion for Python that this be legal:: x = Decimal('1.2') y = Decimal('1.4') x*y Decimal(1.68) IOW, constructing Decimal instances might be a bit painful, but *using* them would be utterly simple. -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] Adventures with Decimal

2005-05-20 Thread Aahz
about what we should do. Overall, my sentiments are with Tim that we should fix this, but my suspicion is that it probably doesn't matter much. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The only problem with Microsoft is they just have no taste. --Steve Jobs

Re: [Python-Dev] Decimal construction

2005-05-18 Thread Aahz
that a mistake was made, let's fix it! -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ And if that makes me an elitist...I couldn't be happier. --JMS ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] PEP 344: Exception Chaining and Embedded Tracebacks

2005-05-17 Thread Aahz
.) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ And if that makes me an elitist...I couldn't be happier. --JMS ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] PEP 344: Exception Chaining and Embedded Tracebacks

2005-05-16 Thread Aahz
of staving off responses from multiple people: I don't think these should be double-underscore attributes. The currently undocumented ``args`` attribute isn't double-underscore, and I think that's precedent to be followed. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com

Re: [Python-Dev] Tidier Exceptions

2005-05-14 Thread Aahz
of the exception class concerned. Sounds reasonable, but it should be equally easy to handle:: raise MyError, message -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ And if that makes me an elitist...I couldn't be happier. --JMS

Re: [Python-Dev] PEP 340 -- concept clarification

2005-05-03 Thread Aahz
don't think that it's *all* a PEP 310 influence on the examples. Yes, that's why I've been pushing for with. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank of gas, a half-pack of cigarettes, it's dark, and we're wearing

Re: [Python-Dev] PEP 340: Else clause for block statements

2005-05-01 Thread Aahz
the options this way? ;-) I'm mainly responding to deliver my vote against option 3; I don't care much about the other possibilities. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank of gas, a half-pack of cigarettes

Re: [Python-Dev] Anonymous blocks: Thunks or iterators?

2005-04-29 Thread Aahz
whether your thunks are lexical (I haven't been following the discussion closely). If it's not lexical, how do locals get handled without cells? -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank of gas, a half-pack

Re: [Python-Dev] PEP 340 - possible new name for block-statement

2005-04-29 Thread Aahz
be able to tell which construct we're using at the beginning of the line. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank of gas, a half-pack of cigarettes, it's dark, and we're wearing sunglasses. Hit

Re: [Python-Dev] PEP 340 - possible new name for block-statement

2005-04-29 Thread Aahz
it? opening(foo) as f: # etc. I'm still -1 for the same reason I mentioned earlier: function calls spanning multiple lines are moderately common in Python code, and it's hard to distinguish these cases because multi-line calls usually get indented like blocks. -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] PEP 340 - possible new name for block-statement

2005-04-29 Thread Aahz
On Fri, Apr 29, 2005, Phillip J. Eby wrote: At 10:42 AM 4/29/05 -0700, Aahz wrote: On Fri, Apr 29, 2005, Guido van Rossum wrote: [Phillip J. Eby] Although I'd personally prefer a no-keyword approach: synchronized(self): with_file(foo) as f: # etc. I'd like

Re: [Python-Dev] PEP 340 - possible new name for block-statement

2005-04-29 Thread Aahz
his opinion, this is precisely why the non-keyword version will continue to receive -1 from me. (As it happens, I agree with Guido, so if Guido wants to change, I'll probably argue until I see good reason. ;-) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106

Re: [Python-Dev] Re: anonymous blocks

2005-04-26 Thread Aahz
for these constructs makes it easier to read the code. You'll soon start to gloss over the ``with`` but it will be there as a marker for your subconscious. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank of gas, a half-pack

Re: [Python-Dev] defmacro (was: Anonymous blocks)

2005-04-25 Thread Aahz
, blockLocals return iterfaceType(interfaceName, bases, blockLocals) IFoo = interface('IFoo'): def isFoo(self): pass Where does ``aBlock`` come from? -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We have a full tank

Re: [Python-Dev] PEP 310 and exceptions

2005-04-23 Thread Aahz
did, although it was related more to the precise mechanics of raising and catching exceptions. Perhaps I'll submit a doc bug; I didn't find this explained in _Learning Python_ or Nutshell...) -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ It's 106 miles to Chicago. We

Re: [Python-Dev] anonymous blocks

2005-04-21 Thread Aahz
``for`` and ``if``, the resource block *should* have a keyword. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores

Re: [Python-Dev] Re: anonymous blocks

2005-04-20 Thread Aahz
. To the extent that Python has an antithesis, it would be either C++ or Perl. Ruby is antithetical to some of Python's core ideology because it borrows from Perl, but Ruby is much more similar to Python than Perl is. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy

Re: [Python-Dev] Python 2.1 in HP-UX

2005-04-19 Thread Aahz
questions. Thank you. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death

Re: [Python-Dev] python-dev Summary for 2005-04-01 through 2005-04-15 [draft]

2005-04-18 Thread Aahz
readers (the bit that triggered this comment was seeing the unified vs. context diffs thread so far down). -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small

Re: [Python-Dev] Inconsistent exception for read-only properties?

2005-04-17 Thread Aahz
than creating a new one? (I don't have a strong opinion either way, but I'd like some reasoning; Jack's approach at least doesn't break code.) Especially if the new exception isn't public (in the builtins with other exceptions). -- Aahz ([EMAIL PROTECTED]) * http

Re: [Python-Dev] Ye don't be needin' these!

2005-03-23 Thread Aahz
On Wed, Mar 23, 2005, Herman Toothrot wrote: Avast! Why be there builtins divmod and pow, when operators **, /, and % should be good enough for ya? It runs counter to TOOWTDI, I be thinking. Arr. This is off-topic for python-dev. Please post to comp.lang.python instead. -- Aahz ([EMAIL

Re: [Python-Dev] thread semantics for file objects

2005-03-17 Thread Aahz
will no doubt agree with me: the semantics don't matter. NEVER, NEVER access the same file object from multiple threads, unless you're using a lock. And even using a lock is stupid. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing

Re: [Python-Dev] thread semantics for file objects

2005-03-17 Thread Aahz
On Thu, Mar 17, 2005, Tim Peters wrote: I think Aahz was on target here: NEVER, NEVER access the same file object from multiple threads, unless you're using a lock. And here he went overboard: And even using a lock is stupid. ZODB's FileStorage is bristling with locks

Re: [Python-Dev] Re: RELEASED Python 2.4.1, release candidate 1

2005-03-12 Thread Aahz
the connection. I believe the problem is the firewall, but I'm not sure if it is related to the install. The previous install (Python 2.3) worked fine. http://www.python.org/2.4/bugs.html -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should

[Python-Dev] FWD: SD MAgazine.com - Jolt Awards Winners

2005-03-10 Thread Aahz
= Rosalyn Lum Technical Editor Software Development Magazine CMP Media 600 Harrison St., 6th Floor San Francisco, CA 94107 www.sdmagazine.com - End forwarded message - -- Aahz ([EMAIL PROTECTED]) * http

Re: [Python-Dev] Adding any() and all()

2005-03-10 Thread Aahz
, but then let's keep reduce(), which has this nice property. -1 -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams

Re: [Python-Dev] Re: No new features

2005-03-09 Thread Aahz
you have to actually code for three different problems in two major versions. Sehr schlecht. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount

Re: [Python-Dev] Re: No new features

2005-03-09 Thread Aahz
knowledge... Functionally speaking, Python has only major releases and micro releases. We don't have the resources to support minor releases. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Aahz
OrderedDict to stdlib, but it's another use case. Each dict key contains a dict value; the subkeys from later-added keys are supposed to override earlier subkeys. The original implementation relied on subkeys being unique, but that doesn't work for our new business requirements.) -- Aahz ([EMAIL

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Aahz
On Wed, Mar 09, 2005, Raymond Hettinger wrote: [Aahz] Gee, I just found out I could have used an OrderedDict today. (We're using a dict that we're now having to add an auxilliary list to to track when keys are added.) (This isn't particularly an argument in favor of adding OrderedDict

Re: No new features (was Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules ossaudiodev.c, 1.35, 1.36)

2005-03-08 Thread Aahz
1.5.1? I'm a bit embarassed that Python 2.4's optparse has __version__ == 1.5a2 because I didn't release Optik 1.5 in time. -1, sorry -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules ossaudiodev.c, 1.35, 1.36

2005-03-07 Thread Aahz
if you (or anyone) really wants me to. Otherwise, I'd rather leave it as-is and go fix more bugs. Please revert. I've spent more time than I'd like dealing with the introduction of booleans in Python 2.2, and helping other people avoid similar problems seems like a Good Thing to me. -- Aahz ([EMAIL

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Aahz
Both entries so far look very good. Perhaps writing python-dev summaries could be a rotating position? -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Aahz
On Fri, Mar 04, 2005, John J Lee wrote: On Fri, 4 Mar 2005, Aahz wrote: Both entries so far look very good. Perhaps writing python-dev summaries could be a rotating position? Or even a joint effort? It's up to the contributors, of course: just a thought... That was my original thought

Re: [Python-Dev] textwrap wordsep_re

2005-02-22 Thread Aahz
/dev_intro.html Another thing: I don't know whether you'll get this in direct e-mail; it's considered a bit rude for python-dev to use munged addresses. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable

Re: [Python-Dev] Re: Prospective Peephole Transformation

2005-02-19 Thread Aahz
how often, but I was working on some code at my company yesterday that did that -- we use a lot of ints to indicate options. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot

Re: [Python-Dev] Five review rule on the /dev/ page?

2005-02-17 Thread Aahz
review idea. Can someone make sure that's explained on the /dev/ site? This should go into Brett's survey of the Python dev process, not as official documentation. It's simply an offer made by some of the prominent members of python-dev. -- Aahz ([EMAIL PROTECTED]) * http

Re: [Python-Dev] Re: license issues with profiler.py and md5.h/md5c.c

2005-02-12 Thread Aahz
get contrib agreements from all CVS committers. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code

Re: [Python-Dev] Python reference count question

2005-02-01 Thread Aahz
. -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ Given that C++ has pointers and typecasts, it's really hard to have a serious conversation about type safety with a C++ programmer and keep a straight face. It's kind of like having a guy who juggles chainsaws wearing body armor

Re: [Python-Dev] linux executable - how?

2005-01-31 Thread Aahz
. Thanks! -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ Given that C++ has pointers and typecasts, it's really hard to have a serious conversation about type safety with a C++ programmer and keep a straight face. It's kind of like having a guy who juggles chainsaws

Re: [Python-Dev] redux: fractional seconds in strptime

2005-01-14 Thread Aahz
, junk = time.localtime() -- 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 ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Python marshal.c, 1.79, 1.80

2004-12-20 Thread Aahz
in 2.4.0 to marshal an object in the old version format as a string -- you'd have to work around by writing a real file and reading it back :-( Brown bag time? -- Aahz ([EMAIL PROTECTED]) * http://www.pythoncraft.com/ 19. A language that doesn't affect the way you think about

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-20 Thread Aahz
of these sound like critical bugs to me. You don't think a blowup in marshal is critical? Mind expanding on that? -- 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

Re: [Python-Dev] Re: Re: 2.4 news reaches interesting places

2004-12-15 Thread Aahz
, and then later figure out an attractive design and organization for a new site. suggested hostname: why.python.org This is where the process always gets bogged down. :-( Once we have material, that's the time to start arguing about where it should go. -- Aahz ([EMAIL PROTECTED]) * http

<    1   2   3   4   5