-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fixes issues with security.create_token() and Unicode problems #4
base: master
Are you sure you want to change the base?
Commits on Jul 10, 2011
-
Fixes division operation behavior in create_token()
* The function can now accept a numerical base argument. * All usages have been updated to return expected hexadecimal string. * Tests have been added for decimals. * All create_token() tests pass. * ``bytes`` is a Python 2.6+ type not available in Python 2.5. This patch fixes it with a suitable replacement. Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7742431 - Browse repository at this point
Copy the full SHA 7742431View commit details -
Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d6e768 - Browse repository at this point
Copy the full SHA 9d6e768View commit details -
Fixes issues with the json module.
* You cannot name a module "json" and import "json" from within it. This import test had been failing all this time. The module has been renamed to "escape" for all the tests to work. * Stray modules (also because they are named "json") can pollute the Python namespace and cause our imports to fail. We're expecting Python's json module, but we can end up receiving a stray module named json. Therefore, we test whether we're using Python's module. * All tests now pass. Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74d9781 - Browse repository at this point
Copy the full SHA 74d9781View commit details -
Makes urlparse imports portable.
Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af58565 - Browse repository at this point
Copy the full SHA af58565View commit details -
Moves webapp2.py into webapp2/__init__.py
* Everything in a single module seems fine for a start but gets unweildy very fast. Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 824cb1a - Browse repository at this point
Copy the full SHA 824cb1aView commit details -
Removes executable permissions from webapp2/__init__.py
Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fadf72 - Browse repository at this point
Copy the full SHA 7fadf72View commit details -
Adds
types
module to transparently convert between types.Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d672cc - Browse repository at this point
Copy the full SHA 9d672ccView commit details -
Use
bytes()
instead ofstr()
wherever byte strings are required.Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 784d55c - Browse repository at this point
Copy the full SHA 784d55cView commit details -
All tests pass with portable byte string/unicode string conversion.
Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 281f34a - Browse repository at this point
Copy the full SHA 281f34aView commit details -
Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c94cf0 - Browse repository at this point
Copy the full SHA 6c94cf0View commit details -
Adds
types
module justification to its documentation.Signed-off-by: Gora Khargosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30a7a25 - Browse repository at this point
Copy the full SHA 30a7a25View commit details