[Python-Dev] SQLite status?

2006-05-26 Thread Aahz
We're coming down to the wire on _Python for Dummies_, and I'm trying to persuade the publisher to stick a blurb about SQLite on the cover, but my last understanding was that there was a small chance we might pull SQLite for insufficient docs. Is that still true? -- Aahz ([EMAIL

Re: [Python-Dev] Proposal for a new itertools function: iwindow

2006-05-27 Thread Aahz
bly veto it. Side note: if you do want to discuss this further on python-dev, please subscribe -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to th

Re: [Python-Dev] A Horrible Inconsistency

2006-05-27 Thread Aahz
might need a pronunciation. This should certainly get fixed in 3.0 thanks to __index__ -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonede

Re: [Python-Dev] Syntax errors on continuation lines

2006-05-29 Thread Aahz
back to the list. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonedes ___ Python-

Re: [Python-Dev] [Python-checkins] r46603 - python/trunk/Lib/test/test_struct.py

2006-06-04 Thread Aahz
on't feel too sorry -- I read that as British irony for "yes, I'm the author". (As in, "I'm sitting in the same room as the author, and there's only one person in the room.") -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] Is implicit underscore assignment buggy?

2006-06-07 Thread Aahz
er that your message is the only one I've seen in more than five years of monitoring python-dev and c.l.py. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right the

Re: [Python-Dev] 2.5 issues need resolving in a few days

2006-06-09 Thread Aahz
There was also discussion of a change to the way "quit" works in interactive mode. I see no record of it, so I guess that's not going in, either. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello

Re: [Python-Dev] 2.5 issues need resolving in a few days

2006-06-09 Thread Aahz
On Fri, Jun 09, 2006, Paul Moore wrote: > On 6/9/06, Aahz <[EMAIL PROTECTED]> wrote: >> >> There was also discussion of a change to the way "quit" works in >> interactive mode. I see no record of it, so I guess that's not going in, >> either. &g

Re: [Python-Dev] beta1 coming real soon

2006-06-10 Thread Aahz
to double-check all our 2.5 claims for Python for Dummies (and my co-author only uses a Mac). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and sto

Re: [Python-Dev] sgmllib Comments

2006-06-11 Thread Aahz
st that I care about). > > [1] http://tinyurl.com/j4a6n When providing links to SF, please use the python.org tinyurl equivalent to ensure that people can easily see the bug/patch number: http://www.python.org/sf?id=1504333 -- Aahz ([EMAIL PROTECTED]) <*> http://ww

Re: [Python-Dev] request for review: patch 1446489 (zip64 extensions in zipfile)

2006-06-13 Thread Aahz
zipfile). This should be harmless, I couldn't come > up with a usecase other then reimplementing the read method outside > of zipfile. Not knowing anything about this, why not implement file_offset as a property? -- Aahz ([EMAIL PROTECTED]) <*> http://ww

