Re: [Python-Dev] Pyston: a Python JIT on LLVM

2014-04-04 Thread Kevin Modzelewski
On Fri, Apr 4, 2014 at 1:59 AM, Antoine Pitrou wrote: > > I'm a bit surprised by the approach. Why don't you simply process CPython > bytecode, rather than strive to reimplement Python fully? > The original choice to operate on Python AST rather than bytecode was made somewhat arbitrarily, but I

Re: [Python-Dev] Pyston: a Python JIT on LLVM

2014-04-04 Thread Kevin Modzelewski
Using optional type annotations is a really promising strategy and may eventually be added to Pyston, but our primary target right now is unmodified and untyped Python code. I think there's room for both approaches -- I think the "using type annotations to achieve near-native performance" can be v

Re: [Python-Dev] New absolute __file__ in Python 3.4

2014-04-04 Thread Terry Reedy
On 4/4/2014 11:21 AM, anatoly techtonik wrote: https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes 1. Is this absolute name with symlinks resolved? 2. Why there is a special case for __main__? (i.e. Special cases aren't special enough to break the rules.) Did you read the link

[Python-Dev] Summary of Python tracker Issues

2014-04-04 Thread Python tracker
ACTIVITY SUMMARY (2014-03-28 - 2014-04-04) 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: open4550 (+16) closed 28376 (+52) total 32926 (+68) Open issues wit

[Python-Dev] New absolute __file__ in Python 3.4

2014-04-04 Thread anatoly techtonik
https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes 1. Is this absolute name with symlinks resolved? 2. Why there is a special case for __main__? (i.e. Special cases aren't special enough to break the rules.) 3. What link should I click in Python reference to read about standa

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Oleg Broytman
On Fri, Apr 04, 2014 at 05:08:37PM +0200, Giampaolo Rodola' wrote: > Sorry for the troubles. :( > I committed this because it worked on my local copy of Python 3.5 but after > I tried a brand new "hg clone" it didnt. make distclean was not enough? Oleg. -- Oleg Broytmanhttp

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Giampaolo Rodola'
Sorry for the troubles. :( I committed this because it worked on my local copy of Python 3.5 but after I tried a brand new "hg clone" it didnt. On Fri, Apr 4, 2014 at 4:43 PM, Brett Cannon wrote: > > > On Fri Apr 04 2014 at 10:34:06 AM, Victor Stinner < > victor.stin...@gmail.com> wrote: > >> 2

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Brett Cannon
On Fri Apr 04 2014 at 10:34:06 AM, Victor Stinner wrote: > 2014-04-04 16:21 GMT+02:00 Brett Cannon : > > Fix is in rev c6e63bb132fb. > > Hum, this one was not enough for me. I also modified Modules/ > Setup.config.in: > Wasn't for me either in the end as it failed when I did a distclean. The unf

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Victor Stinner
2014-04-04 16:21 GMT+02:00 Brett Cannon : > Fix is in rev c6e63bb132fb. Hum, this one was not enough for me. I also modified Modules/Setup.config.in: changeset: 90137:df5120efb86e tag: tip user:Victor Stinner date:Fri Apr 04 16:30:04 2014 +0200 files: Modules/Setu

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Brett Cannon
On Fri, Apr 4, 2014 at 10:12 AM, Brett Cannon wrote: > This broke compilation on at least OS X, but I'm willing to bet for all > UNIX-based systems. I have a fix in the works. > Fix is in rev c6e63bb132fb . > > > On Fri, Apr 4, 2014 at 9:34 AM, gi

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Brett Cannon
This broke compilation on at least OS X, but I'm willing to bet for all UNIX-based systems. I have a fix in the works. On Fri, Apr 4, 2014 at 9:34 AM, giampaolo.rodola wrote: > http://hg.python.org/cpython/rev/c9239171e429 > changeset: 90128:c9239171e429 > user:Giampaolo Rodola' > da

Re: [Python-Dev] Pyston: a Python JIT on LLVM

2014-04-04 Thread Dag Sverre Seljebotn
On 04/04/2014 12:42 AM, Sturla Molden wrote: Kevin Modzelewski wrote: Since it's the question that I think most people will inevitably (and rightly) ask, why do we think there's a place for Pyston when there's PyPy and (previously) Unladen Swallow? Have you seen Numba, the Python JIT that in

Re: [Python-Dev] Pyston: a Python JIT on LLVM

2014-04-04 Thread Antoine Pitrou
Hello, Le 03/04/2014 20:19, Kevin Modzelewski a écrit : I'm excited to announce Pyston, a Python JIT under development at Dropbox, built on top of LLVM. You can read more about it at the introductory blog post