]> granicus.if.org Git - python/commit
The one thing I love more then writing code is deleting code.
authorMoshe Zadka <moshez@math.huji.ac.il>
Mon, 29 Jan 2001 06:21:17 +0000 (06:21 +0000)
committerMoshe Zadka <moshez@math.huji.ac.il>
Mon, 29 Jan 2001 06:21:17 +0000 (06:21 +0000)
commit497671e094b7f18221cc1f872bfe68afc57c860b
tree82c5fb1c0b85a8670c71c9146ee9c5b34c08a43e
parent2beeb22533acf5fbc29e650003a79d633aecffc0
The one thing I love more then writing code is deleting code.
* Removed func_hash and func_compare, so they can be treated as immutable
  content-less objects (address hash and comparison)
* Added tests to that affect to test_funcattrs (also testing func_code
  is writable)
* Reverse meaning of tests in test_opcodes which checked identical code
  gets identical functions
Lib/test/test_funcattrs.py
Lib/test/test_opcodes.py
Objects/funcobject.c