This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou
Date 2011-02-11.00:11:42
SpamBayes Score 0.00022677725
Marked as misclassified No
Message-id <1297383103.21.0.0381281186819.issue11179@psf.upfronthosting.co.za>
In-reply-to
Content
The ccbench shipped with 3.2 is supposed to work with older versions but:

Traceback (most recent call last):
  File "/home/antoine/py3k/py3k/Tools/ccbench/ccbench.py", line 609, in <module>
    main()
  File "/home/antoine/py3k/py3k/Tools/ccbench/ccbench.py", line 564, in main
    latency_client(**kwargs)
  File "/home/antoine/py3k/py3k/Tools/ccbench/ccbench.py", line 279, in latency_client
    with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock:
AttributeError: 'socket' object has no attribute '__exit__'
History
Date User Action Args
2011-02-11 00:11:43pitrousetrecipients: + pitrou
2011-02-11 00:11:43pitrousetmessageid: <1297383103.21.0.0381281186819.issue11179@psf.upfronthosting.co.za>
2011-02-11 00:11:42pitroulinkissue11179 messages
2011-02-11 00:11:42pitroucreate