Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.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 | 748129e6e108 |
| children | f455bbe7ea7e |
comparison
equal
deleted
inserted
replaced
| 33099:ce016d0ec701 | 33100:356887410bde |
|---|
