Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Victor Stinner
2015-10-02 9:37 GMT+02:00 Nick Coghlan : > Spell it as "sys.implementation.debug_build" and I'm in favour. Oh, in fact, I don't have no preference between sys.debug_flag and sys.implementation.debug_flag. If I understood correctly, Serhiy would prefer

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Maciej Fijalkowski
Speaking of other python implementations - why would you even care? (the pypy debug build has very different properties and does very different stuff for example). I would be very happy to have this clearly marked as implementation-dependent and that's why it would be cool to not be in sys (there

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Barry Warsaw
On Oct 02, 2015, at 11:46 AM, Victor Stinner wrote: >Should I write a PEP for a new field in sys.implementation? Specifically PEP 421 says that a PEP is needed if the new sys.implementation attribute is required to be defined in all implementations, i.e. it's a new required attribute. Will

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Victor Stinner
2015-10-02 13:16 GMT+02:00 Nir Soffer : > Whats wrong with: > sysconfig.get_config_var('Py_DEBUG') > 0 Again, refer to my first message "On the Internet, I found various recipes to check if Python is compiled is debug mode. Sadly, some of them are not portable." I don't

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Nir Soffer
Whats wrong with: >>> sysconfig.get_config_var('Py_DEBUG') 0 Nir On Fri, Oct 2, 2015 at 10:18 AM, Victor Stinner wrote: > Hi, > > I created the issue "Add sys.debug_build public variable to check if > Python was compiled in debug mode":

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Serhiy Storchaka
On 02.10.15 10:18, Victor Stinner wrote: I would like to add an obvious way to check if Python was compiled in debug mode, instead of having hacks/tips to check it. On the Internet, I found various recipes to check if Python is compiled is debug mode. Sadly, some of them are not portable. I

[Python-Dev] Summary of Python tracker Issues

2015-10-02 Thread Python tracker
ACTIVITY SUMMARY (2015-09-25 - 2015-10-02) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open5155 (+13) closed 31906 (+57) total 37061 (+70) Open issues

[Python-Dev] Migrating to Python 3: the python 3 install issue

2015-10-02 Thread Terry Reedy
On python-list, Chris Warrick reported (thread title): "The Nikola project is deprecating Python 2.7 (+2.x/3.x user survey results)" This is for the November release, with 2.7 dropped in the next version next year. (Nikola is a cross-platform unicode-based app for building static websites and

Re: [Python-Dev] Migrating to Python 3: the python 3 install issue

2015-10-02 Thread Victor Stinner
(grr, again i sent a draft by mistake, sorry about that) Fedora 23 (scheduled for the end of this month) will only come with python3 (/usr/bin/python3), no python2 (nor python), *in the base system*. Obviously, it will be possible to install Python 2 to install applications not compatible with

Re: [Python-Dev] VS 2010 compiler

2015-10-02 Thread Matthew Einhorn
On Wed, Sep 30, 2015 at 3:57 PM, Carl Kleffner wrote: > Concerning the claims that mingw is difficult: > > The mingwpy package is a sligthly modified mingw-w64 based gcc toolchain, > that is in development. It is designed for simple use and for much better > compatibility

Re: [Python-Dev] Migrating to Python 3: the python 3 install issue

2015-10-02 Thread Barry Warsaw
On Oct 03, 2015, at 01:05 AM, Victor Stinner wrote: >Ubuntu is also working on a similar change. I don't know when it will happen. For the desktop, we're aiming for 16.04 LTS. Cheers, -Barry ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Migrating to Python 3: the python 3 install issue

2015-10-02 Thread Brett Cannon
Thanks for the info, Terry! Glad people are realizing that Python 3 is now available widely enough that applications can seriously consider dropping Python 2 support now. I still think 2016 is going to see this happen more and more once the Linux distros make their switches to Python 3. On Fri, 2

Re: [Python-Dev] Migrating to Python 3: the python 3 install issue

2015-10-02 Thread Victor Stinner
Fedora 23 (scheduled for the end of this month) will only come with python3 (/usr/bin/python3), no python2 (nor python), *in the base system*. Obviously, it will be possible to install Python 2 to install applications not compatible with Python 3 yet. Note: the current development version is

[Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Victor Stinner
Hi, I created the issue "Add sys.debug_build public variable to check if Python was compiled in debug mode": http://bugs.python.org/issue25256 I would like to add an obvious way to check if Python was compiled in debug mode, instead of having hacks/tips to check it. On the Internet, I found

Re: [Python-Dev] Issue #25256: Add sys.debug_build?

2015-10-02 Thread Nick Coghlan
On 2 October 2015 at 17:18, Victor Stinner wrote: > What do you think? Should we add sys.debug_build? Spell it as "sys.implementation.debug_build" and I'm in favour. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia