Re: [Python-Dev] Another version of Python

2010-02-26 Thread skip
in a separate section at the end of the page. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Another version of Python

2010-02-27 Thread skip
mplementations page in my python.org website checkout. I'll suggest the link to the other pydotorg types. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-05 Thread skip
vironment (that's the industry I work in). No matter how well known the term is in the environment where it's used today you have to be sensitive to other meanings of the term. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.py

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-05 Thread skip
Java and its definition of the term is nowhere to be found. I suppose you can argue that it should be called "future". I still contend that the name is *not* intuitive, no matter how well known it happens to be within the Java world. Don't name it "

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-06 Thread skip
mind me of the __builtin__/__builtins__ confusion. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-08 Thread skip
> to Twisted Can this module at least be pushed down into a package? I think "concurrent" or "concurrency" were both suggested at one point. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/lis

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread skip
tation and the new re2 implementation for a long while into the future. As I was reading the code I thought, "Great! This stuff is so simple. It's even all written in C." Then I looked at the re2 page. :-( Skip ___ Python-Dev mailing list

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread skip
under the covers than I think it belongs in PyPI, not the Python distribution. That said, that suggests to me that a different NFA or DFA implementation written in C would replace sre, one not written in C++. Hopefully that provides some context

Re: [Python-Dev] C++

2010-03-12 Thread skip
: http://sourceforge.net/projects/pyqnx/ If all you care about are mainstream Windows, Unix/Linux and Mac OSX environments then C++ is no problem. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] C++

2010-03-13 Thread skip
lang.python but failed to find any needles in the haystack. Perhaps you will have better luck. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] "Fixing" the new GIL

2010-03-13 Thread skip
If the 5ms interval is too long would it be possible to adaptively reduce it in this situation? How would you detect it? I assume this would be akin to your interactiveness computation. Skip ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Joel Spolsky on Mercurial

2010-03-19 Thread skip
... cd /etc ; hg init ; hg add hosts") worked quite well, but when I tried to use it for something where I was actually working collaboratively (my lockfile module) I managed to get my code/branches/heads/whatever completely f**ked up. I gave up and just went back to S

Re: [Python-Dev] Google Groups mirror (Was: Bootstrap script for package management tool in Python 2.7)

2010-03-29 Thread skip
ct place to submit such a request would be postmas...@python.org. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Contribute

2010-03-29 Thread skip
Nick> I think there's a page on the wiki with suggestions on how to get Nick> started, but I don't have a link handy - hopefully someone else Nick> will chime in with it. :ring: :ring: :ring: http://www.python.org/dev/

Re: [Python-Dev] Contribute

2010-03-29 Thread skip
hat gnome love is (and would be hesitant to click on any such links, especially at work) but on bugs.python.org such items are tagged "easy". Right on the front page is a link with the label "Show Easy". Skip ___ Python-Dev ma

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-14 Thread skip
n-Mac folks involved in the release. I'm willing to give it a whirl (I have both a MacBook Pro and a PowerMac G5 at home - both running Max OSX 10.5.x (Leopard)) though I will almost certainly need a cheat sheet for the process. I normally treat my Macs as Unix boxes from a Python perspecti

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-14 Thread skip
e issue. Probably half the people with laptops at the last PyCon I attended were Macs. I suspect anyone with a recent Mac running Leopard or Snow Leopard should be able to build the binary release. It's probably just a matter of knowing how. Skip ___

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-14 Thread skip
was being put together by someone at (I think) Michigan State? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-14 Thread skip
- with *all* the C Michael> extensions that are part of a Python release - is not a trivial Michael> task. Isn't that just a matter of having the recipe written down somewhere? Skip ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-14 Thread skip
sw, /opt/local and /usr/local don't appear in any paths when the script is run? On my laptop (MacPorts installed, not Fink) I see that MANPATH, PATH and INFOPATH are currently "polluted" with /opt/local. MANPATH and PATH contain /usr/local. Skip

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-14 Thread skip
inary installer. (At the very least, searching /sw/include (for instance) could be suppressed if /sw/bin was not found in PATH. Similarly for /opt/local and /usr/local.) (ISTM the same might be true should people ever decide to once again build a Solaris installer. /opt/sfw is currently searched f

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-14 Thread skip
e out at the time how to get it to fire up on reboot. That was a few years ago. I think today that would easily be accomplished with an @reboot crontab entry. Dunno if that was available way back then, but it's certainly supported on Mac OSX now. Skip

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-14 Thread skip
to use tools which work across those platforms to the extent that I can. While @reboot is not universally available (Solaris doesn't support it as far as I can tell) it is still more common where I operate than launchd. Not to mention which I have to horse around with XML for config f

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-15 Thread skip
Ned> Any idea what type of machine it is and where it is currently Ned> located? I seem to recall it is/was a G4 XServe. My guess as to location would be at xs4all.nl. Skip ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Drop OS/2 support?

2010-04-16 Thread skip
Victor> Do we still support OS/2 or not? Yes. Andrew MacIntyre maintains the OS/2 port: http://www.andymac.org/ He's on python-dev. You mostly see activity from him around release time. I would contact him directly if you need some assistance from hi

Re: [Python-Dev] Enhanced tracker privileges for "dangerjim" to do triage.

2010-04-25 Thread skip
ching for him I'm fine with it. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do triage.

2010-04-25 Thread skip
much of our hardware and software humming and providing critical network expertise at PyCon. I don't think we have to be such slaves to a set of rules that we can't use an implicit trust network to make decisions in certain cases. I trust Sean's judgement. Skip _

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
more sense to find someone willing to maintain it outside the Python core and just remove it altogether? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mai

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
t than Python currently has? We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone in 2.6). I suspect the NNTP protocol has a greatly diminished user base as well, GMANE's presence notwithstanding. Skip ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
ean to suggest that it was complete. I sent my second reply before seeing Barry's reply about Mailman. That's certainly a reasonable use case. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Python wiki

2010-09-23 Thread skip
es a bag-o-pages after awhile. Thank goodness for Google. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Python wiki

2010-09-23 Thread skip
ho do actually update wiki content. Unfortunately, without donning my cape and blue tights, then digging into the users files on the wiki there's no real way to do that. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

Re: [Python-Dev] Python wiki

2010-09-25 Thread skip
s hosted on mail.python.org seem to restrict the list membership to the list admins, so leaving the status quo probably won't hurt anything. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] We should be using a tool for code reviews

2010-09-29 Thread skip
to find it than me. I became a convert watching the Unladen Swallow folks use it. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-

Re: [Python-Dev] Locked-in defect? 32-bit hash values on 64-bit builds

2010-10-15 Thread skip
Raymond> ... but the chance to fix it will be lost unless core devs get Raymond> more time to work on the problem or unless the ABI freeze is Raymond> deferred. +1 Skip ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)

2006-07-10 Thread skip
ssence of the desired behavior. None of the words in his list seem strongly suggestive of the meaning to me. I suspect that means one's ultimately as good (or as bad) as the rest. how-about-"lookout"?-ly, y'rs, Skip ___ Python-De

Re: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)

