-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/03/11 20:56, Georg Brandl wrote:
For 3.3, I'd like to revive the tradition of listing planned large-scale changes in the PEP.
I want to integrate dependence injection in the stdlib, specially in libs creating sockets. This would be an optional feature. The idea would be, for instance, that smtplib could call an optional constructor to create a socket-like object, if some is provided. That would break the implicit dependency with sockets, reduce monkey-patching need, and ease testing the libs. I proposed this on the list like a year ago. Somebody else said he was planning a PEP... not done yet, I guess. Digging the archive: http://mail.python.org/pipermail/python-dev/2010-April/099237.html - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBTYqnDplgi5GaxT1NAQJTxQP/U9dk4x9r9Fbwm7zEzEMydzxqqiY/FF6z PA52YDRPUgyeiDnhmZwk1f9PqnwYWkgf2qmDi+v0eXLZJYqs/rBEcaY36yP1sgP+ +RrFp4aTpf6oqp7HSwrJMoOS2BmRZxLmzShfKecX+3q33Ix1C1EvcF8F8Yg4P4s6 Pd+jRaGvJRs= =Ec5o -----END PGP SIGNATURE-----