[Subversion] / PyProtocols / TODO.txt  

Log of /PyProtocols/TODO.txt

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download)


Revision 132 - (view) (download) - [select for diffs]
Modified Tue Jul 6 01:51:19 2004 UTC (19 years, 10 months ago) by pje
File length: 1198 byte(s)
Diff to previous 131
Backport useful fixes from the 0.9.x branch to the trunk

Revision 131 - (view) (download) - [select for diffs]
Modified Mon Jul 5 23:08:08 2004 UTC (19 years, 10 months ago) by pje
File length: 1335 byte(s)
Diff to previous 126
Adapter factories are now only called with one argument: the object to
adapt.  For backward compatibility, any adapter factories that require
more than one argument are wrapped in a converter.  It's highly recommended
that you transition to one-argument adapters as soon as practical, since
using two-argument adapters will cause deprecation warnings in PyProtocols
version 1.0 (and causes PendingDeprecationWarnings in 0.9.3).  This change
was made for symmetry with Zope and Twisted adapters, as well as Pythonic
adapter factories like 'int' et al.

(Note that as a result of this change, 'Adapter' objects no longer have a
'protocol' attribute, and 'StickyAdapter' objects will also lose their
'protocol' attribute in 1.0.)

Also, I restored the previously-removed 'factory' argument to 'adapt()',
but it generates a DeprecationWarning if you use it.  Thus, programs
written for PyProtocols 0.9.2 that use this argument will keep working
until version 1.0, making the 'protocol' attribute the only bit that's
not 100% backward compatible.

Revision 126 - (view) (download) - [select for diffs]
Modified Sat Jun 19 21:48:15 2004 UTC (19 years, 11 months ago) by pje
File length: 1469 byte(s)
Diff to previous 125
Removed 'factory' parameter from the 'adapt()' function, bringing us more
in line with PEP 246, and preparing for the removal of the second parameter
of adapter factories.

Revision 125 - (view) (download) - [select for diffs]
Added Sun May 30 21:44:04 2004 UTC (19 years, 11 months ago) by pje
File length: 1571 byte(s)
Added 'protocols.AdaptationFailure' exception.  Added 'TODO.txt'.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help