[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: I added the patches as individual files and removed the zip file. -- ___ Python tracker ___ ___

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Removed file: http://bugs.python.org/file40226/python2.7-3.6-pgo.zip ___ Python tracker ___ ___ Python-bugs-l

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Added file: http://bugs.python.org/file40232/python3.6-pgo.patch ___ Python tracker ___ ___ Python-bugs-list

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : -- keywords: +patch Added file: http://bugs.python.org/file40231/python2.7-pgo.patch ___ Python tracker ___ _

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2015-08-22 Thread Paddy McCarthy
Paddy McCarthy added the comment: OK, here's a suggested re-wording: "Python is an interpreted, interactive, object-oriented programming language that also supports programming in procedural and functional styles. It incorporates modules, exceptions, dynamic typing, very high level dynamic dat

[issue23972] Asyncio reuseport

2015-08-22 Thread chris laws
chris laws added the comment: I have updated the patch to address comments raised by haypo. An exception is now raised if reuse_port is explicitly used and the platform does not support SOREUSEPORT. The docs have also been updated to make it more explicit that this feature is not supported on

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2015-08-22 Thread Brett Cannon
Brett Cannon added the comment: The problem is that technically Python is an object-oriented language as everything is a language (which is what makes Python more OO than Java). Having said that, you can use other programming styles. I'm fine with clarifying the entry in the FAQ that Python ca

[issue24917] time_strftime() Buffer Over-read

2015-08-22 Thread John Leitch
Changes by John Leitch : Added file: http://bugs.python.org/file40229/time_strftime_Buffer_Over-read.py ___ Python tracker ___ ___ Python-bugs

[issue24917] time_strftime() Buffer Over-read

2015-08-22 Thread John Leitch
New submission from John Leitch: Python 3.5 suffers from a vulnerability caused by the behavior of the time_strftime() function. When called, the function loops over the format string provided, using strchr to search for each instance of '%'. After finding a '%', it continues to search two cha

[issue4709] Mingw-w64 and python on windows x64

2015-08-22 Thread Steve Dower
Changes by Steve Dower : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: After typing 'run', enter 'bt' and post the results. On Sat, Aug 22, 2015 at 3:06 PM, Cyd Haselton wrote: > > Cyd Haselton added the comment: > > On August 22, 2015 2:47:42 PM CDT, Ryan Gonzalez > wrote: > > > >Ryan Gonzalez added the comment: > > > >I'm assum

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Cyd Haselton
Cyd Haselton added the comment: On August 22, 2015 2:47:42 PM CDT, Ryan Gonzalez wrote: > >Ryan Gonzalez added the comment: > >I'm assuming gdb still doesn't work? It does. I just don't know it well enough to know if the errors are something I'm doing wrong or something the program is doing wr

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: I'm assuming gdb still doesn't work? On August 22, 2015 1:06:41 PM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Update: >I found this bug report (https://bugs.python.org/issue23786) and >re-compiled python with -mno-unaligned-access as mention

[issue17781] optimize compilation options

2015-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: LTO (Link-Time Optimization) is not the same as PGO, though I guess it can take advantage of PGO for its heuristics. -- ___ Python tracker ___

[issue17781] optimize compilation options

2015-08-22 Thread Stefan Behnel
Stefan Behnel added the comment: Issue 24915 suggests PGO and comes with an actual patch. I suggest rejecting this ticket as too broad. -- nosy: +scoder ___ Python tracker ___ _

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Stefan Behnel
Stefan Behnel added the comment: Please upload your patches as separate, uncompressed files for review. PGO was already proposed here, but nothing came out of it: https://bugs.python.org/issue17781 I suggest rejecting that old ticket and sticking with this one since it has an actual patch. -

[issue24754] argparse add_argument with action="store_true", type=bool should not crash

2015-08-22 Thread Konstantin Molchanov
Konstantin Molchanov added the comment: Although I agree that specifying type with store_true or store_false is unnecessary, this shouldn't really be an error like this. Why not just ignore type if it can't be utilized? The error message implies the usage of add_argument is erroneous, however

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Cyd Haselton
Cyd Haselton added the comment: Update: I found this bug report (https://bugs.python.org/issue23786) and re-compiled python with -mno-unaligned-access as mentioned. test_hash still throws a bus error. Back to drawing boardsuggestions welcome. -- _

[issue24916] In sysconfig, don't rely on sys.version format

2015-08-22 Thread Thomas Kluyver
New submission from Thomas Kluyver: sysconfig currently calculates various formats of the Python version number by chopping up the sys.version string. This has a FIXME by it in the code, because the the format of sys.version is not guaranteed. With this patch, the config variables 'py_version'

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Alecsandru Patrascu
New submission from Alecsandru Patrascu: Hi All, This is Alecsandru from Server Scripting Languages Optimization team at Intel Corporation. I would like to submit a request to turn-on Profile Guided Optimization or PGO as the default build option for Python (both 2.7 and 3.6), given its perf