Re: [Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses

2006-06-17 Thread Aahz
ave a relatively narrow corner case and should find another way to get what you want. -1 -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve

Re: [Python-Dev] About dynamic module loading

2006-06-18 Thread Aahz
s it using RTLD_GLOBAL. An ugly hack, I know, > but it works for me. Maybe there are other users with this problem and > they can use this. Because of the upcoming beta for 2.5, you are not likely to get much attention right now. Please make a SourceForge patch so that we can track this l

[Python-Dev] ETree: xml vs xmlcore

2006-06-19 Thread Aahz
Did we make a final decision about whether the canonical location for ElementTree should be xml or xmlcore? Also, there's no ElementTree or xmlcore that I can find at http://docs.python.org/dev/ under global module index or library reference. -- Aahz ([EMAIL PROT

Re: [Python-Dev] Numerical robustness, IEEE etc.

2006-06-21 Thread Aahz
on is that the C implementation of Decimal will have faster conversion to/from string, which in many real world applications forms a significant part of the processing load. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "

Re: [Python-Dev] Numerical robustness, IEEE etc.

2006-06-22 Thread Aahz
ands what you're getting at. Incidentally, your posts will go directly to python-dev without moderation if you subscribe to the list, which is a Good Idea if you want to participate in discussion. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cou

Re: [Python-Dev] ImportWarning flood

2006-06-24 Thread Aahz
ories, they can add a new warning filter on program startup. Your users will have to upgrade to a new version of the application or do a similar fix in their own sitecustomize. I don't consider that a huge burden. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraf

Re: [Python-Dev] Simple Switch statement

2006-06-24 Thread Aahz
ggested over a plain switch. Phillip's point about longs and Unicode is valid, but easily addressed by limiting cases to "hashable literal" (though we might want to explicitly exclude floats). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "

Re: [Python-Dev] Temporary Constantification

2006-06-25 Thread Aahz
tes. You'd also have to restrict values to immutable ones. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonedes ___

[Python-Dev] 2.5b1 Windows install

2006-06-25 Thread Aahz
Has anyone else tried doing an admin install with "compile .py files" checked? It's causing my install to blow up, but I'd prefer to assume it's some weird Windows config/bug unless other people also have it, in which case I'll file an SF repo

Re: [Python-Dev] PEP 328 and PEP 338, redux

2006-06-27 Thread Aahz
-m. Is this > actually a problem, or is it a new feature? Well, yes, considering that cd'ing to the module's dir and doing "python module.py" will now fail. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ &qu

Re: [Python-Dev] xturtle.py a replacement for turtle.py(!?)

2006-06-28 Thread Aahz
eeling about this issue, though I'm a mild -0 on allowing it. Nobody can claim there wasn't notice about the beta release date and the restrictions after it. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ &q

Re: [Python-Dev] ImportWarning flood

2006-06-28 Thread Aahz
le. That's much more > likely to happen; I can't be the only one who will have this issue. Oo! Yuck! I am now +1 for reverting the warning. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout

Re: [Python-Dev] Joke: Rush Limbaugh (a joke in and of himself)

2006-06-29 Thread Aahz
for sending, because this is not appropriate for python-dev. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonedes

Re: [Python-Dev] Python memory model (low level)

2006-06-30 Thread Aahz
on-C implementation of Decimal might look closer to, take a look at the Python long implementation. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --S

Re: [Python-Dev] ImportWarning flood

2006-07-01 Thread Aahz
ning that you'll post to SF as soon as it comes back). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonedes __

Re: [Python-Dev] 2.5b1 Windows install

2006-07-04 Thread Aahz
On Mon, Jun 26, 2006, "Martin v. L?wis" wrote: > Aahz wrote: >> >> Has anyone else tried doing an admin install with "compile .py files" >> checked? It's causing my install to blow up, but I'd prefer to assume >> it's some weird Wi

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

2005-06-27 Thread Aahz
> Of course, someone still has to step forward and offer to code 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]) <*&

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

Re: [Python-Dev] New python developer

2005-06-29 Thread Aahz
s in pure python. > > -- > Fabien SCHWOB (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

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

2005-06-30 Thread Aahz
because I don't use sets much -- I'm still mired in Python 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]) <*>

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

2005-07-01 Thread Aahz
on this unless you do 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]) <*>

Re: [Python-Dev] Decimal rounding doc

2005-07-01 Thread Aahz
; Could it be we missed the explanation of each 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

Re: [Python-Dev] Missing docs (was Decimal rounding doc)

2005-07-01 Thread Aahz
On Fri, Jul 01, 2005, Facundo Batista wrote: > On 7/1/05, Aahz <[EMAIL PROTECTED]> wrote: >> >> 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 mech

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

2005-07-01 Thread Aahz
s to a Python newcomer I get that > skeptic look. 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-

Re: [Python-Dev] Money module

