Re: [Python-ideas] Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-09 Thread David Mertz
This isn't a terrible use of the walrus operator either. if blue_20 := (color==BLUE and count==20) or red_5 := (color==RED and count%5==0) rotate_the_wheel() # Common to the two sub-conditions if blue_20: # First sub-condition set_signal() if red_5: # Second sub-condition

[Announce] Gnosis Utils 1.2.0

2005-04-06 Thread David Mertz, Ph.D.
David Mertz ([EMAIL PROTECTED]) Frank McIngvale ([EMAIL PROTECTED]) This release of the Gnosis Utilities contains several new modules, as well as fixes, enhancements, and speedups in existing subpackages. Try it out, have fun, send feedback! NEW SUBPACKAGES

Article on updates to gnosis.xml.objectify

2004-12-04 Thread David Mertz, Ph.D.
Python/XML users might be interested in: http://www-106.ibm.com/developerworks/xml/library/x-matters39.html Title: Get the most out of gnosis.xml.objectify Subtitle: Use utility functions for enhanced object behavior Abstract: The XML binding gnosis.xml.objectify was designed, in many way