On Sat, Mar 31, 2012 at 02:26, Steven D'Aprano st...@pearwood.info wrote:
Guido van Rossum wrote:
If all else fails, I'd go with turnip.
I can't tell if you are being serious or not.
For the record, turnip in this sense is archaic slang for a thick pocket
watch.
If I understand this
On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka storch...@gmail.com wrote:
I don't understand why Python may not include the pytz. The Olson tz
database is not part of pytz.
Yes it is.
Python can depend on a system tz database
That works on Unix, but not on Windows, where there is no Olsen
On Sat, Mar 31, 2012 at 8:27 AM, Lennart Regebro rege...@gmail.com wrote:
So, how about time.timer()?
That seems like a bad idea; it would be too easy to confuse with (or misspell
as) time.time().
Out of the big synonym list Guido posted, I rather like time.stopwatch() - it
makes it more
On 31 Mar 2012, at 07:32, Lennart Regebro wrote:
On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka storch...@gmail.com wrote:
I don't understand why Python may not include the pytz. The Olson tz
database is not part of pytz.
Yes it is.
Python can depend on a system tz database
That
Updated NEWS as Terry Reedy recommended.
Thank you, Terry.
On Sat, Mar 31, 2012 at 12:59 AM, Terry Reedy tjre...@udel.edu wrote:
On 3/30/2012 2:31 PM, Andrew Svetlov wrote:
Thank you for mentoring.
I will fix NEWS if you help me with better text.
I believe a succint message would be
The frozendict builtin type was rejected, but we are going to add
types.MappingProxyType: see issue #14386.
types.MappingProxyType(mydict.copy()) is very close to the frozendict
builtin type.
Victor
Thanks, Victor. :)
Will this mean the new dict subclass for CPython will not expose
On Sat, Mar 31, 2012 at 12:28, Michael Foord fuzzy...@voidspace.org.uk wrote:
*However*, doesn't Windows have its own system database?
Yeah, but it sucks.
The problem is that in order to not include the olsen database, pytz
would need to be modified to use the system database on Windows.
Hi
Has anyone used Cython for developing a module to be used from
postgreSQL/pl/python.
Something that calls back to PostgreSQL internals.
---
Hannu Krosing
PostgreSQL Unlimited Scalability and Performance Consultant
2ndQuadrant Nordic
PG Admin Book: http://www.2ndQuadrant.com/books/
Hannu Krosing, 31.03.2012 14:22:
Has anyone used Cython for developing a module to be used from
postgreSQL/pl/python.
Something that calls back to PostgreSQL internals.
Note that this is the CPython core developers mailing list, for which your
question is off-topic. Please ask on the
On Sat, 2012-03-31 at 14:41 +0200, Stefan Behnel wrote:
Hannu Krosing, 31.03.2012 14:22:
Has anyone used Cython for developing a module to be used from
postgreSQL/pl/python.
Something that calls back to PostgreSQL internals.
Note that this is the CPython core developers mailing list,
Hi,
Does anyone object if I submit my patches sxs.patch and errnomodule.patch?
These allow python to work correctly when built with vs2010.
There is also the PCBuild10.patch, but that can wait. I'm sure a number of
people are regularly building python using vs2010 using their own modified
Hi there.
Antoine Pitroue requested that this topic (http://bugs.python.org/issue14310)
be discussed by python-dev before moving further.
I'm adding a windows-only api to share sockets between processes to _socket
in the canonical way.
Multiprocessing already has code for this (using
Hannu Krosing ha...@krosing.net writes:
Has anyone used Cython for developing a module to be used from
postgreSQL/pl/python.
Something that calls back to PostgreSQL internals.
Are you aware that PostgreSQL has long provided Python as a language for
writing stored procedures in the database?
On Sun, 2012-04-01 at 00:44 +1100, Ben Finney wrote:
Hannu Krosing ha...@krosing.net writes:
Has anyone used Cython for developing a module to be used from
postgreSQL/pl/python.
Something that calls back to PostgreSQL internals.
Are you aware that PostgreSQL has long provided Python
2012/3/31 Kristján Valur Jónsson krist...@ccpgames.com:
Hi,
Does anyone object if I submit my patches sxs.patch and errnomodule.patch?
These allow python to work correctly when built with vs2010.
There is also the PCBuild10.patch, but that can wait. I'm sure a number of
people are
On Sat, 31 Mar 2012 07:43:28 -0400, Etienne Robillard animelo...@gmail.com
wrote:
Yet I might miss how this new dict type could potentially induce a
RuntimeError unless in python 3.3 a new dict proxy alias is introduced
to perform invariant operations in non thread-safe code.
Etienne,
On Thu, Mar 29, 2012 at 1:48 PM, R. David Murray rdmur...@bitdance.com wrote:
On Thu, 29 Mar 2012 16:31:03 -0400, R. David Murray rdmur...@bitdance.com
wrote:
On Thu, 29 Mar 2012 13:09:17 -0700, Guido van Rossum gu...@python.org
wrote:
My original assessment was that this only affects
On Sat, Mar 31, 2012 at 9:21 PM, Andrew Svetlov
andrew.svet...@gmail.com wrote:
Updated NEWS as Terry Reedy recommended.
Thank you, Terry.
Thanks to you both :)
Cheers,
Nick.
--
Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia
___
On Sun, Apr 1, 2012 at 2:09 AM, Guido van Rossum gu...@python.org wrote:
Here's a different puzzle. Has anyone written a demo yet that provokes
this RuntimeError, without cheating? (Cheating would be to mutate the
dict from *inside* the __eq__ or __hash__ method.) If you're serious
about
Does anyone object if I submit my patches sxs.patch and errnomodule.patch?
These allow python to work correctly when built with vs2010.
Please see my review: allow to work correctly is not a good explanation
of what it does, and why it does that. As it is highly counter-intuitive,
it needs at
Can you recommend a similar place for asking the same queston about
ctypes ?
That is using ctypes for calling back to outer c application which
embeds the python interpreter.
ISTM that Postgres lists should be the best place for this kind of question.
Alternatively, try python-list or db-sig.
On Sun, 01 Apr 2012 03:03:13 +1000, Nick Coghlan ncogh...@gmail.com wrote:
On Sun, Apr 1, 2012 at 2:09 AM, Guido van Rossum gu...@python.org wrote:
Here's a different puzzle. Has anyone written a demo yet that provokes
this RuntimeError, without cheating? (Cheating would be to mutate the
On 3/31/2012 6:28 AM, Michael Foord wrote:
On 31 Mar 2012, at 07:32, Lennart Regebro wrote:
On Fri, Mar 30, 2012 at 12:38, Serhiy
Storchakastorch...@gmail.com wrote:
I don't understand why Python may not include the pytz. The Olson
tz database is not part of pytz.
Yes it is.
Python can
On Sat, Mar 31, 2012 at 10:20 PM, Terry Reedy tjre...@udel.edu wrote:
So I think we should define correct behavior of pytz as use with the latest
Olson database. Use with an older version would then be a 'bug' subject to
being fixed. On Windows, we could update as needed with every bugfix
Try reducing sys.setcheckinterval().
--Guido van Rossum (sent from Android phone)
On Mar 31, 2012 10:45 AM, R. David Murray rdmur...@bitdance.com wrote:
On Sun, 01 Apr 2012 03:03:13 +1000, Nick Coghlan ncogh...@gmail.com
wrote:
On Sun, Apr 1, 2012 at 2:09 AM, Guido van Rossum
2012/3/31 Guido van Rossum gu...@python.org:
Try reducing sys.setcheckinterval().
setcheckinterval() is a no-op since the New-GIL. sys.setswitchinterval
has superseded it.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
On 03/31/2012 12:47 AM, Victor Stinner wrote:
Can you go into more detail about QPC()'s issues?
Yes, see the PEP:
http://www.python.org/dev/peps/pep-0418/#windows-queryperformancecounter
FYI, Victor, the PEP is slightly incomplete. Not that this is your
fault--you've done your homework.
On Apr 1, 2012 8:54 AM, Benjamin Peterson benja...@python.org wrote:
2012/3/31 Guido van Rossum gu...@python.org:
Try reducing sys.setcheckinterval().
setcheckinterval() is a no-op since the New-GIL. sys.setswitchinterval
has superseded it
Ah, that's at least one thing wrong with my
FYI, Victor, the PEP is slightly incomplete.
Sure. What should be added to the PEP?
But there's another problem: the TSC frequency actually *does*
change when SpeedStep kicks in. I know someone who complained bitterly
about running Half-Life 2 on their shiny new laptop, and when it'd
If we provide a way to check if the monotonic clock is monotonic (or
not), I agree to drop the flag from time.monotonic(fallback=True) and
always fallback. I was never a fan of the truly monotonic clock.
time.clock_info('monotonic')['is_monotonic'] is a good candidate to
store this
On Sat, Mar 31, 2012 at 11:10 PM, kristjan.jonsson
python-check...@python.org wrote:
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -507,6 +507,7 @@
Richard Jones
Irmen de Jong
Lucas de Jonge
+Kristján Valur Jónsson
Jens B. Jorgensen
John Jorgensen
Sijin
On Sat, Mar 31, 2012 at 7:37 PM, Victor Stinner
victor.stin...@gmail.com wrote:
If we provide a way to check if the monotonic clock is monotonic (or
not), I agree to drop the flag from time.monotonic(fallback=True) and
always fallback. I was never a fan of the truly monotonic clock.
32 matches
Mail list logo