2006-07-10 Thread skip
scope would be operative, so I humbly suggest "parent". Since it might not just be in the immediate parent scope, how about "ancestor"? <0.5 wink> Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] urllib.quote and unicode bug resuscitation attempt

2006-07-11 Thread skip
s.encode('utf-8') Stefan> as suggested in Stefan> http://www.w3.org/International/O-URL-code.html Stefan> and rfc3986. Seems like the right way to do it to me. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] User's complaints

2006-07-11 Thread skip
along. Still, it is a bit annoying that the (undocumented, but I think de facto) commonly used idiom no longer works. (In fact, it always bothered me a bit that I had to even provide the unused values.) Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] User's complaints

2006-07-11 Thread skip
e that could have been avoided to me though. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] User's complaints

2006-07-12 Thread skip
; time.strftime("%b %d, %Y", (2005, 6, 4) + (1,)*6) 'Jun 04, 2005' instead (switching to the all-ones default that still works)? Martin> So this was changed in response to a bug report about a crash. Yeah, but it broke common (at the time) usage. Skip

Re: [Python-Dev] User's complaints

2006-07-13 Thread skip
bargain. His software started throwing off errors. At that point he read the NEWS file and saw the problem. He clearly wasn't fully master of the environment in which his customers ran his software, so I think it's understandable that he was caught by surprise by this change. Skip _

Re: [Python-Dev] User's complaints

2006-07-13 Thread skip
tware consultants like Greg Black. Another area where this particular process broke down was that there simply wasn't already a test case for the fairly common case of calling strftime with a six-zeroes pad to format a simple date. Had it been there already, it would have been discovered wh

Re: [Python-Dev] User's complaints

2006-07-13 Thread skip
x27;t gotten around to testing his software with 2.4 yet. Maybe the software was written on-site for a client and he didn't have access to it to even test in his own environment. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] Community buildbots

2006-07-13 Thread skip
er volume would be a subscription to the RSS feed of Python announcements on the python.org front page (scroll to the bottom). The buildbot idea sounds excellent. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

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

