A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-December/031738.html below:

[Python-checkins] python/nondist/sandbox/datetime obj_time.c,1.16,1.17

[Python-checkins] python/nondist/sandbox/datetime obj_time.c,1.16,1.17tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sat, 14 Dec 2002 08:53:16 -0800
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv8154

Modified Files:
	obj_time.c 
Log Message:
Dang, it's hard to keep int-vs-long straight here.  I'm sorely tempted
to change all instances of one to the other.


Index: obj_time.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/obj_time.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** obj_time.c	14 Dec 2002 16:50:16 -0000	1.16
--- obj_time.c	14 Dec 2002 16:53:14 -0000	1.17
***************
*** 223,231 ****
  				      &minute);
  			if (0 <= hour && hour < 24)
! 				temp = new_time(hour, minute,
  						TIME_GET_SECOND(self),
  						TIME_GET_MICROSECOND(self));
  			else
! 				temp = Py_BuildValue("iiii",
  					   hour, minute,
  					   TIME_GET_SECOND(self),
--- 223,231 ----
  				      &minute);
  			if (0 <= hour && hour < 24)
! 				temp = new_time((int)hour, (int)minute,
  						TIME_GET_SECOND(self),
  						TIME_GET_MICROSECOND(self));
  			else
! 				temp = Py_BuildValue("llii",
  					   hour, minute,
  					   TIME_GET_SECOND(self),





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4