2005-07-02 Thread Aahz
(or perhaps a Financial package) and just create the Currency module within it for now. Anyway, given 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 PROTECT

Re: [Python-Dev] Terminology for PEP 343

2005-07-03 Thread Aahz
ion", "exits", "exception". If we care, I guess "leave" is okay. Nice work! -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. ___

Re: [Python-Dev] Terminology for PEP 343

2005-07-03 Thread Aahz
nd __exit__ magic methods? We want something > as direct 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.) -

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 mailin

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 wro

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

2005-07-07 Thread Aahz
(e.g. an else clause :) 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@py

Re: [Python-Dev] __autoinit__

2005-07-09 Thread Aahz
nt this to python-dev; you probably 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

[Python-Dev] e-mail addresses

2005-07-14 Thread Aahz
ress as an anti-spam measure. But it's always polite to include "yes, this is a real address" or similar in the .sig. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. __

Re: [Python-Dev] installation of python on a Zaurus

2005-07-25 Thread Aahz
On Sun, Jul 24, 2005, Chuck Robey wrote: > > I'm trying to get Python installed on a Zaurus, running OpenBSD. While python-dev can be a good place to get questions like this answered, many more people read comp.lang.python, and you should ask there, too. -- Aahz ([EMAI

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-07-28 Thread Aahz
>> output). > > It depends. In my use of svn, I do a lot of cross-branch merging and > repo-side tagging. Those are done with urls and in those cases, long > urls can suck. But we may not do a ton of that with the Python project, > and besides it might not be important e

Re: [Python-Dev] Pre-PEP: Exception Reorganization for Python 3.0

2005-07-30 Thread Aahz
s closer to the existing 2.4 > structure: Based on skimming (not close examination): +1 We can probably quibble about bits, but I agree that a Grand Restructure should be avoided. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Pytho

Re: [Python-Dev] Pre-PEP: Exception Reorganization for Python 3.0

2005-07-30 Thread Aahz
off on some the proposed changes, I do think the basic > spirit of it is correct. My take is that for Python 3.0, backwards compatibility is no longer a critical priority -- but any breakage still needs to be argued for and balanced. We want to avoid unnecessary breakage. -- Aahz

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-08-03 Thread Aahz
k was that the Linux project had to scramble when they lost their Bitkeeper license (but they didn't switch to SVN because they wanted a distributed model -- one of things I appreciated about this talk was the lack of One True Way-ism). -- Aahz ([EMAIL PROTECTED]) <*>

Re: [Python-Dev] Generalised String Coercion

2005-08-08 Thread Aahz
nge his -1 on text(), that leads to the obvious PyObject_Text. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and loosely-couple the hell out of everything.

Re: [Python-Dev] pdb: should next command be extended?

2005-08-08 Thread Aahz
nthony Baxter made the point that pdb is currently one of the more unPythonic modules. If you're feeling a lot of energy about this, rewriting pdb might be more productive. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applic

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-08-08 Thread Aahz
erience to Perforce is as straightforward. The impression I got from Alex Martelli is that it's not particularly straightforward. (Google apparently uses Perforce.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componen

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-08-08 Thread Aahz
y that. We'd need a strong incentive to consider Perforce over Subversion just because of that issue. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and loo

Re: [Python-Dev] Exception Reorg PEP revised yet again

2005-08-10 Thread Aahz
Also, it wouldn't tie a language feature to the name of an MS >> product. > > I can compromise to this if others prefer this alternative. Anybody > else have an opinion? Googling for "windowserror python" produces 800 hits. So yes, it does seem to be widely used. I

Re: [Python-Dev] new PEP type: Process

2005-08-12 Thread Aahz
tegories. We agreed upon a > new "Process" PEP type. For more information, please see PEP 1 > (http://www.python.org/peps/pep-0001.html) -- the type of which has > also been changed to Process. Go ahead and make PEP 6 a Process PEP. -- Aahz ([EMAIL PROTECTED]) <

Re: [Python-Dev] Admin access using svn+ssh

2005-08-21 Thread Aahz
hondev is simply an SSH alias for dinsdale -- the server knows nothing about it. I don't quite understand the "User pythondev" line, though -- I think that's a mistake. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Pyt

Re: [Python-Dev] Admin access using svn+ssh

2005-08-22 Thread Aahz
On Mon, Aug 22, 2005, "Martin v. L?wis" wrote: > Aahz wrote: >>Barry: >>>Martin: >>>> >>>>Host pythondev >>>> Hostname dinsdale.python.org >>>> User pythondev >>>> IdentityFile ~/.ssh/pythondev >>>

[Python-Dev] Python 3.0 blocks?

2005-08-27 Thread Aahz
ls for Python 3.0 was that single-line blocks would be banned. Is my memory wrong? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and loosely-couple the hell out of everything. __

Re: [Python-Dev] Any detail list of change between version2.1-2.2-2.3-2.4 of Python?

2005-08-28 Thread Aahz
nswer. Because this is about the future of Jython, it's entirely appropriate for discussion here -- python-dev is *NOT* just for CPython. (It's similar to questions about porting.) As long as people ask questions of the appropriate level, that is. -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] partition() (was: Remove str.find in 3.0?)

