[issue9079] Make gettimeofday available in datetime module

2010-06-24 Thread Alexander Belopolsky

New submission from Alexander Belopolsky belopol...@users.sourceforge.net:

Attached patch moves cross-platform logic of obtaining current time to _time.c 
which is shared between time and datetime modules.  This simplifies both 
modules and reduces the datetime module dependency on the time module.

--
assignee: belopolsky
components: Extension Modules
files: gettimeofday.diff
keywords: needs review, patch
messages: 108575
nosy: belopolsky, mark.dickinson
priority: normal
severity: normal
stage: patch review
status: open
title: Make gettimeofday available in datetime module
versions: Python 3.2
Added file: http://bugs.python.org/file17766/gettimeofday.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9079] Make gettimeofday available in datetime module

2010-06-24 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

The new patch, issue9079.diff exposes gettimeofday as time.gettimeofday() 
returning (sec, usec) pair.

--
Added file: http://bugs.python.org/file17767/issue9079.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9079] Make gettimeofday available in datetime module

2010-06-24 Thread Alexander Belopolsky

Changes by Alexander Belopolsky belopol...@users.sourceforge.net:


Removed file: http://bugs.python.org/file17766/gettimeofday.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com