ionelmc / python-lazy-object-proxy

A fast and thorough lazy object proxy.
BSD 2-Clause "Simplified" License
247 stars 36 forks source link

Add testcases for uninitialised proxy #2

Closed ionelmc closed 9 years ago

ionelmc commented 9 years ago

Basically test that Proxy.__new__(Proxy) doesn't segfault if used and raises ValueError(missing factory blabla) instead.

ionelmc commented 9 years ago

Fixed in https://github.com/ionelmc/python-lazy-object-proxy/commit/bf052f584fe6feca2661ae59832fda125f7d42aa