2005-08-29 Thread Aahz
> better name, partition() will win by default. I don't think it's a > *bad* name - just don't think it's a particularly *obvious* name. It's at least as obvious as translate(). -- Aahz ([EMAIL PROTECTED]) <*>

Re: [Python-Dev] Design Principles

2005-08-31 Thread Aahz
cked up by a variety of > side-by-side comparisons using real-world code samples. > > I'm sure there are plenty more if these in the archives. Nice! Also a pointer to the Zen of Python. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way

Re: [Python-Dev] PEP 3000 and new style classes

2005-09-08 Thread Aahz
asses go > away in Py3.0). You can already do __metaclass__ = type within each module -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and l

Re: [Python-Dev] python optimization

2005-09-15 Thread Aahz
s? How about functions? Is there a significant cost to putting a > function def inside a loop rather than outside? This question is about using Python, not improving/fixing Python; please use comp.lang.python (python-list) for these kinds of questions and do not cc python-dev. --

Re: [Python-Dev] "and" and "or" operators in Py3.0

2005-09-19 Thread Aahz
person.birth_date or '00-00-' > ssn = person.social_security or 'not provided' While I'm in philosophical agreement with Raymond, it's also true that my current company's code is littered with constructs like yours. So I have to say that it woul

Re: [Python-Dev] IMPORTANT: release24-maint branch is FROZEN from 2005-09-28 00:00 UTC for 2.4.2

2005-09-26 Thread Aahz
r, I'm somewhere between +0 and +1 on doing another release candidate. OTOH, doing a brownbag 2.4.3 won't kill us, and few people will use a release candidate instead of waiting. Still your call. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The wa

Re: [Python-Dev] Adding a conditional expression in Py3.0

2005-09-29 Thread Aahz
f C's ternary. I'm +0 on requiring parentheses precisely because they're annoying. I'm still expecting simple boolean expressions to be the primary use case, and my hunch is that overall Python code will read better with the ternary looking clu

Re: [Python-Dev] inplace operators and __setitem__

2005-09-29 Thread Aahz
ease move this thread to comp.lang.python. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and loosely-couple the hell out of everything. ___ Python-Dev mai

Re: [Python-Dev] Pythonic concurrency

2005-10-07 Thread Aahz
n to follow some rules about sharing data. But it's certainly true that threading (and concurrency) in general is mind-numbingly complex. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professiona

Re: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)

2005-10-12 Thread Aahz
ng the thread stuff until Python 3.0. (Python 3.0 should "deprecate" ``thread`` by renaming it to ``_thread``). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire

Re: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)

