Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-13 Thread Aahz
hen a "small" change breaks more code than it > was expected to. There's been some recent discussion in the PSF wondering where it would make sense to throw some money to remove grit in the wheels; do you think this is a case where that would help? -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] Community buildbots

2006-07-15 Thread Aahz
t, but there will probably not be any way to use old-style classes. As has been said before, if you want to make new-style classes the default for any module, just put __metaclass__ = type at the top. Please, just drop this subject. Guido has long since Pronounced. -- Aahz ([EMA

Re: [Python-Dev] Python Style Sheets ? Re: User's complaints

2006-07-18 Thread Aahz
Please. Just end this discussion. It ain't gonna happen. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by defin

Re: [Python-Dev] Strategy for converting the decimal module to C

2006-07-18 Thread Aahz
per for dict access works well, too. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough t

Re: [Python-Dev] Rounding float to int directly (Re: struct module and coercing floats to integers)

2006-08-01 Thread Aahz
are about accuracy. Additional float features can go into NumPy.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definitio

Re: [Python-Dev] Rounding float to int directly ...

2006-08-03 Thread Aahz
ult. > > >>> 23.5/5.2 > 4.5192307692307692 > >>> round(23.5)/round(5.2) > 4.7998 > >>> round(23.5/5.2) > 5.0 > >>> int(round(23.5))/int(round(5.2)) > 4 That's not relevant to Py3K. Which is where this discu

Re: [Python-Dev] need an SSH key removed

2006-08-04 Thread Aahz
ight before it vanished I > saw the most astonishing look of profound peace passing over its bits. > You should rest assured tonight that yYv6r9zcrb and ZORyPRLc5Sf and > all the other little key segments have gone on to a better repository. That means it's now an ex-key? -- Aa

Re: [Python-Dev] BZ2File.writelines should raise more meaningful exceptions

2006-08-06 Thread Aahz
mably also included with the patch), starting with a link to the patch. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are,

Re: [Python-Dev] Split augmented assignment into two operator sets? [Re: SyntaxError: can't assign to function call]

2006-08-10 Thread Aahz
epending on whether the object in question is immutable: > >(1) For immutable objects: > > x += y <--> x = x + y > >(2) For mutable objects: > > x += y <--> x.__iadd__(y) What I try to do is always remember that x += y <-->

[Python-Dev] [Python-3000] Python 2.5 release schedule (was: threading, part 2)

2006-08-12 Thread Aahz
xt week is rc1. We are right now in complete feature lockdown; even documenting an existing API IMO requires approval from the Release Manager. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first

Re: [Python-Dev] dict containment annoyance

2006-08-12 Thread Aahz
False instead of raising an > exception. -1 This is seriously no different from an attempt to do >>> a = {} >>> a[ [] ] = 1 -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the fi

Re: [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bitlate, I know...)

2006-08-29 Thread Aahz
, it's critical to encourage people to switch to the stdlib version if possible (but often writing code that works with the external library is the only way to support multiple Python versions). That parenthetical bit is the real killer, and I don't think even Py3K can completely overcome

Re: [Python-Dev] Py2.5 issue: decimal context manager misimplemented, misdesigned, and misdocumented

2006-09-02 Thread Aahz
On Sun, Sep 03, 2006, Anthony Baxter wrote: > > I think this is suitable for 2.5. I'm thinking, though, that we need > a second release candidate, given the number of changes since rc1. +1 -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread Aahz
e of the mysteries of the universe. One could also ask why this got x-posted to python-dev... -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ I support the RKAB ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] fun threading problem

2006-09-14 Thread Aahz
On Thu, Sep 14, 2006, Neal Norwitz wrote: > > On everyones favorite platform (HP-UX), the following code > consistently fails: Which exact HP-UX? I remember from my ancient days that each HP-UX version completely changes the way threading works -- dunno whether that's still

Re: [Python-Dev] Caching float(0.0)

2006-10-02 Thread Aahz
inear" with the number of > special-cased constants (of course, as that there is a fixed > number of constants, this is O(1)). What if we do this work only on float()? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "LL YR VWL R BLNG T S" -- w

Re: [Python-Dev] PSF Infrastructure Committee's recommendation for a new issue tracker

2006-10-03 Thread Aahz
If nothing else, Brett deserves a hearty round of applause for this work: Three cheers for Brett! -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "LL YR VWL R BLNG T S" -- www.nancybuttons.com ___ Python-

Re: [Python-Dev] PSF Infrastructure Committee's recommendation for anew issue tracker

2006-10-08 Thread Aahz
On Fri, Oct 06, 2006, Chuzo Okuda wrote: > > I received the bounced email as follow. How do I become a member? Subscribe to the list. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you don't know what your program is supposed to do,

Re: [Python-Dev] BUG (urllib2) Authentication request header is broken on long usernames and passwords

2006-10-09 Thread Aahz
On Mon, Oct 09, 2006, The Doctor What wrote: > > I found a bug in urllib2's handling of basic HTTP authentication. Please submit your bug to SourceForge, then (optional) post the bug number back here. See http://www.python.org/dev/faq/#bugs -- Aahz ([EMAIL PROTECTED]) <*

Re: [Python-Dev] Why spawnvp not implemented on Windows?

2006-10-12 Thread Aahz
On Thu, Oct 12, 2006, Alexey Borzenkov wrote: > > Should I submit it to sourceforge as a patch, or someone can review it as is? Always submit patches; that guarantees your work won't get lost. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "

Re: [Python-Dev] ConfigParser: whitespace leading comment lines

2006-10-14 Thread Aahz
On Tue, Oct 10, 2006, Greg Willden wrote: > > I'd like to propose the following change to ConfigParser.py. > I won't call it a bug-fix because I don't know the relevant standards. Go ahead and submit a patch; it's guaranteed you won't get progress with

Re: [Python-Dev] os.utime on directories: bug fix or new feature?

2006-10-15 Thread Aahz
a directory, and couldn't before? My vote is that it's a bugfix but should be treated as a new feature and rejected for 2.5, based on the standard argument about capabilities and the problems with bugfix releases having new capabilities. -- Aahz ([EMAIL PROTECTED]) <*>

Re: [Python-Dev] Optional type checking/pluggable type systems for Python

2006-10-21 Thread Aahz
On Sat, Oct 21, 2006, Neil Dunn wrote: > > Any help with this would be great, could you please reply directly to > [EMAIL PROTECTED] as I haven't subscribed to python-dev for a while now. You should also post this to the python-3000 list; the lists do not all have the same reader

Re: [Python-Dev] Importing .pyc in -O mode and vice versa

2006-11-05 Thread Aahz
bytecode was almost certainly the cause of much of the overhead, but I still suspect that a simple listing will be faster in C code because of fewer system calls. It should be a matter of profiling before this suggestion is rejected rather than making assertions about what "should" be happ

Re: [Python-Dev] Python and the Linux Standard Base (LSB)

2006-11-26 Thread Aahz
On Sun, Nov 26, 2006, "Martin v. L?wis" wrote: > > I wrote to Ian that I would be interested; participating in the meeting > in Berlin is quite convenient. I can try to keep python-dev updated. Please do -- it's not something I have a lot of cycles for but am interes

Re: [Python-Dev] PyFAQ: thread-safe interpreter operations

2006-11-27 Thread Aahz
lly avoid breakage we'd have to go with a full-bore try/except style for file handling, and that would require too many changes (especially without upgrading to 2.5, and we're still using 2.2/2.3). -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/

