-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hanno Schlichting wrote:
> There is also one major issue to figure out around testing. In Python > 2.7 deprecation warnings are silenced by default. We agreed in the > Zope community that this is ok for production code, but we'd like to > enable the warnings in tests by default, as you'll otherwise never > notice them. We haven't actually implemented that behavior yet, > though. This has also lead to most of the ZTK having passing tests > under Python 2.7 but actually emit tons of deprecation warnings once > you enable them - for example all self.fail* methods in tests got > deprecated in favor of their self.assert* spelling to just name one. +sys.maxint to ignoring that particular set of wank-off deprecations *forever*. No possible "purity" excuses introducing deprecations of long-established API aliases, which cause nobody any harm anywhere. > Before we can claim real proper Python 2.7 support we need to make > sure our own stack runs without deprecation warnings. +1, modulo that particular example. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkyOo/oACgkQ+gerLs4ltQ7wegCfZWNW1b3tcqBVxSGoo6G4HE3f 7cUAoKuk9Qt4CtMJBe+qsR5C2RrazGhJ =aofZ -----END PGP SIGNATURE----- _______________________________________________ Framework-Team mailing list Framework-Team@lists.plone.org http://lists.plone.org/mailman/listinfo/framework-team