2005-10-12 Thread Aahz
On Wed, Oct 12, 2005, Michael Chermside wrote: > Guido says: >> Aahz writes: >>> >>> (Python 3.0 should "deprecate" ``thread`` by renaming it to ``_thread``). >> >> +1. (We could even start doing this before 3.0.) > > Before 3.0, let

Re: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)

2005-10-12 Thread Aahz
On Wed, Oct 12, 2005, Guido van Rossum wrote: > On 10/12/05, Aahz <[EMAIL PROTECTED]> wrote: >> >> Note carefully the deprecation in quotes. It's not going to be >> literally deprecated, only renamed, similar to the way _socket and >> socket work together. W

Re: [Python-Dev] threadtools (was Re: Autoloading? (Making Queue.Queue easier to use))

2005-10-13 Thread Aahz
Queues are generally multi-producer, single-consumer > objects. It makes sense for a thread to have an inbox. I'm not so > sure about an outbox.) If you look at my thread tutorial, the spider thread pool uses a single-producer, multiple-consumer queue to feed URLs to th

Re: [Python-Dev] Definining properties - a use case for class decorators?

2005-10-17 Thread Aahz
to a well-designed block structure later on. The one niggle I have is that it's going to be a little unwieldy to explain, but people who create properties really ought to understand Python well enough to deal with it. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythonc

Re: [Python-Dev] Definining properties - a use case for class decorators?

2005-10-18 Thread Aahz
Error is going to be what the internal machinery raises, and I decided there was no point trying to translate it. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do

Re: [Python-Dev] a different kind of reduce...

2005-10-31 Thread Aahz
oes anybody know how to do this nicely? Is there an > easy form that allows me to do this? This should go on comp.lang.python. Thanks. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-14 Thread Aahz
it has been 10/100 seconds since that undrawn event happened, > redraw. Tune that 10 up/down to alter responsiveness characteristics. ...and that's exactly what my sample threaded GUI application does. Can we please move this thread to comp.lang.python? -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] How to stay almost backwards compatible with all these new cool features

2005-11-19 Thread Aahz
most of what you talk about has already been discussed before, and the rest has to do with user-level changes. Please continue this discussion there if you're interested in the subject. Thank you. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If y

Re: [Python-Dev] s/hotshot/lsprof

2005-11-19 Thread Aahz
rocess? -- 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 ___ Python-Dev mailing list

Re: [Python-Dev] urlparse brokenness

2005-11-23 Thread Aahz
ter threads you're not interested in. -- 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 _

Re: [Python-Dev] Bug bz2.BZ2File(...).seek(0,2) + patch

2005-11-25 Thread Aahz
, you may not get any other responses for a while. Please be patient. -- 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 __

[Python-Dev] SVN backup?

2005-12-04 Thread Aahz
While cleaning up some old CDs, I discovered that I had received some backups of the CVS repository. Should we repeat the exercise for SVN? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-11 Thread Aahz
for taking the ball and moving it forward.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." -

Re: [Python-Dev] A missing piece of information in weakref documentation

2005-12-12 Thread Aahz
iour - it just ought to be documented.) Please submit a doc patch to SF (or even just a bug report if you don't have time). The patch may be plain text or reST; no need for Latex. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't li

Re: [Python-Dev] Linked lists

2005-12-14 Thread Aahz
module; finding one already in the wild that people use would be even better. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent s

Re: [Python-Dev] PEP 8 updates/clarifications

2005-12-15 Thread Aahz
gainst to those rules. I see no reason to change now just > to be more Java-like. +1 -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck.&q

Re: [Python-Dev] synchronized enumerate

2005-12-19 Thread Aahz
ace to start discussions like this; please use comp.lang.python. Thanks! -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck."

[Python-Dev] Sets are mappings?

2005-12-20 Thread Aahz
e to know because I'm writing a book, but that's not reason enough to stick with python-dev. ;-) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when mak