Re: [Python-Dev] a feature i'd like to see in python #2: indexing of match objects

2006-12-03 Thread Aahz
) this would remove some of the verbosity >> of regexp code, with probably a net gain in readability; certainly no loss. > > Please post a patch to sf.net/projects/python (or its successor). Given the list of issues and subsequent discussion so far, I think a PEP will be required. Thi

Re: [Python-Dev] [NPERS] Re: a feature i'd like to see in python #2: indexing of match objects

2006-12-07 Thread Aahz
if m['rect']: > drawRectangle(m[1:5]) > elif m['circle']: > drawCircle(m[1:3], m[3]) > > Is that really so outlandish? Likely; normally I would expect that drawRectangle would break on string arguments instead of ints. I think that the amount

Re: [Python-Dev] Fwd: survey about the use of agile practices

2006-12-24 Thread Aahz
On Sun, Dec 24, 2006, Guido van Rossum wrote: > > Anyone? It was discarded as probable spam by me due to the lack of a valid "To:" line. Do you have any particular reason for believing that it's real? -- Aahz ([EMAIL PROTECTED]) <*> http://www.p

Re: [Python-Dev] Problem with signals in a single threaded application

2007-01-23 Thread Aahz
w what is the current plan for signals support in python, so > what can be done? For starters, please post a bug report to SF so that this issue doesn't get lost. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ Help a hearing-imp

