| informationsyndicateUTC clock | event counters The last message was received 9.42 months ago at 16:22 on Aug 19, 2011 0 messages so far today, 0 messages yesterday 0 messages so far this week, 0 messages last week 0 messages so far this month, 0 messages last month 11 messages since the first one, 1.83 years ago, for an average of 2.03 months between messages recent messages date | project | content | link |
|---|
| 16:22 on Aug 19, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) > configure_linux2.python3.2.patch
It would probably be more future-proof to use "linux*)", not "linux3)" in the case expression. | # | | 15:29 on Aug 19, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) YAGNI. Nobody has needed sys.build_platform yet. (And no, sys.platform isn't it, since that's been fixed at linux2 approximately forever). Why do ... | # | | 02:36 on Aug 19, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) > Sure, you can compile and run Python on both versions of Linux, but
> what if your application uses features that are only present in Linux
> ... | # | | 00:32 on Aug 19, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) M.A., your comments do not make sense in the context of Linux. It does not actually require porting -- Linux 2.6.39 to Linux 3.0 is no more disrup ... | # | | 19:32 on Aug 18, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) > Well, except maybe if you plan to write applications working only on Python >= 2.7.3? ... this version is not released yet.
No, of course I d ... | # | | 03:05 on Aug 18, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) > I will backport the fix to 2.7 and 3.2.
Uh, wait, so does that mean you're *not* going to do the compatibility-preserving thing and force sys ... | # | | 15:43 on Aug 05, 2011 | Python | Commit by foom on roundup :: #12326/Linux 3: code should avoid using sys.platform == 'linux2': ( link) Oh wow, so it depends on the *build* time major version? That's really not useful at all for linux 2.x and 3.x; there is nothing useful anyone can ... | # | | 17:12 on Jan 13, 2011 | Python | Commit by foom on roundup :: #2650/re.escape should not escape underscore: ( link) Right you are, it seems that python's regexp implementation is terribly slow when doing replacements with a substitution in them. (fixing the brok ... | # | | 16:09 on Jan 13, 2011 | Python | Commit by foom on roundup :: #2650/re.escape should not escape underscore: ( link) Show your speed test? Looks 2.5x faster to me. But I'm running this on python 2.6, so I guess it's possible that the re module's speed was decimat ... | # | | 03:25 on Jan 08, 2011 | Python | Commit by foom on roundup :: #2650/re.escape should not escape underscore: ( link) I just ran into the impl of escape after being surprised that '/' was being escaped, and then was completely amazed that it wasn't just implemente ... | # | | 20:17 on Jul 29, 2010 | Python | Commit by foom on roundup :: #5154/OSX broken poll testing doesn't work: ( link) The reason it's a problem is because a "device" is everything other than a socket, pipe, slave-side of tty, or file. That is, /dev/null, /dev/zero ... | # |
|