Alice Zoë Bevan–McGregor

Results 116 comments of Alice Zoë Bevan–McGregor

Additional points from discussion today: * Some Python-side operations can not be trapped or detected. The trivial example is that of incrementing a user's age: `user.age += 1` resolves to...

Factory tested in small-scale, it works: [edit to compactify and handle the edge case of one already mixed-in] ```py class CachedMixinFactory(dict): def __missing__(self, cls): if issubclass(cls, _ActiveField): return cls new_class...

Now to test the example implementation… 👹 ```py class _Active(Document): __field_cache = CachedMixinFactory() def __attributed__(self): """Automatically mix active behaviours into field instances used during declarative construction.""" for name, field in...

Unfortunately, Python doesn't always emit the most helpful error messages when it comes to syntax errors such as unterminated constants, as that's just pointing at the end of the generated...

From [SO chat]( https://chat.stackoverflow.com/transcript/message/45397877#45397877): > Not counting, like, SyntaxErrors that say the problem is on the line after the actual problematic line > You can't catch those (from within the...

Failing test suite due to parser/generator issue and failure to parse the resulting generated Python. The error is obtuse and requires investigation: ``` > ??? E File "/Volumes/Personal/cinje/cinje/std/html.py", line 231...

This would appear to be an anti-feature. While it does in theory provide some convenience for users of the library, the headaches involving the astoundingly stupid mechanism of `pth` files...

This is "patches welcome" but not "help wanted". I'm not going to encourage this kind of terribly fragile feature, but there's not much I can do to stop someone from...

Yup; I abandoned this fork in favour of https://github.com/chxanders/flup3 or another straight port of Flup to Python 3.

That it requires an external, third-party tool to construct magic environment variables to make it work is unfortunate. Please, please, please expose explicit configuration within the Python API, as Flup...