Commit graph

7 commits

Author SHA1 Message Date
Dpeta
5b6d5d153f
Run all scripts through "pyupgrade --py38-plus" 2023-01-14 23:02:08 +01:00
MiguelX413
a51e4dd69e
Reformat codebase (#97)
* Reformat codebase with black

* Create black.yml and add black style badge to README.md
2022-10-07 22:51:40 +02:00
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
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