[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-06 Thread Florin Papa
Florin Papa added the comment: No problem. Thank you for merging the patch! -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-04 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Florin! Only changes I made was to deprecate django_v2 and to set the minimum Python version to 2.7. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tra

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a9b86071c15 by Brett Cannon in branch 'default': Issue #24934: Introduce the django_v2 benchmark using Django 1.9.0. https://hg.python.org/benchmarks/rev/8a9b86071c15 -- nosy: +python-dev ___ Python trac

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-03 Thread Florin Papa
Florin Papa added the comment: I have attached django_v3_3.patch, as the previous one did not include the added file (performance/bm_django_v3.py). -- Added file: http://bugs.python.org/file41223/django_v3_3.patch ___ Python tracker

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-03 Thread Florin Papa
Florin Papa added the comment: I have adapted the existent patch to the new benchmarks codebase. Please see the new patch (django_v3_2.patch) in the files section. The benchmark expects to have django in lib/Django-1.9 folder. The Django-1.9 sources are attached separately because of their siz

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-03 Thread Florin Papa
Changes by Florin Papa : Added file: http://bugs.python.org/file41222/Django-1.9.tar.gz ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue24934] django_v2 benchmark not working in Python 3.6

2015-12-02 Thread Brett Cannon
Brett Cannon added the comment: Django 1.9 is out, so when I have time I will create a django_v3 benchmark. -- ___ Python tracker ___

[issue24934] django_v2 benchmark not working in Python 3.6

2015-11-04 Thread R. David Murray
R. David Murray added the comment: An additional argument for waiting is issue 25486. -- type: crash -> behavior ___ Python tracker ___ __

[issue24934] django_v2 benchmark not working in Python 3.6

2015-09-01 Thread Brett Cannon
Brett Cannon added the comment: I would still rather wait until Django 1.9.0 is officially released else we are benchmarking alpha code which doesn't seem worth it. With Python 3.6.0 not due out until about 15 months after 1.9.0 comes out I think going 3 months without a Django benchmark for 3

[issue24934] django_v2 benchmark not working in Python 3.6

2015-09-01 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24934] django_v2 benchmark not working in Python 3.6

2015-09-01 Thread Florin Papa
Florin Papa added the comment: Please download Django from their github website: https://github.com/django/django I checked and their latest stable release - Django 1.8.4 - from https://pypi.python.org/pypi/Django still has the getargspec issue. Apparently the github version is 1.9.0 alpha. I

[issue24934] django_v2 benchmark not working in Python 3.6

2015-09-01 Thread Florin Papa
Changes by Florin Papa : Added file: http://bugs.python.org/file40315/Django-1.9.zip ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24934] django_v2 benchmark not working in Python 3.6

2015-09-01 Thread Berker Peksag
Berker Peksag added the comment: I just downloaded Django-1.8.zip (florin.papa, 2015-08-27 11:49) and opened Django-1.8/django/__init__.py to check the Django version: VERSION = (1, 9, 0, 'alpha', 0) I think GitHub lets you download the master branch by default. I'd suggest to download th

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-31 Thread Brett Cannon
Brett Cannon added the comment: Hmm, strange. I downloaded Django 1.8.latest myself and placed it and I still got the getargspec() failure using the default branch. I'll try again and verify that it wasn't something odd on my end. -- ___ Python trac

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-31 Thread Florin Papa
Florin Papa added the comment: The Django 1.8 archive that I attached is not patched, it is downloaded from the django github page without modifications. I have tested and Django 1.8 works with the latest Python version pulled from hg.python.org/cpython. -- ___

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-28 Thread Brett Cannon
Brett Cannon added the comment: Changeset 2f3b3c6c1190 adds the version range check to django_v2 to block it past 3.5. I didn't add the django_v3 quite yet because I didn't realize that Django 1.8 won't work without being manually patched by us (I thought that issue was limited to our Django

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Both the fix and the v3 benchmark sound good to me. Note I haven't tried them. -- ___ Python tracker ___ ___

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-27 Thread Florin Papa
Florin Papa added the comment: I have modified the Django-1.8.zip archive to extract to Django-1.8 directory. To apply the patch please follow these steps: hg clone https://hg.python.org/benchmarks cd benchmarks/ copy django_v3.patch to the current directory and Django-1.8.zip to the lib/ dire

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-26 Thread Brett Cannon
Brett Cannon added the comment: LGTM on a cursory glance. Hopefully someone will have time to try the patch out and then commit it if everything works out. -- stage: -> commit review ___ Python tracker __

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-26 Thread Florin Papa
Changes by Florin Papa : Added file: http://bugs.python.org/file40260/Django-1.8.zip ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-26 Thread Florin Papa
Florin Papa added the comment: I have modified the patch to introduce django_v3 to the benchmark suite and deprecate django_v2 for Python 3.6 and up. In order for django_v3 to work, the latest django release must be present in lib/Django-1.8. Django-1.8 is attached as a zip file because the pa

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-25 Thread Florin Papa
Florin Papa added the comment: Thank you all for your feedback on this matter. According to the docs, starting from version 3.4, getfullargspec() is based on signature(), therefore the performance impact would not differ from the proposed implementation. I will check if a newer version of dja

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: According to the docs, getargspec() should be replaced with getfullargspec(), which returns a compatible named tuple. This would probably also minimize the performance impact of the patch (I'm not sure getargspec() is in the critical path, but let's be careful

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-25 Thread R. David Murray
R. David Murray added the comment: Florin is covered by the Intel corporate agreement. I've updated his user record accordingly. -- nosy: +r.david.murray stage: patch review -> type: -> crash ___ Python tracker

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-25 Thread Brett Cannon
Brett Cannon added the comment: The proposed patch directly modifies the copy of Django in the benchmark suite which isn't acceptable; we purposefully don't modify the project code we pull in for benchmark consistency and ease of maintenance. It would be better to make sure a newer version of

[issue24934] django_v2 benchmark not working in Python 3.6

2015-08-25 Thread Florin Papa
New submission from Florin Papa: Hi All, My name is Florin Papa and I work in the Server Languages Optimizations Team at Intel Corporation. I would like to submit a patch that solves compatibility issues of the django_v2 benchmark in the Grand Unified Python Benchmark. The django_v2 benchmar