<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Parser, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-30T20:51:59Z</updated>
<entry>
<title>SF patch #455966:  Allow leading 0 in float/imag literals.</title>
<updated>2001-08-30T20:51:59Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-30T20:51:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d507dab91f9790a24bd53d41d7fcf52fe89a6eff'/>
<id>urn:sha1:d507dab91f9790a24bd53d41d7fcf52fe89a6eff</id>
<content type='text'>
Consequences for Jython still unknown (but raised on Jython-Dev).
</content>
</entry>
<entry>
<title>SF bug [#455775] float parsing discrepancy.</title>
<updated>2001-08-27T19:19:28Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-27T19:19:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9aa70d93aae89a9404a58f32f3fcd3c72b1ee56b'/>
<id>urn:sha1:9aa70d93aae89a9404a58f32f3fcd3c72b1ee56b</id>
<content type='text'>
PyTokenizer_Get:  error if exponent contains no digits (3e, 2.0e+, ...).
</content>
</entry>
<entry>
<title>Implement PEP 238 in its (almost) full glory.</title>
<updated>2001-08-08T05:00:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-08T05:00:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4668b000a1d9113394941ad39875c827634feb49'/>
<id>urn:sha1:4668b000a1d9113394941ad39875c827634feb49</id>
<content type='text'>
This introduces:

- A new operator // that means floor division (the kind of division
  where 1/2 is 0).

- The "future division" statement ("from __future__ import division)
  which changes the meaning of the / operator to implement "true
  division" (where 1/2 is 0.5).

- New overloadable operators __truediv__ and __floordiv__.

- New slots in the PyNumberMethods struct for true and floor division,
  new abstract APIs for them, new opcodes, and so on.

I emphasize that without the future division statement, the semantics
of / will remain unchanged until Python 3.0.

Not yet implemented are warnings (default off) when / is used with int
or long arguments.

This has been on display since 7/31 as SF patch #443474.

Flames to /dev/null.
</content>
</entry>
<entry>
<title>Fis SF bug #442647: not all forms of legal future statements were</title>
<updated>2001-07-19T15:27:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-19T15:27:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c033230ec2f81c9d61ba1b1f19a99f8bf4f4bd3'/>
<id>urn:sha1:3c033230ec2f81c9d61ba1b1f19a99f8bf4f4bd3</id>
<content type='text'>
parsed correctly.  Now they are.
</content>
</entry>
<entry>
<title>Add a really stupid warning about 'yield' used as an identifier.</title>
<updated>2001-07-17T16:53:11Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-17T16:53:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da62ecc9aaf6266e10ee6844d81f6145b0ec8413'/>
<id>urn:sha1:da62ecc9aaf6266e10ee6844d81f6145b0ec8413</id>
<content type='text'>
This is really stupid because it cannot be suppressed or altered using
the warning framework; that's because the warning framework is built
on Python interpreter internals, and the parser generator doesn't have
access to any of those (you cannot use anything of type PyObject * in
the parser).

But it's better than nothing, and implementing a proper check for this
appears to require modifying compile.c in a dozen places, for which I
don't have the stamina today.  I promise we'll do better in 2.2a2.

At least it tells you the filename and line number (unlike the first
hack I considered :-).
</content>
</entry>
<entry>
<title>Ugly.  A pile of new xxxFlags() functions, to communicate to the parser</title>
<updated>2001-07-16T05:37:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-16T05:37:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe2127d3cbf34452a10b88c40e5ab06870936f94'/>
<id>urn:sha1:fe2127d3cbf34452a10b88c40e5ab06870936f94</id>
<content type='text'>
that 'yield' is a keyword.  This doesn't help test_generators at all!  I
don't know why not.  These things do work now (and didn't before this
patch):

1. "from __future__ import generators" now works in a native shell.

2. Similarly "python -i xxx.py" now has generators enabled in the
   shell if xxx.py had them enabled.

3. This program (which was my doctest proxy) works fine:

from __future__ import generators

source = """\
def f():
    yield 1
"""

exec compile(source, "", "single") in globals()
print type(f())
</content>
</entry>
<entry>
<title>Preliminary support for "from __future__ import generators" to enable</title>
<updated>2001-07-15T21:08:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-15T21:08:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b09f7ed6235783fca27a4f8730c4c33e0f53c16c'/>
<id>urn:sha1:b09f7ed6235783fca27a4f8730c4c33e0f53c16c</id>
<content type='text'>
the yield statement.  I figure we have to have this in before I can
release 2.2a1 on Wednesday.

Note: test_generators is currently broken, I'm counting on Tim to fix
this.
</content>
</entry>
<entry>
<title>SF but #417587: compiler warnings compiling 2.1.</title>
<updated>2001-04-21T02:46:11Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-21T02:46:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf96de052f656c400ecfd8302d6507e4f586c365'/>
<id>urn:sha1:cf96de052f656c400ecfd8302d6507e4f586c365</id>
<content type='text'>
Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
</content>
</entry>
<entry>
<title>RISCOS changes by dschwertberger.</title>
<updated>2001-03-02T06:34:14Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-02T06:34:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48a680c097f0e53a4cdcd61fbed35e1b6c1de388'/>
<id>urn:sha1:48a680c097f0e53a4cdcd61fbed35e1b6c1de388</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take output filenames as arguments instead of hard-coding them.</title>
<updated>2001-02-16T03:57:53Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-02-16T03:57:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84521c078e7809b38daf292a552ba519e0d3c3ac'/>
<id>urn:sha1:84521c078e7809b38daf292a552ba519e0d3c3ac</id>
<content type='text'>
</content>
</entry>
</feed>
