Nova verzija - 1.9.0 (postovi iznad updateovani)
What is new when compared with PyS60 1.4.5
Python 2.5.1 core, with much better compliance to the standard Python than before. Most of the modules in the standard library are included - basically almost all that make sense on this platform and even some that don't (for regression testing purposes). This includes such goodies as the Expat XML parser, ftplib, smtplib, urllib2, xmlrpclib, SimpleHTTPServer, cPickle, asyncore and especially the much more compliant socket module. Garbage collection is enabled, so there is no need to dismantle reference cycles anymore.
The 1.9.0 release improves things with the new all-in-one installer that gives you the packaging tool with GUI and a README file, the documentation and the SIS files needed for development on Windows platform, in a single package. Similarly for Linux/Mac platforms, an all-in-one archive is provided that includes all the contents provided by the installer except the GUI for the packaging tool.
Packaging Python applications to SIS files is much easier. The user-friendly Ensymble tool is now the official packaging tool, and we've made a GUI for it so packaging your application is now just a button press away.
The environment for SIS packaged applications is closer to the script shell environment, since the script shell is no longer a special case but just a regular application packaged using the Ensymble tool. This should make testing your application easier.
PyS60 extension modules socket and calender are renamed to btsocket and e32calender due to the conflicting names with Python core modules. Two packaging modes pys60 and pycore have been provided with ensymble tool to maintain the compatibility with PyS601.4.x binaries. The existing scripts dependent on these extension modules need not be modified if it is packaged with pys60 mode.
SIS packaged applications are now more robust:
If the runtime is missing and you try to launch the application, a human readable error message is displayed instead of the application just failing to start, like before.
If the application raises an exception on startup, the traceback is printed on the screen instead of the application quitting silently.
The applications have a default text console just like in the script shell environment, so printing text using the print statement works the same way in SIS packaged apps and the script shell.
On 3.2 devices, access GPS out of the box without signing hassle! Since S60 3.2 devices now permit the Location capability for self-signed applications, that capability is now enabled by default in the 3.2 builds.
The UID of Python runtime and PythonScriptShell has changed.
The script directory of PythonScriptShell is changed from C:\python to C:\data\python\
To support co-existence of 1.4.x and 1.9.0 Python runtimes, the binaries of the latter version are prefixed with '251_' and the import hook in site.py is modified to look for the renamed binary.