Re: [Python-Dev] [Python-checkins] buildbot failure in amd64 gentoo 2.5

2007-01-24 Thread Aahz
s box: _" > "Type the BDFL's first name in lowercase in this box: " > "Type the branch name in this box: " > > etc. > > It's easier than a normal CAPTCHA because its OK to assume a lot more > knowledge on the part of the

Re: [Python-Dev] Python's C interface for types

2007-01-26 Thread Aahz
type. > I personally consider *very* important that hash(5.0) == hash(5) (and > that 5.0 == 5, of course). Well, sure, but That's Different. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I disrespectfully agree." --SJM _

[Python-Dev] Happy Birthday, Guido!

2007-01-31 Thread Aahz
Thanks again for giving me something fun to do with my life. ;-) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I disrespectfully agree." --SJM ___ Python-Dev mailing list Python-Dev@python.org http:/

Re: [Python-Dev] Happy Birthday, Guido!

2007-01-31 Thread Aahz
On Wed, Jan 31, 2007, Steve Holden wrote: > Barry Warsaw wrote: >>On Jan 31, 2007, at 10:11 AM, Aahz wrote: >>> >>>Thanks again for giving me something fun to do with my life. ;-) >> >>Here, here! > > Where, where? Therewolf -- Aahz (

Re: [Python-Dev] Trial balloon: microthreads library in stdlib

2007-02-10 Thread Aahz
code to the stage where it's usable by other people, upload it to PyPI, announce it on c.l.py.a and other appropriate places, and go through several rounds of improvements and updates based on feedback and bug reports. -- Aahz ([EMAIL PROTECTED]) <*&g

Re: [Python-Dev] Summary of "dynamic attribute access" discussion

2007-02-13 Thread Aahz
hon and doesn't even look funny: obj[foo] = blah print obj[foo] My company makes heavy use of this coding style, we can use obj.foo whenever appropriate. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I disrespectfully agree." --SJM _

Re: [Python-Dev] Summary of "dynamic attribute access" discussion

2007-02-13 Thread Aahz
getattr/setattr. Does anyone have evidence counter to that? I think that evidence should be provided before this goes much further; perhaps all that's needed is education and documentation. -- Aahz ([EMAIL PROTECTED]) <*> http://www.python

Re: [Python-Dev] Twisted Isn't Specific (was Re: Trial balloon: microthreads library in stdlib)

2007-02-14 Thread Aahz
callback every time a file got uploaded -- something that I expect would be very simple for Twisted.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I disrespectfully agree." --SJM ___ Python-Dev m

Re: [Python-Dev] Encouraging developers

2007-03-05 Thread Aahz
so seems to be a sense that we're waiting to get off SourceForge and using our own tracker. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I disrespectfully agree." --SJM ___ Python-Dev mailing l

Re: [Python-Dev] locals(), closures, and IronPython...

2007-03-06 Thread Aahz
Since I'm watching this list for any discussion on the traceback > threads, I figured I would point out the most common use I know > for locals() is in string interpolation when there are many local > variables, eg: > >a = "spam" >b = "egg" >

Re: [Python-Dev] splitext('.cshrc')

2007-03-06 Thread Aahz
nsider it correct, or at the least, don't think it should be changed, > as it would make the behavior more difficult to reason about and introduce > yet another thing to worry about when writing cross-version code. That's my primary concern, as well. I'm -0 WRT 2.x; +1 WR

Re: [Python-Dev] thread safe SMTP module

2007-03-14 Thread Aahz
On Wed, Mar 14, 2007, Jon Ribbens wrote: > Gordon Messmer <[EMAIL PROTECTED]> wrote: >> >> After some discussion, Aahz suggested that I discuss the problem here, >> on python-dev. He seemed to think that the problem I saw may have been >> an indication of a bu

Re: [Python-Dev] Proposal to revert r54204 (splitext change)

2007-03-17 Thread Aahz
text() API will work the same across 2.x regardless of whether the code is written after 2.6 is released. Of course anyone who uses the extended API is backward incompatible, but that's a much different kind of problem. Because this discussion has gone on so long, it seems t

Re: [Python-Dev] Rewrite of cmath module?

2007-03-17 Thread Aahz
s discussion, subscribing makes that much easier. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith ___ Python-Dev mailing list Python-Dev@python.org http:

Re: [Python-Dev] Breaking calls to object.__init__/__new__

2007-03-21 Thread Aahz
ng to have to do a massive rewrite for that, anyway. (This codebase started in 1.4 and we're still running against 2.2.) But my take is that this is still an ugly fix. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinki

Re: [Python-Dev] HTTP responses and errors

2007-03-27 Thread Aahz
gt; So, you-people-in-the-list, do you think fix this will be a problem? The proper English word for plural "you" is "y'all". ;-) Except for "all y'all". Isn't English fun? -- Aahz ([EMAIL PROTECTED]

Re: [Python-Dev] PyPy 1.0: JIT compilers for free and more

2007-03-27 Thread Aahz
On Tue, Mar 27, 2007, Armin Rigo wrote: > > Sorry for the spamming. I hope this will be of interest to some of you. This is not spamming, this is wonderful news! Congratulations! -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ Need a book? Use

Re: [Python-Dev] p2p vpn in python?

2007-03-30 Thread Aahz
On Fri, Mar 30, 2007, Shane Geiger wrote: > > Is anyone in the Python world considering writing a P2P VPN application > in Python (a la Hamachi)? You would probably do better to ask on comp.lang.python -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.co

Re: [Python-Dev] context manager - generator interaction?

2007-04-05 Thread Aahz
On Thu, Apr 05, 2007, Bob Sidebotham wrote: > > The interaction shown below feels like a bug, or at least very much a > trap for the unwary. Please go ahead and file a bug report on SourceForge -- that way there is a record. -- Aahz ([EMAIL PROTECTED]) <*&g

Re: [Python-Dev] Just saying hello

2007-04-12 Thread Aahz
On Wed, Apr 11, 2007, Ryan Kelley wrote: > > I just got accepted on the google summer of code to work on a project > for python. I just wanted to say hello to everyone out there as i know > i will end up asking a few questions before the summers over. Congrats! -- Aahz ([EMA

Re: [Python-Dev] Python-Dev Summary Draft (April 1-15, 2007)

2007-04-24 Thread Aahz
TIL the weekend, so waiting until the Monday after sending out a draft probably doesn't hurt. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "...string iteration isn't about treating strings as sequences of strings, it's about treating strin

[Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-05 Thread Aahz
catenate and compare buffer objects with bytes objects. I'm with MAL and Fred on making literals immutable -- that's safe and lots of newbies will need to use byte literals early in their Python experience if they pick up Python to operate on network data. -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] Strange behaviour with PyEval_EvalCode

2007-05-13 Thread Aahz
I have a function that executes a string buffer of python code, > fetches a function from its global dictionary then calls it. python-dev is probably not the best place to discuss this -- python-dev is primarily for discussions of *future* versions of Python. You would probably get better resuts

Re: [Python-Dev] Summary of Tracker Issues

2007-05-14 Thread Aahz
ything. Moreover, this restriction only comes into play for postings from new people, which should limit the load. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Look, it's your affair if you want to play with five people, but d

Re: [Python-Dev] Summary of Tracker Issues

2007-05-16 Thread Aahz
On Wed, May 16, 2007, Josiah Carlson wrote: > > I'm not sure how effective the question/answer stuff is, but a bit of > javascript seems to be a good idea. Just for the record (and to few people's surprise, I'm sure), I am entirely opposed to any use of JavaScript. --

Re: [Python-Dev] Py2.6 buildouts to the set API

2007-05-18 Thread Aahz
k to be called even when the set doesn't actually change, only when the set is attempted to be changed, which to my mind pushes strongly for a recipe instead of extending sets. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Look, it's yo

[Python-Dev] FWD: gpg keys have problems

2011-06-05 Thread Aahz
imported: 2 (RSA: 1) > gpg: no ultimately trusted keys found > - End forwarded message - -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ Looking back over the years, after I learned Python I realized that I never really had enjoye

Re: [Python-Dev] The docs, reloaded

2007-05-21 Thread Aahz
d > perhaps be better if such packages show up as one entry, which shows > the sub-modules when clicked on. That's a good point in general, but I think we want to manually label some submodules as having entries in the global module index (notably os.path). -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] Instance variable access and descriptors

2007-06-10 Thread Aahz
isdata = value != NULL and hasattr(value, "__set__") if wasdata != isdata or (old == NULL) != (value === NULL): self._invalidate(cls, name) type.__setattr__(cls, name, value) def __delattr__(cls, name): se

Re: [Python-Dev] Investigated ref leak report related to thread (regrtest.py -R ::)

2007-06-18 Thread Aahz
to the list they get lost. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha ___ Python-Dev mailing list Python-Dev@python.org ht

Re: [Python-Dev] Python for embedding?

2007-07-07 Thread Aahz
e > LUA. This thread should go into either comp.lang.python or the python-ideas mailing list. python-dev is for discussions about the implementation of current python. Thanks. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pytho

Re: [Python-Dev] [PATCH] fixing 2.5.1 build with unicode and dynamic loading disabled

2007-07-11 Thread Aahz
On Wed, Jul 11, 2007, Alexander Neundorf wrote: > > A patch against 2.5.1 is attached. Patches to the list tend to get lost. Please post to SourceForge and then send the ID to python-dev. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ I supp

Re: [Python-Dev] Add a -z interpreter flag to execute a zip file

2007-07-13 Thread Aahz
I'm running a .jar file that does not contain "the world". OTOH, this is a development environment rather than a production environment, so theoretically I could just shove everything into the .jar file -- but I don't because that adds more time to the compile/link/jarjarjar cycle

Re: [Python-Dev] Three-char file extensions

2007-07-15 Thread Aahz
atted with FAT because that's the closest we have to a universal file format. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ I support the RKAB ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Planned updates for cjkcodecs before 2.4a1

2007-07-23 Thread Aahz
t me know where I could find it. You're asking in the wrong place, please use comp.lang.python; python-dev is for discussion of bug reports and similar topics. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ This is Python. We don't care much about t

Re: [Python-Dev] Two spaces or one?

2007-07-24 Thread Aahz
g > them. Two or more spaces are used to separate sentences. One space (for > example, G. D. Montanaro) following a period is considered a non-breakable > space. There's no need to invoke Emacs to argue for the superiority of two spaces after each sentence, according to this

Re: [Python-Dev] Bus error in transformer.py

2007-07-28 Thread Aahz
On Sat, Jul 28, 2007, Paul Colomiets wrote: > > [...] Because I can't resist: shouldn't that be a "truck error" if you're using transformer.py? For those who don't get it: http://en.wikipedia.org/wiki/Transformers_%28fiction%29 -- Aahz ([EMAIL PR

Re: [Python-Dev] Extending Python by Adding Keywords & Data types

2007-07-31 Thread Aahz
elf, use comp.lang.python or the capi-sig list. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ This is Python. We don't care much about theory, except where it intersects with useful practice. __

Re: [Python-Dev] any problem with py's RC?

2007-08-24 Thread Aahz
a suitable place for questions about how Python works. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "If you don't know what your program is supposed to do, you'd better not start writing it." --Dijkstra ___

Re: [Python-Dev] testing in a Python --without-threads build

2007-09-10 Thread Aahz
On Sat, Sep 08, 2007, "Martin v. L?wis" wrote: > > No. IIUC, "expected skips" are a platform property. For your platform, > support for threads is expected (whatever your platform is as log as > it was built in this millenium). Really? I thought NetBSD was st

Re: [Python-Dev] testing in a Python --without-threads build

2007-09-11 Thread Aahz
'riscos') I'm assuming that's because NetBSD has threads, they just don't work. So we don't want that to put NetBSD on the list of expected skips so that we find out when threads do work. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.co

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-11 Thread Aahz
move the GIL. You should review the work Greg Stein did to remove the GIL in 1.5.2; although the interpreter core has changed considerably since then, I believe the basic principles of the GIL are the same. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ &qu

Re: [Python-Dev] frozenset C API?

2007-09-11 Thread Aahz
the hostname you intend to use to an IP, then do reverse-DNS to find out whether the hostname is in fact the canonical hostname. If not, you're using the wrong hostname on your cert. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Many customs in th

Re: [Python-Dev] SSL certs

2007-09-12 Thread Aahz
SSL is that the hostname must have a unique IP address, so that when the client does a reverse DNS to validate the IP address presented by the SSL certificate, it all comes together correctly. There are, of course, wildcard certs; I don't understand how those work. -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] How to pickle class derived from c++ extension

2007-09-15 Thread Aahz
I possibly pickle an object of a python class which is > derived from the C++ extension? python-dev is not an appropriate place to ask questions about writing your own applications. I suggest the C++-sig or capi-sig lists or the comp.lang.python newsgroup. -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] Exploration PEP : Concurrency for moderately massive (4 to 32 cores) multi-core architectures

2007-09-18 Thread Aahz
rt in python-ideas. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. ___ Python-Dev mailing list Python-D

Re: [Python-Dev] Pygtk app and hangs.

2007-09-19 Thread Aahz
or the newsgroup comp.lang.python. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. ___ Python-Dev mailing lis

Re: [Python-Dev] GC Changes

2007-10-01 Thread Aahz
of de-allocations. See http://docs.python.org/lib/module-gc.html -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. __

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Aahz
e following exception: > Traceback (most recent call last): > File "", line 1, in > TypeError: not enough arguments for format string > > Note that this is the exact same revision running on the same machine, but > it doesn't work for the win32 version and does work fo

Re: [Python-Dev] Declaring setters with getters

2007-10-31 Thread Aahz
ne. That's why the property delegates to a normal method. (Kudos to Martelli for the idea.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith _

Re: [Python-Dev] Non-string keys in namespace dicts

2007-12-02 Thread Aahz
that's what killed the CACHE_ATTR patch several years ago (I was sprinting on that with Guido and Ping): http://mail.python.org/pipermail/python-dev/2007-June/073604.html -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typi

Re: [Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

2007-12-14 Thread Aahz
python-dev/2007-January/070772.html I would recommend requesting review from either Nick Maclaren or Tim Peters as well. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith

Re: [Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

2007-12-14 Thread Aahz
[private] On Fri, Dec 14, 2007, Guido van Rossum wrote: > On Dec 14, 2007 2:12 PM, Aahz <[EMAIL PROTECTED]> wrote: >> On Sat, Dec 08, 2007, [EMAIL PROTECTED] wrote: >>> On 05:20 pm, [EMAIL PROTECTED] wrote: >>>> >>>>The best solution I can think of

Re: [Python-Dev] functional continuations

2007-12-15 Thread Aahz
On Sat, Dec 15, 2007, tomer filiba wrote: > > i wanted to get some feedback on the issue (i tried c.l.p, but they > didn't understand me well enough): python-ideas is the best place for topics like this. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncr

Re: [Python-Dev] Deploying embedded Python

2007-12-17 Thread Aahz
st because you're asking questions about using Python rather than about improving the code in Python. You should use either comp.lang.python or capi-sig. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is chea

Re: [Python-Dev] Syntax suggestion for imports

2008-01-02 Thread Aahz
signals the special import is helpful; your suggestion is too light-weight IMO. If you could devise something just a bit heavier, that would be much better. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildi

Re: [Python-Dev] Syntax suggestion for imports

2008-01-03 Thread Aahz
t be helpful if others were to also search their > own code bases and post their findings: > > find . -name "*py" | xargs grep -C2 ImportError *py Most of my company's examples fall into cases like this: try: klass = load_class(foo) except ImportError: klass

Re: [Python-Dev] Extracting variables from string.Template objects

2008-01-04 Thread Aahz
sequences in Template.__init__? For the > applications I can imagine of string.Template, I would prefer to get > an error upon creating the Template object rather than arbitrarily > later when I try to .substitute with it. No, create an is_valid() method at best. -- Aahz ([EMAIL PROTECTED]

Re: [Python-Dev] Return type of round, floor, and ceil in 2.6

2008-01-05 Thread Aahz
s. As long as the core continues to adhere to the standard, there's no reason not to add convenience. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first w

Re: [Python-Dev] [Python-3000] Rounding Decimals

2008-01-07 Thread Aahz
should handle that? (Although I still like the idea of a .round() method for decimals, I think that round(Decimal()) is probably sufficient enough that I won't insist on it.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraf

Re: [Python-Dev] Extracting variables from string.Template objects

2008-01-08 Thread Aahz
On Fri, Jan 04, 2008, Isaac Morland wrote: > On Fri, 4 Jan 2008, Aahz wrote: > >>>Also, on a related issue, does it make sense to scan the template >>>string for invalid escape sequences in Template.__init__? For the >>>applications I can imagine of string.Temp

[Python-Dev] OSCON 2008 Call for Proposals

2008-01-12 Thread Aahz
The O'Reilly Open Source Convention (OSCON) is accepting proposals for tutorials and presentations. The submission period ends Feb 4. OSCON 2008 will be in Portland, Oregon July 21-25. For more information and to submit a proposal, see http://conferences.oreilly.com/oscon/ -- Aahz ([

Re: [Python-Dev] What to do for bytes in 2.6?

2008-01-20 Thread Aahz
stopping point for 2.x/3.x conversion help. There's nothing wrong with planning for features to go into 2.7 -- just as several PEPs in the past have had multi-version planning. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.

[Python-Dev] REMINDER: OSCON 2008 Call for Proposals

2008-01-23 Thread Aahz
The O'Reilly Open Source Convention (OSCON) is accepting proposals for tutorials and presentations. The submission period ends Feb 4. OSCON 2008 will be in Portland, Oregon July 21-25. For more information and to submit a proposal, see http://conferences.oreilly.com/oscon/ -- Aahz ([

[Python-Dev] functions vs methods (was Re: trunc())

2008-01-27 Thread Aahz
use the type of your data is not predetermined. In any event, I consider dropping len() from builtins to be gratuitous breakage, even in 3.0. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another le

[Python-Dev] DEADLINE Feb 4: OSCON 2008 Call for Proposals

2008-01-31 Thread Aahz
The O'Reilly Open Source Convention (OSCON) is accepting proposals for tutorials and presentations. The submission period ends Feb 4. OSCON 2008 will be in Portland, Oregon July 21-25. For more information and to submit a proposal, see http://conferences.oreilly.com/oscon/ -- Aahz ([

Re: [Python-Dev] Upcoming 2.5.2 release

2008-01-31 Thread Aahz
on.org/dev/peps/pep-0006/ The gist is that point releases are purely bugfix releases, because adding features lessens code quality and makes it more difficult to track changes. The big push to stick with PEP6 came from the mistake of adding True/False to Python 2.2.1. -- Aahz ([EMAIL PROTECTED

Re: [Python-Dev] svn repo out of disk?

2008-02-11 Thread Aahz
gt; Doug: > > You may not be aware that this issue occurred a couple of days ago, [...] Steve: You may not be aware that Doug sent his message a couple of days ago; it was simply delayed in transit. (Not that I wasn't confused myself until I looked at the Date: header.)

Re: [Python-Dev] dir() and __all__

2008-02-15 Thread Aahz
on. Have dir() exclude objects which > are modules. For example, dir(logging) would exclude sys, os, types, > time, string, cStringIO, and traceback. -1 I see what you're getting at, but I think this level of introspection breakage is a Bad Idea. -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-19 Thread Aahz
ur status reporting, not with the fact that there > are RFE's in the issue tracker ;) +1 -- speaking as someone who has done lots of tech support, I'm a big fan of the "one database" system. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com

<    1   2   3   4   5   6   >