[Python-announce] plum-py 0.7.2 release (Pack / Unpack Memory bytes)

2021-11-10 Thread Dan Gass
cense: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - Support packing ``bytearray()`` with ``ItemsX`` transforms. - Previously when an exception occurred during pack/unpack operation and the dump records were half baked, creating dump representation for exception messag

[Python-announce] plum-py 0.7.1 release (Pack / Unpack Memory bytes)

2021-11-02 Thread Dan Gass
cense: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - Support ``BitFields`` usage as ``typ`` in structure ``bitfield_member()``. ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email

plum-py 0.6.0 release (Pack / Unpack Memory bytes)

2021-05-20 Thread Dan Gass
cense: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - Add support to ArrayX for packing/unpacking an array with a dims header. - Add SizedX transform for packing/unpacking an object with a size header. - Fix anomalous NameError exception which occurred when

plum-py 0.5.0 released

2021-05-10 Thread Dan Gass
tps://plum-py.readthedocs.io/en/latest/index.html PyPi: https://pypi.org/project/plum-py/ Repo: https://gitlab.com/dangass/plum License: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - This beta release contains many breaking changes! This release note entr

[baseline 1.2.0] Easy String Baseline

2020-12-22 Thread Dan Gass
tool uses multi-line string format for string baselines to improve readability for human review. Docs: https://baseline.readthedocs.io/en/latest/ PyPi: https://pypi.org/project/baseline/ Repo: https://github.com/dmgass/baseline License: MIT With Regards, Dan Gass (dan.gass at gmail) *

[baseline 1.1.2] Easy String Baseline

2020-05-10 Thread Dan Gass
man review. Docs: https://baseline.readthedocs.io/en/latest/ PyPi: https://pypi.org/project/baseline/ Repo: https://github.com/dmgass/baseline License: MIT With Regards, Dan Gass (dan.gass at gmail) ** 1.1.2 2020-MAY-02 * + Maintain file permissions and owner

[plum-boost 0.1.0] Pack/Unpack Memory Performance Enhancer

2020-05-10 Thread Dan Gass
ADME.rst PyPi: https://pypi.org/project/plum-boost/ <https://pypi.org/project/plum-py/> Repo: https://gitlab.com/dangass/plum License: MIT With Regards, Dan Gass (dan.gass at gmail) ___ Python-announce-list mailing list -- python-announce-list@python.org

[plum-py 0.3.1] Pack/Unpack Memory

2020-04-13 Thread Dan Gass
e them in combination with any of the fundamental types provided. Docs: https://plum-py.readthedocs.io/en/latest/index.html PyPi: https://pypi.org/project/plum-py/ Repo: https://gitlab.com/dangass/plum License: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - Add support for passing a

[plum-py 0.3.0] Pack/Unpack Memory

2020-03-31 Thread Dan Gass
e them in combination with any of the fundamental types provided. Docs: https://plum-py.readthedocs.io/en/latest/index.html PyPi: https://pypi.org/project/plum-py/ Repo: https://gitlab.com/dangass/plum License: MIT With Regards, Dan Gass (dan.gass at gmail) Change List = - Add ``plum.items`` module

[baseline 1.0.0] Easy String Baseline

2020-03-30 Thread Dan Gass
test/ PyPi: https://pypi.org/project/baseline/ Repo: https://github.com/dmgass/baseline License: MIT With Regards, Dan Gass (dan.gass at gmail) *** Changes *** The following summarizes changes since the previous "beta" release (the major revision bump signifies ba

[plum-py 0.2.0] Pack/Unpack Memory

2020-03-11 Thread Dan Gass
e them in combination with any of the fundamental types provided. Docs: https://plum-py.readthedocs.io/en/latest/index.html PyPi: https://pypi.org/project/plum-py/ Repo: https://gitlab.com/dangass/plum License: MIT With Regards, Dan Gass (dan.gass at gmail) -- Python-announce-list mailing list -- p

[issue39451] enum.Enum reference count leaks

2020-01-26 Thread Dan Gass
Dan Gass added the comment: Sorry for not thinking of trying this sooner. Running garbage collection, import gc; gc.collect(), releases the resources and restores the expected reference counts. >From my perspective, this is satisfactory and could justify closing this bug >

