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

2015-08-22 Thread Paddy McCarthy
New submission from Paddy McCarthy: Just read http://www.ibmsystemsmag.com/ibmi/developer/general/different-world-python/?utm_campaign=ibm-enewsutm_medium=emailutm_source=ibmi-jul22-2015?utm_content=exclusive1-headline It states that they could have had an officially supported version of

[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

[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: On August 22, 2015 2:47:42 PM CDT, Ryan Gonzalez rep...@bugs.python.org 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

[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 rep...@bugs.python.org wrote: Cyd Haselton added the comment: On August 22, 2015 2:47:42 PM CDT, Ryan Gonzalez rep...@bugs.python.org wrote: Ryan Gonzalez

[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 rep...@bugs.python.org http://bugs.python.org/issue17781

[issue4709] Mingw-w64 and python on windows x64

2015-08-22 Thread Steve Dower
Changes by Steve Dower steve.do...@python.org: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org http://bugs.python.org/issue17781

[issue24917] time_strftime() Buffer Over-read

2015-08-22 Thread John Leitch
Changes by John Leitch john.leit...@gmail.com: Added file: http://bugs.python.org/file40229/time_strftime_Buffer_Over-read.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24917 ___

[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

[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

[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 rep...@bugs.python.org wrote: Cyd Haselton added the comment: Update: I found this bug report (https://bugs.python.org/issue23786) and re-compiled python with

[issue24915] Profile Guided Optimization active by-default

2015-08-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24915 ___

[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.

[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

[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

[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. --