-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unwanted lookups #10
Comments
Not sure if that makes sense? If the file you are asking for does not exist, how are we going to know what's in the dict? On the first access to a JSON data file, product_details will load it (and warn if it's not present). From then on, you're working on a regular dict and the file will not be touched again. |
The problem is this: product_details.firefox_history_development_releases['4.0b8'] got parsed as Look for "firefox_history_development_releases['4" rather than: Look for: So the problem is that it too greedily looks for things after the dot. [ shouldn't be a part of a filename. it's just asking for trouble. |
Oh how fun the Python parser can be! The language construct that does this is |
jbalogh suggested using |
Hmm... yeah that actually makes sense... pre-load the magic. The aliases could be implemented there too. |
This happens:
It seems like it shoudl first check to see if 4.0b8 is an item in the dict and then do the lookup.
The text was updated successfully, but these errors were encountered: