Mercurial > cpython-lru_cache-weakref
diff Python/importdl.c @ 33100:356887410bde legacy-trunk
Fix bug
[ 1005248 ] new.code() not cleanly checking its arguments
using the result of new.code() can still destroy the sun, but merely
calling the function shouldn't any more.
I also rewrote the existing tests of new.code() to use vastly less
un-bogus arguments, and added tests for the previous insane behaviours.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Thu, 12 Aug 2004 17:56:29 +0000 |
| parents | 19611d101d23 |
| children | fd25030223b0 19319e70fc3e |
