Re: Protocols in Python

2017-08-28 Thread Ian Kelly
On Mon, Aug 28, 2017 at 12:53 PM, Stefan Ram wrote: > r...@zedat.fu-berlin.de (Stefan Ram) writes: >>The "The Python Library Reference, Release 3.6.0" (LIB) says: >>»it must support the sequence protocol (the >>__getitem__() method with integer arguments >>starting at

Re: Protocols in Python

2017-08-28 Thread Chris Angelico
On Tue, Aug 29, 2017 at 4:53 AM, Stefan Ram wrote: > r...@zedat.fu-berlin.de (Stefan Ram) writes: >>The "The Python Library Reference, Release 3.6.0" (LIB) says: >>»it must support the sequence protocol (the >>__getitem__() method with integer arguments >>starting at

Re: Protocols in Python

2017-08-26 Thread Ian Kelly
On Sat, Aug 26, 2017 at 6:35 PM, Stefan Ram wrote: > The "The Python Library Reference, Release 3.6.0" (LIB) says: > > »it must support the sequence protocol (the > __getitem__() method with integer arguments > starting at 0).«. > > But in the "The

Re: Network protocols, sans I/O,(Hopefully) the future of network protocols in Python

2016-08-08 Thread Irmen de Jong
On 8-8-2016 12:37, Mark Lawrence wrote: > This may be of interest to some of you > http://www.snarky.ca/network-protocols-sans-i-o > I sure find it interesting. Will also watch Cory's PyCon presentation that is mentioned! Thanks for the link. Irmen --

Network protocols, sans I/O,(Hopefully) the future of network protocols in Python

2016-08-08 Thread Mark Lawrence via Python-list
This may be of interest to some of you http://www.snarky.ca/network-protocols-sans-i-o -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Protocols for Python?

2006-04-27 Thread redefined . horizons
want to implement a form of interfaces in the python language, just document the required behavior for certain objects in my application for other developers. Is there a standard way to document protocols in Python? Of should I come up with something tailored to my needs. Thanks, Scott Huey

Re: Protocols for Python?

2006-04-27 Thread Jay Parlar
PyProtocols, but I don't think it is what I am looking for. I don't want to implement a form of interfaces in the python language, just document the required behavior for certain objects in my application for other developers. Is there a standard way to document protocols in Python? Of should I

Re: Protocols for Python?

2006-04-27 Thread Harold Fellermann
[EMAIL PROTECTED] wrote: Still, I'm designing an application that I want to be extendable by third-party developers. I'd like to have some sort of documentation about what behavior is required by the components that can be added to extend the application. I'd thought I might try documenting

Re: Protocols for Python?

2006-04-27 Thread Gregor Horvath
[EMAIL PROTECTED] schrieb: Is there a standard way to document protocols in Python? Of should I come up with something tailored to my needs. Write unittests or doctest strings. -- Servus, Gregor http://www.gregor-horvath.com -- http://mail.python.org/mailman/listinfo/python-list