Re: [Python-Dev] Sets are mappings?

2005-12-21 Thread Aahz
rly lists, tuples, and strings are sequences; clearly dicts are a mapping; the question is whether sets get tossed in with dicts. Overall, I think it's pretty clear that the answer is "no", particularly given that sets don't support __getitem__(). -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] status of development documentation

2005-12-25 Thread Aahz
ay I decided to try doing an svn checkout for the first time. Has anyone ever tried doing that from the top? There's more than 18GB of stuff, and it never actually completes. (I'm mostly mentioning this as FYI/FYA -- I'm doing it to exercise my new computer.) -- Aahz ([EMAIL PROT

Re: [Python-Dev] deque alternative (was: Linked lists)

2005-12-25 Thread Aahz
use for a list collection type. Please take this to comp.lang.python Side note: nobody AFAICT has suggested that you drop this -- only that getting a built-in is extremely unlikely. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmuck

[Python-Dev] file() vs open(), round 7

2005-12-25 Thread Aahz
), [...] | Note: open() is an alias for file(). This is confusing. I suggest that we make ``open()`` a factory function right now. (I'll submit a bug report (and possibly a patch) after I get agreement.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/

Re: [Python-Dev] (back to): Linked lists -- (was: deque alternative)

2005-12-27 Thread Aahz
s more clearly in the computer program. Right now, I cringe, > and then I just shrug. Why don't you just write your own list type? Why does this need to go into Python? Why should it be one of the builtin types instead of a library? Please answer these questions on comp.lang.python, NOT

Re: [Python-Dev] suggestion for smarter garbage collection in function of size (gc.set_collect_mem_growth(2))

2005-12-28 Thread Aahz
rks, submit a patch, and post here again with the SF number. Note that since your tunable parameter is presumably accessible from Python code, you'll also need to submit doc patches and tests to verify that it's working correctly. -- Aahz ([EMAIL PROTECTED]) <*> h

Re: [Python-Dev] a quit that actually quits

2005-12-28 Thread Aahz
quot;, "credits" or "license" for more information. Let's add another line that says Type "quit()" to exit Defining it as "def quit(): raise SystemExit" should be fine. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com

Re: [Python-Dev] a quit that actually quits

2005-12-28 Thread Aahz
On Wed, Dec 28, 2005, Brett Cannon wrote: > On 12/28/05, Aahz <[EMAIL PROTECTED]> wrote: >> >> Here's yet a different take on this: why not simply change the startup >> message? Whether we choose "quit" or "exit", someone will get it wrong >&

Re: [Python-Dev] a quit that actually quits

2005-12-29 Thread Aahz
On Wed, Dec 28, 2005, Guido van Rossum wrote: > > In the mean time I'm a strong believer in "it ain't broke so don't fix > it" here. Does that also include my suggestion about improving the startup message? -- Aahz ([EMAIL PROTECTED]) <*>

Re: [Python-Dev] New PEP: Using ssize_t as the index type

2005-12-29 Thread Aahz
of C programming skill, this PEP was extremely readable and well-organized. Nice job! -- 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++

Re: [Python-Dev] Logging enhancements

2006-01-09 Thread Aahz
inal release for June/July. -- 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 m

Re: [Python-Dev] Tkinter

2006-01-10 Thread Aahz
Please use comp.lang.python (or python-list). -- 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] [PATCH] Fix dictionary subclass semantics when used as global dictionaries

2006-01-10 Thread Aahz
still bypasses the subclass functions and > uses the C API for global environments. The attached patch (and > unittest!) addresses this issue. Please submit the patch to SourceForge and report back with the SF ID. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncr

Re: [Python-Dev] pystate.c changes for Python 2.4.2

2006-01-12 Thread Aahz
you please confirm if this is a bug ? Regardless of whether you get any other responses, please go ahead and file a SourceForge bug report so that we don't lose track of this. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn&

<    1   2   3   4   5   6   >