inicio mail me! sindicaci;ón

Archive for May, 2006

Time is comin’

Here’s the today changelog:

  • implemented time.mktime()

  • implemented time.asctime()

  • implemented altzone, timezone, tzname, daylight attributes

  • implemented time.struct_time type

  • gmtime(), localtime() return struct_time instances

  • asctime(), mktime() accept struct_time as argument

  • implemented time.tzset()

the time module is almost finished. It lacks time.strftime() and time.strptime()

Some progress

  • clock() has been fixed to work correctly under FreeBSD

  • ctime(), localtime() and gmtime() have been implemented

I’ve also checked in a little script to bench ctypes-versions of the time routines.

Hit the clock (on Windows)

Windows in the VM is up and running (very well to be honest). So I managed to test the code on it and fix the bugs (win32 API is quite a mess for some things :P).

I’ve also installed PC-BSD because it’s a desktop operating system based upon FreeBSD 6.0 so I can test on BSD as well.

The only problem is MacOSX but I’m confindent :-)

Talking about the code itself: time.clock() works under windows and accept2dyear has been implemented .

Now I have an online svn repository: http://codespeak.net/svn/user/rhymes.

Computer setup and first info

In this exact time I’m trying to complete the setup of the virtual machine I need to work.

Since ctypes runs on Windows, MacOS X, Linux, Solaris and FreeBSD I’m gonna do my best to test it on all this platforms.

I have a dual boot machine with Linux and WinXP but to work dualboot is not feasible so today I’m installing Win2K Pro SP4 and FreeBSD 6.1 on VMWare. Next will be Solaris. The only real problem is the Apple’s operating system because I’m not a mac owner nor user (never use it to be honest), so I think I’ll need to find a way to test on it anyway.

I’ve already started developing and testing my first module: the time module. time.time() and time.sleep() are quite finished. I have to test them thoroughly on the other platforms.

That’s it.

Ready to roll on the summer of code

I’ve been accepted in the 2006 Google’s Summer Of Code! Yay, that’s great. Now I’m gonna do my best to complete the project in a way that satisfy me and my organization.

Here’s some details for you all:

organization: Python Software Foundation

project: PyPy

proposal: I’m going to port some CPython modules to Python + ctypes to leverage the rctypes layer built in PyPy. My work will be useful also to CPython regular users not also to those interested in PyPy (I sincerely hope everybody in the python community is interested in thefuture ;-))

Google didn’t post the official list yet but as far as i know they spent about $3,000,000 to fund 600 projects or so. A lot more than last year.

That’s wonderful!