2006-07-13 Thread skip
lot of the "can't we please squeeze this one little change in?" that's been happening. Shortening a micro release a bit seems reasonably easy to accommodate, but since minor releases occur so infrequently, I think it would be better to stret

Re: [Python-Dev] Community buildbots

2006-07-14 Thread skip
, you could subscribe to the python-checkins mailing list. Most of the time you'd probably decide rather quickly to delete the messages, but the stuff you care about should be in the checkin comments. Skip ___ Python-Dev mailing list Python-Dev@

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

2006-07-14 Thread skip
is ready, 2.n would become "stable" and 2.(n+1) would Greg> become the new "unstable". In GCC don't they do an odd (stable)/even (unstable) release schedule? Same for Linux kernels? Would that help? Skip ___ Python-Dev mailin

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

2006-07-14 Thread skip
been less back-and-forth about a couple otherwise noncontroversial checkins. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

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

2006-07-14 Thread skip
trivial (a symlink change) to fall back to the latest stable release. Glyph, would that sort of scheme work for you? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

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

2006-07-14 Thread skip
the svn-up/make dance (at least on Unix-y systems - can it be much more difficult on Windows?). If it breaks something, either figure out why or drop back to 2.4 for a week or two and try again. If application breakage remains, investigate. Skip ___

Re: [Python-Dev] logging module broken because of locale

2006-07-20 Thread skip
s to work with older versions of Python. Looking at PEP 291 it looks like 1.5.2 compatibility is desired (no string methods, no unicode). I think a conscious decision by someone (probably Vinay Sajip) to give up that compatibility would be requir

Re: [Python-Dev] first draft of bug guidelines for www.python.org/dev/

2006-07-21 Thread skip
way to minimizing the problem.) Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Another uuid problem

2006-07-28 Thread skip
do a little investigation to find ifconfig and arp. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Patch submitted, now what?

2006-07-31 Thread skip
needs documentation does it have it? etc). Do that, attach comments to each of the five, then send a note here listing the five you reviewed and the patch id of your patch and one of those patch angels will take a look at your patch (if they haven't already). Skip _

[Python-Dev] clock_gettime() vs. gettimeofday()?

2006-08-01 Thread skip
x27;s possible to actually get more useful bits? On my Solaris 10/Intel desktop box clock_getres shows 0.01s resolution (not obviously better) while on a Linux box here it shows 0.001s resolution. Is that better than what gettimeofday() does? Skip ___ P

Re: [Python-Dev] TRUNK FREEZE 2006-07-03, 00:00 UTC for 2.5b3

2006-08-02 Thread skip
Jean-Paul> <http://sourceforge.net/tracker/index.php?func=detail&aid=1531405&group_id=5470&atid=105470>, Jean-Paul> or will changes be allowed between b3 and final? The latter. One would hope bugfixes only. Skip ___ Python-D

Re: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys

2006-08-08 Thread skip
Analysis as an advanced undergraduate class. ;-) (Sorry, couldn't resist...) Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Is this a bug?

2006-08-09 Thread skip
Matt> Could it be considered a bug in the atexit module (or is that what Matt> you meant)? Or a bug in the logging package? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] Type of range object members

2006-08-16 Thread skip
ocator also comes Martin> from the fact that it doesn't ever have to release memory. Just Martin> try changing it to see what I mean. Wouldn't use of obmalloc offset much of that? Before obmalloc was available, the int free list was a huge win. Is it likely t

[Python-Dev] link to community buildbot?

2006-08-31 Thread skip
s going to happen it seems like it would be a good idea to set up the relevant bits on both buildbots. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailm

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

2006-09-07 Thread skip
Jean-Paul> One could just as easily ask why no one bothers to read Jean-Paul> mailing list archives to see if their question has been Jean-Paul> answered before. Jean-Paul> No one will ever know, it is just one of the mysteries of the Jean-Paul> universe. +

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

2006-09-07 Thread skip
Jean-Paul> Sorry, brainfart. But still... QOTF ;-) S ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Unicode Imports

2006-09-08 Thread skip
Guido> IMO it's the call of the release managers. Board members ought to Guido> trust the release managers and not apply undue pressure. Indeed. Let's not go whacking people with boards. The Perl people would just laug

[Python-Dev] Maybe we should have a C++ extension for testing...

2006-09-13 Thread skip
is to test for cross-language problems? Either/or/neither/something else? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] list.discard? (Re: dict.discard)

2006-09-21 Thread skip
move where it only removes the first instance? When I want to remove something from a list I typically write: while x in somelist: somelist.remove(x) not "if" as in your example. Skip ___ Python-Dev mailing list Python-Dev@python.org ht

