- 24 Agu, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
compiler-flag argument).
-
Tim Peters yazdı
__future__.py reverted to 1.9. newmodule.c reverted to 2.32.
-
- 19 Agu, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
reported by Greg Ball on python-dev.
-
- 18 Agu, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
right way"). Fiddle __future__.py to use them. Jeremy's pyassem.py may also want to use them (by-hand duplication of magic numbers is brittle), but leaving that to his judgment. Beef up __future__'s test to verify the exported feature names appear correct.
-
- 17 Agu, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
#449043 supporting __future__ in simulated shells in support of PEP 264. Much has changed from the patch version: + Repaired bad hex constant for nested_scopes. + Defined symbolic CO_xxx names so global search will find these uses. + Made the exported list of feature names explicit, instead of abusing __all__ for this purpose (and redefined __all__ accordingly). + Added gross .compiler_flag verification to test___future__.py, and reworked it a little to make use of the newly exported explicit list of feature names.
-
- 08 Agu, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 15 Tem, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 12 Tem, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 15 Mar, 2001 1 kayıt (commit)
-
-
Ka-Ping Yee yazdı
-
- 02 Mar, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
Suggested on c.l.py by William Tanksley, and I like it.
-
- 28 Şub, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 26 Şub, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
therein are of the proper form.
-