You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stopping by to note that Python's PEP 505 on this got deferred. To me that's notable. Glom has an easy way of getting a default out of a long line of attribute accesses (glom(target, 'a.b.c.d', default=None)). And maybe once in my entire programming career have I ever needed to "get strict again" (i.e., give me a None if b isn't present, but raise an error if there's a b but no c). To me that feels like pattern matching lite (or microlite), and we already have Match coming in! So I think I want to defer this, and leave the Path simple whenever possible. Hope this deferral makes sense to any and all reading this. If we end up having a clear cut use case, you know I'll happily revive it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.