Re: [Python-Dev] Suggestion for a new built-in - flatten

2006-09-22 Thread skip
Michael> There are several different possible approaches in pure Python, Michael> but is this an idea that has legs ? Why not add it to itertools? Then, if you need a true list, just call list() on the returned iterator. Skip ___ Pyth

Re: [Python-Dev] list.discard? (Re: dict.discard)

2006-09-23 Thread skip
Greg> Or maybe remove() should just do nothing if the item is not Greg> found. If that's the case, I'd argue that dict.remove and set.remove should behave the same way, making .discard unnecessary. OTOH, perhaps lists should grow a .disca

Re: [Python-Dev] Maybe we should have a C++ extension for testing...

2006-09-23 Thread skip
ching the Python distribution when we install it. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] 2.4.4c1 October 11, 2.4.4 final October 18

2006-09-26 Thread skip
ts" or "license" for more information. (InteractiveConsole) >>> import sys >>> sys.stdout.close() Traceback (most recent call last): File "", line 1, in ? File "/Users/skip/src/python-svn/release24-maint/Lib/code.py", li

Re: [Python-Dev] 2.4.4c1 October 11, 2.4.4 final October 18

2006-09-27 Thread skip
Anthony> If you know of any backports that should go in, please make Anthony> sure you get them done before the 11th. skip> John Hunter (matplotlib author) recently made me aware of a skip> problem with code.InteractiveConsole. It doesn't protect itself sk

[Python-Dev] [SECUNIA] "buffer overrun in repr() for unicode strings" Potential Vulnerability (fwd)

2006-09-27 Thread skip
ts to know if the patch (which I believe has already been applied to all three active svn branches) is the source of the problem or if they want to know if it solves the buffer overrun problem. Are they suggesting that 10*size should be the character multiple in all cases? Skip --- Begin Message -

Re: [Python-Dev] 2.4.4c1 October 11, 2.4.4 final October 18

2006-09-27 Thread skip
ys.stdin etc has a valid and dup:able Fredrik> fileno when the console is instantiated ? Nothing, I suppose. I'm just concerned that the InteractiveConsole instance keep working after its interact() method is called. Skip ___ Python-Dev ma

Re: [Python-Dev] Python Doc problems

2006-09-29 Thread skip
ms of virtual paper. This sort of documentation is all but useless for a Python programmer like myself. I don't really need to know the five syntactic constructor variants. I need to know how to use the classes which have been exposed to me. I guess this is a long-winded way of

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

2006-09-30 Thread skip
uot;, a fair number of floats are allocated, a bit over 25% of them are -1.0, 0.0 or +1.0, and nearly 50% of them are whole numbers between -10.0 and 10.0, inclusive. Seems like it at least deserves a serious look. It would be nice to have the numeric crowd contribute to this subject as well.

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

2006-10-02 Thread skip
Most definitely. I just posted what I came up with in about two minutes. I'll add some code to track the high water mark as well and report back. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-

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

2006-10-02 Thread skip
Terry> "Kristján V. Jónsson" <[EMAIL PROTECTED]> wrote: >> Anyway, Skip noted that 50% of all floats are whole numbers between >> -10 and 10 inclusive, Terry> Please, no. He said something like this about Terry> *non-floating-point applic

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

2006-10-02 Thread skip
skip> Most definitely. I just posted what I came up with in about two skip> minutes. I'll add some code to track the high water mark as well skip> and report back. Using the smallest change I could get away with, I came up with these allocation figures (same as befo

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

2006-10-03 Thread skip
a small fraction of the cost and considerably greater Nick> generality. It isn't clear whether the effort justifies doing Nick> more. Doesn't that presume that optimizing just 0.0 could be done easily? Suppose 0.0 is generated all over the place in EVE? Skip __

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

2006-10-03 Thread skip
etween the two is apparent to the Python programmer? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

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

2006-10-03 Thread skip
Martin> b) it is likely that this change won't affect a significant Martin>number of applications (I'm pretty sure someone will notice, Martin>though; someone always notices). +1 QOTF. Skip ___ Python-Dev mail

Re: [Python-Dev] PATCH submitted: Speed up + for string concatenation, now as fast as "".join(x) idiom

2006-10-06 Thread skip
Greg> have you run any generic benchmarks such as pystone to get a Greg> better idea of what the net effect on "typical" python code is? MAL's pybench would probably be better for this presuming it does some addition with s

Re: [Python-Dev] PATCH submitted: Speed up + for string concatenation, now as fast as "".join(x) idiom

