New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pybench for python 3.0 #48954
Comments
pybench needs to be updated for Python 3.0, in particular to remove use of Questions (mainly for Marc-André Lemburg):
|
On 2008-12-20 11:54, Mark Dickinson wrote:
Just the tests that have been updated. Since there have been a number of small changes, I think it's
I don't think they should go into 3.0.1 - they are a new feature I'll leave that decision to the release manager. Please backport to 2.7 only.
Please run the suite and add the complete new output. Thanks,Marc-Andre Lemburg 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 |
Thanks for the responses!
But if these changes don't go into 3.0.1, and the removal of cmp does, |
On 2008-12-22 15:07, Mark Dickinson wrote:
... or a good case for not removing cmp() from 3.0.1 :-) I have a feeling that people are mixing up the reasons for removal Anyway, like I said: the release manager should decide. |
Since cmp is slated for removal, this should also be done for 3.0.1. |
The patch changes results a lot compared to the previous version |
On 2009-02-01 00:39, Antoine Pitrou wrote:
Even better. However, please see my comments on the ticket:
Thanks,Marc-Andre Lemburg ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 |
Updated patch. |
Perfect ! Thanks, Antoine. Please check it in. On 2009-02-06 18:19, Antoine Pitrou wrote:
|
On 2009-02-06 18:35, Marc-Andre Lemburg wrote:
Well, except for this part that sneaked in: @@ -4,8 +4,6 @@ """ -# Note: Please keep this module compatible to Python 1.5.2. It's ok to bump this to Python 2.3, though :-) |
The current version only works with 3.x, due to the use of the print Regards Antoine. |
On 2009-02-06 23:25, Antoine Pitrou wrote:
If possible, pybench should work unchanged in both Python 2.x and 3.x. If the only change needed for this is a new print function, then def print3(*args, end='\r'):
sys.stdout.write(' '.join(*args))
sys.stdout.write(end)
sys.stdout.flush() (untested, but the idea should be clear) |
Ok, the best I can do is to make it 2.6-compatible. For versions before |
Committed in r69411, r69412. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: