Commit graph

8 commits

Author SHA1 Message Date
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
karxi
1cf0926e9f Minor source cleanup, pending rewrites 2017-01-02 13:49:54 -05:00
karxi
22c5354bc6 AttrDict/DefAttrDict rewrite/bugfixing
The logic for both of these has been corrected; neither will try to
handle reserved or preexisting attributes as though they should be part
of their dicts.
These can still be set manually, but it makes things much safer.
New attributes have to come from the class or local __dict__ modifications.
2017-01-01 20:24:34 -05:00
karxi
02019c7dc5 Adjustments/retabbing for attrdict.py
Redid some of the logic behind AttrDict. It now raises AttributeError
when necessary, instead of giving the incorrect KeyError response.

This has restored compatibility with copy.deepcopy().
2016-12-30 20:59:47 -05:00
karxi
daeaa74f61 Allowed lexer to use shorter hex codes for colors; shouldn't break compatibility 2016-12-09 04:46:30 -05:00
karxi
c019e45c7a Lexer modifications. Still not quite ready for primetime - incoming messages use the old one. 2016-12-06 20:04:19 -05:00
karxi
3a48cf204b General cleanup. Stopped using older 'except Error, var' syntax. 2016-11-29 15:20:41 -05:00
karxi
876e06f217 Merged in some new lexer code. Older code will be phased out over time.
This code should split things more neatly than the current Pesterchum
code, thus fixing a number of irritating bugs. Ideally, when finished,
it will be easier and cleaner to work with as well.
2016-11-18 03:37:22 -05:00