2006-10-07 Thread skip
told, there were only 22 hits, none for very long strings, so that doesn't explain the performance improvement. BTW, on my Mac (OSX 10.4.8) max() is not defined. I had to add a macro definition to string_concat. Skip ___ Python-Dev mailing list P

Re: [Python-Dev] Security Advisory for unicode repr() bug?

2006-10-07 Thread skip
rrently distribute is affected - 2.3.5 built Oct 5 2005). Would you provide a patch of some sort for Windows or just refer people to corrected installers? Given the apparently miserable results trying to get Windows users to install security fixes manually, I doubt a new 2.4.3 Windows installer

[Python-Dev] Can't check in on release25-maint branch

2006-10-08 Thread skip
ns/52226-1.txn': Permission denied subversion/clients/cmdline/util.c:380: (apr_err=13) svn: Your commit message was left in a temporary file: subversion/clients/cmdline/util.c:380: (apr_err=13) svn: '/Users/skip/src/python-svn/release25-maint/Doc/lib/svn-commit.4.tmp&#x

Re: [Python-Dev] Can't check in on release25-maint branch

2006-10-08 Thread skip
Tim> As Georg said, looks like you did a read-only checkout. Thanks Georg & Tim. That was indeed the problem. I don't know why I've had such a hard time wrapping my head around Subversion. Skip ___ Python-Dev mailing list Pyth

Re: [Python-Dev] Cloning threading.py using proccesses

2006-10-11 Thread skip
r/decoder, it might well be possible to apply the speedup ideas to marshal. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] svn.python.org down

2006-10-17 Thread skip
lf when I get a chance. Is this on a machine hosted by xs4all? If so, we can probably just ask them to monitor it from nagios (or whatever tool they use). Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread skip
es significant (e.g., do you really need range(1) to demonstrate the problem)? Also, I can never remember exactly, but are even-numbered minor numbers in GCC releases supposed to be development releases (or is that for the Linux kernel)? Just a few questions that come to mind. Skip __

[Python-Dev] OT: fdopen on Windows question

2006-10-20 Thread skip
bout stdin. Will this work: if ( std::strcmp( infile_name, "-" ) == 0 ) infile = std::fdopen( std::fileno(stdin), "rb" ); else infile = std::fopen( infile_name, "rb" ); That is, can I change stdin from

[Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

2006-10-20 Thread skip
te.connect(":memory:") calls. Sometimes there is a second parameter to the call. Anybody seen this before? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

2006-10-20 Thread skip
me up with so far on other platforms or on another Mac g5. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

2006-10-21 Thread skip
aries on darwin: gl, glu and glut. If I comment out all those tests, test_sqlite succeeds. If any of them are enabled, test_sqlite fails. I've taken this about as far as I can. I submitted a bug report here: http://python.org/sf/1581906 Skip

Re: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

2006-10-22 Thread skip
tems were "optimized". Is there anyone else with a g5 who can do a vanilla Unix (not framework) build on an up-to-date g5 from an up-to-date Subversion repository? It would be nice if someone else could at least confirm or not confirm this problem. Skip ___

Re: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

2006-10-22 Thread skip
, what's installed by Apple is 3.1.3. Aside from the possibility that I somehow compiled against /usr/include/sqlite3.h and linked against /usr/local/lib/libsqlite3.0.dylib, what difference should 3.3.8 vs. 3.1.3 have made? Skip ___ Python-Dev

Re: [Python-Dev] The "lazy strings" patch

2006-10-23 Thread skip
t;one obvious way to do" concatenation and slicing for one of the most heavily used types in python appears to be faster. That seems like a win to me. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] The "lazy strings" patch

2006-10-23 Thread skip
2.5 -> 2.6) requires external modules to Larry> recompile? Yes, in general, though you can often get away without it if you don't mind Python screaming at you about version mismatches. Skip ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread skip
Christopher> I'm wondering if my posts are going through?? Yup. Sorry, but I've no useful comments to make on your problems though. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread skip
kac" problem is. I will attempt to channel the other members of the group (OMM...) and suggest that folks are either (like me) unfamiliar with the problem domain or too busy at the moment to look into the details. Your Best Bet (tm) would be to file a bug report on SourceForge so it

[Python-Dev] test_codecs failures

2006-10-29 Thread skip
' AssertionError This failure seems to coincide with some checkins by Georg. Full output here: http://www.python.org/dev/buildbot/community/all/?show=g5%20OSX%20trunk&show=g5%20OSX%202.5 Skip ___ Python-Dev mailing list Python-Dev@p

<    1   2   3   4   5   6   7   8   9   10   >