Re: [Python-Dev] Upgrading tcl/tk deps

2012-04-10 Thread Martin v. Löwis
> The Tk fix Terry refers is applicable only to the OS X Aqua Cocoa Tcl/Tk > 8.5 port. It has nothing to do with Windows, any other OS X Tcl/Tk, or > any other platform. Further, the Tcl/TK source Martin is talking about > is used only by the Windows installer builds. The python.org OS X > i

Re: [Python-Dev] this is why we shouldn't call it a "monotonic clock" (was: PEP 418 is too divisive and confusing and should be postponed)

2012-04-10 Thread Victor Stinner
>> We're going around in circles. I'm not asking what sleep does, I want >> on principle a timer that does the same thing as sleep(), regardless >> of how sleep() works. So if on some OS sleep() uses the same algorithm >> as CLOCK_MONOTONIC_RAW, I want my timer to use that too. But if on >> some ot

Re: [Python-Dev] PEP 418 is too divisive and confusing and should be postponed

2012-04-10 Thread Victor Stinner
>> In any case, NTP is not the only thing that adjusts the clock, e.g. the >> operating system will adjust the time for daylight savings. > > Daylight savings time is not a clock adjustment, at least not in the sense > this thread has mostly been talking about the word "clock".  It doesn't > affect

Re: [Python-Dev] Possible change to logging.handlers.SysLogHandler

2012-04-10 Thread Gregory P. Smith
On Fri, Apr 6, 2012 at 1:06 PM, Vinay Sajip wrote: > There is a problem with the way logging.handlers.SysLogHandler works > when presented with Unicode messages. According to RFC 5424, Unicode > is supposed to be sent encoded as UTF-8 and preceded by a BOM. > However, the current handler implemen

Re: [Python-Dev] Possible change to logging.handlers.SysLogHandler

2012-04-10 Thread Vinay Sajip
Gregory P. Smith krypto.org> writes: > Given the existing brokenness I personally think that removing the BOM > insertion (because it is incorrect) in 2.7 and 3.2 is fine if you cannot find > a way to make it correct in 2.7 and 3.2 without breaking existing APIs. Thanks for the feedback. > cou

Re: [Python-Dev] PEP 418 is too divisive and confusing and should be postponed

2012-04-10 Thread Janzert
On 4/7/2012 5:49 AM, Victor Stinner wrote: 2012/4/7 Janzert: On 4/5/2012 6:32 AM, Victor Stinner wrote: I prefer to use CLOCK_MONOTONIC, not because it is also available for older Linux kernels, but because it is more reliable. Even if the underlying clock source is unstable (unstable frequency

[Python-Dev] PEP 418 glossary

2012-04-10 Thread Jim Jewett
I believe PEP 418 (or at least the discussion) would benefit greatly from a glossary to encourage people to use the same definitions. This is arguably the Definitions section, but it should move either near the end or (preferably) ahead of the Functions. It also needs to be greatly expanded. Her