Re: Parsing ISO date/time strings - where did the parser go?

2012-09-08 Thread John Gleeson


On 2012-09-06, at 2:34 PM, John Nagle wrote:

 Yes, it should.  There's no shortage of implementations.
PyPi has four.  Each has some defect.

  PyPi offers:

iso8601 0.1.4   Simple module to parse ISO 8601 dates
iso8601.py 0.1dev   Parse utilities for iso8601 encoding.
iso8601plus 0.1.6   Simple module to parse ISO 8601 dates
zc.iso8601 0.2.0ISO 8601 utility functions



Here are three more on PyPI you can try:

iso-8601 0.2.3   Flexible ISO 8601 parser...
PySO8601 0.1.7   PySO8601 aims to parse any ISO 8601 date...
isodate 0.4.8An ISO 8601 date/time/duration parser and  
formater


All three have been updated this year.
--
http://mail.python.org/mailman/listinfo/python-list


Re: install pyOpenSSL in python2.7

2012-11-04 Thread John Gleeson


On 2012-11-03, at 2:58 AM, 水静流深 wrote:


i have install  pyOpenSSL-0.11  in python2.7  this way:
download  pyOpenSSL-0.11.tar.gz
 #tar -zvxf pyOpenSSL-0.11.tar.gz
 #cd pyOpenSSL-0.11
 #python setup.py install

>>> import  OpenSSL
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py",  
line 45, in 

from OpenSSL import rand, SSL
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so:  
undefined symbol: SSLv2_method



how can i fix the  problem?
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so:  
undefined symbol: SSLv2_method


--
http://mail.python.org/mailman/listinfo/python-list



The pyOpenSSL home page at https://launchpad.net/pyopenssl says that  
the latest

version is 0.11, but that is not true.

The latest version is 0.13.  You can get it on PyPI here
http://pypi.python.org/pypi/pyOpenSSL
SSLv2 is no longer supported in OpenSSL, and version 0.13 no longer  
expects it.


- John

--
http://mail.python.org/mailman/listinfo/python-list