[Python-Dev] Translate Python language

2015-11-11 Thread Christophe Bal
Hello. I'm a french teacher and I would like to use Python with young child but I've a big problem. All the keyword are in english. So I would like to know if there is a way to hack the AST tools such as to use french keywords and then translate a list of french keywords to their english regular

Re: [Python-Dev] Translate Python language

2015-11-11 Thread Donald Stufft
On November 11, 2015 at 11:19:07 AM, Paul Moore (p.f.mo...@gmail.com) wrote: > On 11 November 2015 at 15:13, Christophe Bal wrote: > > Hello. > > > > I'm a french teacher and I would like to use Python with young child but > > I've a big problem. All the keyword are in english. So I would like to

Re: [Python-Dev] Translate Python language

2015-11-11 Thread Paul Moore
On 11 November 2015 at 15:13, Christophe Bal wrote: > Hello. > > I'm a french teacher and I would like to use Python with young child but > I've a big problem. All the keyword are in english. So I would like to know > if there is a way to hack the AST tools such as to use

Re: [Python-Dev] [Python-checkins] cpython (2.7): Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6

2015-11-11 Thread Benjamin Peterson
On Tue, Oct 6, 2015, at 19:12, raymond.hettinger wrote: > https://hg.python.org/cpython/rev/37aee118e1a3 > changeset: 98578:37aee118e1a3 > branch: 2.7 > parent: 98572:60c44a09c5fc > user:Raymond Hettinger > date:Tue Oct 06 23:12:02 2015 -0400 >

Re: [Python-Dev] Translate Python language

2015-11-11 Thread Nir Soffer
On Wed, Nov 11, 2015 at 5:13 PM, Christophe Bal wrote: > Hello. > > I'm a french teacher and I would like to use Python with young child but > I've a big problem. All the keyword are in english. So I would like to know > if there is a way to hack the AST tools such as to use

Re: [Python-Dev] Translate Python language

2015-11-11 Thread Brett Cannon
On Wed, 11 Nov 2015, 10:55 Christophe Bal wrote: Hello. I'm a french teacher and I would like to use Python with young child but I've a big problem. All the keyword are in english. So I would like to know if there is a way to hack the AST tools such as to use french

Re: [Python-Dev] Translate Python language

2015-11-11 Thread M.-A. Lemburg
On 11.11.2015 17:20, Donald Stufft wrote: > On November 11, 2015 at 11:19:07 AM, Paul Moore (p.f.mo...@gmail.com) wrote: >> On 11 November 2015 at 15:13, Christophe Bal wrote: >>> Hello. >>> >>> I'm a french teacher and I would like to use Python with young child but >>> I've a big problem. All