]> granicus.if.org Git - python/commit
Expose the CO_xxx flags via the "new" module (re-solving a problem "the
authorTim Peters <tim.peters@gmail.com>
Sat, 18 Aug 2001 20:18:49 +0000 (20:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 18 Aug 2001 20:18:49 +0000 (20:18 +0000)
commitaa32070f4d7b7151974e70b407b0f0dc2a836313
tree20ea4d8e13d5dfa5f861f37be3963cd2a1874dd2
parent95618b5bc98ca9f30ed9dd2e4382fd737bbbbc6c
Expose the CO_xxx flags via the "new" module (re-solving a problem "the
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.
Lib/__future__.py
Lib/test/test___future__.py
Modules/newmodule.c