diff roundup/anypy/cookie_.py @ 4996:dfd0bcc947e5

Add comments about supported anypy python versions Help clarify which code paths will be used within the anypy shims.
author John Kristensen <john@jerrykan.com>
date Fri, 09 May 2014 17:45:39 +1000
parents 74476eaac38a
children 4cb860c33b37
line wrap: on
line diff
--- a/roundup/anypy/cookie_.py	Fri May 09 23:50:52 2014 +1000
+++ b/roundup/anypy/cookie_.py	Fri May 09 17:45:39 2014 +1000
@@ -1,8 +1,10 @@
 
 try:
+    # Python 3+
     from http import cookies as Cookie
     from http.cookies import CookieError, BaseCookie, SimpleCookie
     from http.cookies import _getdate as get_cookie_date
 except:
+    # Python 2.5-2.7
     from Cookie import CookieError, BaseCookie, SimpleCookie
     from Cookie import _getdate as get_cookie_date

Roundup Issue Tracker: http://roundup-tracker.org/