[issue7975] dbshelve.py throws exception: AttributeError: 'DB' object has no attribute '__iter__'

2010-02-21 Thread Adam Collard
New submission from Adam Collard adam.coll...@gmail.com: Originally reported at: https://bugs.edge.launchpad.net/bugs/384602 In Python 2.6, the dbshelve.py module throws an AttributeError exception whenever a call is made to a method that depends upon an __iter__ method. The exception

[issue7975] dbshelve.py throws exception: AttributeError: 'DB' object has no attribute '__iter__'

2010-02-21 Thread Adam Collard
Adam Collard adam.coll...@gmail.com added the comment: Attached a simple example. -- Added file: http://bugs.python.org/file16280/dbshelve_example.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7975

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2013-01-22 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942 ___ ___ Python-bugs

[issue12681] unittest expectedFailure could take a message argument like skip does

2013-01-31 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12681 ___ ___ Python-bugs

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2013-01-31 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9495 ___ ___ Python-bugs-list

[issue12681] unittest expectedFailure could take a message argument like skip does

2013-07-06 Thread Adam Collard
Adam Collard added the comment: I've got a patch for this, but I'm a bit worried about the impact on the documented API. I've tried to do the best I could to minimize it through use of keyword-arguments but I'm a bit unsure about the change (and the docs too!) I hope this is useful to someone

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2013-07-06 Thread Adam Collard
Adam Collard added the comment: Use raise from None to avoid additional exception context -- Added file: http://bugs.python.org/file30800/argparse-raise-from-None ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9495

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-06 Thread Adam Collard
Adam Collard added the comment: The typo is no longer present, but the docs were still wrong. -- nosy: +adam-collard Added file: http://bugs.python.org/file30803/issue-12645-test-docs ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___ Python-bugs

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Adam Collard added the comment: Since this bug depends on a __future__ import I was advised to put the test in a separate file. -- Added file: http://bugs.python.org/file30815/issue-17349-wsgiref ___ Python tracker rep...@bugs.python.org http

[issue15370] test_runpy should include namespace package tests

2013-07-06 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15370 ___ ___ Python-bugs