[issue39451] enum.Enum reference count leaks

2020-01-24 Thread Dan Gass
New submission from Dan Gass : Given (1) instantiation of an enumeration class with an invalid value (2) a try/except around the instantiation where the exception is ignored Then: An unneeded reference to the bad value is lost (as well as other values that I suspect are local variables within

[baseline 0.2.1] Easy String Baseline

2018-06-08 Thread Dan Gass
rg/project/baseline/ Repo: https://github.com/dmgass/baseline License: MIT With Regards, Dan Gass (dan.gass at gmail) *** Quick Start *** Create an empty baseline with a triple quoted multi-line string. Place the ending triple quote on a separate line and indent it to the leve

Re: self question

2006-07-25 Thread dan . gass
cnt = 1 def foo(): global cnt cnt += 1 return cnt def bar(x=foo()): print x bar() # 2 bar() # 2 bar() # 2 Looks to me like you want to use the following programming pattern to get dynamic default arguments: cnt = 1 def foo(): global cnt cnt +=

Re: An optparse question

2006-07-21 Thread dan . gass
No, that affects the string printed only *after* the usage = string. What I would like to do is insert some string *before* the usage = string, which is right after the command I type at the command prompt. So I would like to make it look like this: The example was fine (except for a typo)

Re: An optparse question

2006-07-21 Thread dan . gass
Nope. That only *nearly* does what T wants. The usage message will still be printed immediately *after* the 'usage: ' string. parser = OptionParser(usage=usage) parser.print_help() usage: THIS IS NEWLY INSERTED STRING usage: lopts.py [options] input_file

Re: Which is More Efficient?

2006-05-18 Thread dan . gass
Measure it and find out. Sounds like a little investment in your time learning how to measure performance may pay dividends for you. -- http://mail.python.org/mailman/listinfo/python-list

Re: using breakpoints in a normal interactive session

2006-02-23 Thread dan . gass
Carl -- Perfect! That is exactly what I want. I hoped it would be that easy. Thanks for taking the time to post the solution. -- http://mail.python.org/mailman/listinfo/python-list

using breakpoints in a normal interactive session

2006-02-22 Thread dan . gass
Is there a way to temporarily halt execution of a script (without using a debugger) and have it put you in an interactive session where you have access to the locals? And possibly resume? For example: def a(): ... x = 1 ... magic_breakpoint() ... y = 1 ... print got here ... a()

Re: Making mouse wheel work with pmw ScrolledCanvas widget

2006-02-19 Thread dan . gass
This looks like it has nothing to do with Pmw (Mega widgets) but is really a basic Tkinter problem. -- http://mail.python.org/mailman/listinfo/python-list

Making mouse wheel work with pmw ScrolledCanvas widget

2006-02-18 Thread dan . gass
in advance, Dan Gass -- http://mail.python.org/mailman/listinfo/python-list

[Python-Announce] cfgparse v01_01 released

2005-03-23 Thread Dan Gass
by default. + May be extended to support syntax such as XML. Enjoy, Dan Gass -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

[Python-Announce] cfgparse v01_01 released

2005-03-23 Thread Dan Gass
by default. + May be extended to support syntax such as XML. Enjoy, Dan Gass -- http://mail.python.org/mailman/listinfo/python-list

Re: wanted: C++ parser written in Python

2005-02-25 Thread dan . gass
, but the area that you would be looking at is not changing so I would go ahead and download the latest that is there. TestGen can be found at sourceforge.net/projects/testgen Regards, Dan Gass -- http://mail.python.org/mailman/listinfo/python-list

Re: cfgparse v01_00 released

2005-02-01 Thread dan . gass
and testing features that I don't really use in order to be able to contribute this to the Python community. If you would like to see it (or see specific features it has) in the standard library I encourage you to make comments at http://www.python.org/moin/ConfigParserShootout Regards, Dan Gass

[Python-Announce] cfgparse v01_00 released

2005-01-30 Thread Dan Gass
, Dan Gass -- http://mail.python.org/mailman/listinfo/python-list