[issue13291] latent NameError in xmlrpc package

2011-10-31 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Apparently buildbot failures are caused by this commit:


==
ERROR: test_datetime_before_1900 (test.test_xmlrpc.XMLRPCTestCase)
--
Traceback (most recent call last):
  File 
/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_xmlrpc.py, line 
62, in test_datetime_before_1900
(newdt,), m = xmlrpclib.loads(s, use_datetime=1)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/xmlrpc/client.py, 
line 969, in loads
p.feed(data)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/xmlrpc/client.py, 
line 430, in feed
self._parser.Parse(data, 0)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/xmlrpc/client.py, 
line 662, in end
return f(self, .join(self._data))
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/xmlrpc/client.py, 
line 745, in end_dateTime
value = _datetime_type(data)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/xmlrpc/client.py, 
line 359, in _datetime_type
return datetime.strptime(data, %Y%m%dT%H:%M:%S)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/_strptime.py, line 
488, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
  File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/_strptime.py, line 
337, in _strptime
(data_string, format))
ValueError: time data '10210T11:41:23' does not match format '%Y%m%dT%H:%M:%S'

http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%203.x/builds/4704

--
assignee:  - flox
nosy: +pitrou
status: closed - open

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



[issue13291] latent NameError in xmlrpc package

2011-10-31 Thread Florent Xicluna

Florent Xicluna florent.xicl...@gmail.com added the comment:

This last issue is in the datetime module. issue #13305

--
status: open - closed

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



[issue13291] latent NameError in xmlrpc package

2011-10-30 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

I left a couple of comments on rietveld.

--
nosy: +ezio.melotti

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



[issue13291] latent NameError in xmlrpc package

2011-10-30 Thread Florent Xicluna

Florent Xicluna florent.xicl...@gmail.com added the comment:

Thank you. Patch updated.

--
Added file: http://bugs.python.org/file23551/issue13291_xmlrpc_v2.diff

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



[issue13291] latent NameError in xmlrpc package

2011-10-30 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset f3d454b20b35 by Florent Xicluna in branch '3.2':
Closes #13291: NameError in xmlrpc package.
http://hg.python.org/cpython/rev/f3d454b20b35

--
nosy: +python-dev
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue13291] latent NameError in xmlrpc package

2011-10-29 Thread Florent Xicluna

New submission from Florent Xicluna florent.xicl...@gmail.com:

There's two names which should be fixed in xmlrpc package:

--- a/Lib/xmlrpc/client.py
-elif isinstance(other, (str, unicode)):


--- a/Lib/xmlrpc/server.py
-response = xmlrpclib.dumps(
-xmlrpclib.Fault(1, %s:%s % (exc_type, exc_value)),


We may extend test coverage too.

--
components: Library (Lib), XML
messages: 146622
nosy: flox
priority: normal
severity: normal
stage: test needed
status: open
title: latent NameError in xmlrpc package
type: behavior
versions: Python 3.2, Python 3.3

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



[issue13291] latent NameError in xmlrpc package

2011-10-29 Thread Florent Xicluna

Florent Xicluna florent.xicl...@gmail.com added the comment:

Proposed fix, with some tests.

--
keywords: +patch
stage: test needed - patch review
Added file: http://bugs.python.org/file23549/issue13291_xmlrpc.diff

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