diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2019-11-19 14:41:26 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2019-11-19 14:41:26 -0500 |
| commit | 5a1a6a1ba7c637462c25d307c5ef7a7777f51d57 (patch) | |
| tree | 82f851eaf8162cd4589dd49f42951231623caf64 /passlib/utils | |
| parent | 9ce79edd8965d027a35835de9c31010d509d8ad0 (diff) | |
| download | passlib-5a1a6a1ba7c637462c25d307c5ef7a7777f51d57.tar.gz | |
bugfix: argon2: replace directive with equivalent that will work under py26/33/34
(dict comprehensions and b"" % format directives both cause issues)
Diffstat (limited to 'passlib/utils')
| -rw-r--r-- | passlib/utils/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/passlib/utils/__init__.py b/passlib/utils/__init__.py index 880401e..e08c12f 100644 --- a/passlib/utils/__init__.py +++ b/passlib/utils/__init__.py @@ -541,6 +541,10 @@ def render_bytes(source, *args): Calling ``render_bytes(source, *args)`` should function roughly the same as ``source % args`` under Python 2. + + .. todo:: + python >= 3.5 added back limited support for bytes %, + can revisit when 3.3/3.4 is dropped. """ if isinstance(source, bytes): source = source.decode("latin-1") |
