[Python-Dev] [Python-checkins] python/dist/src/Lib Cookie.py, 1.17, 1.18
Tim Peters
tim.peters at gmail.com
Mon Jun 27 01:15:47 CEST 2005
- Previous message: [Python-Dev] [Python-checkins] python/dist/src/Tools/bgen/bgen bgenGenerator.py, 1.17, 1.18 bgenObjectDefinition.py, 1.29, 1.30 bgenType.py, 1.15, 1.16 bgenVariable.py, 1.6, 1.7 scantools.py, 1.37, 1.38
- Next message: [Python-Dev] [Python-checkins] python/dist/src/Lib Cookie.py, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
[birkenfeld at users.sourceforge.net]
> Update of /cvsroot/python/python/dist/src/Lib
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4891/Lib
>
> Modified Files:
> Cookie.py
> Log Message:
> bug [ 1108948 ] Cookie.py produces invalid code
>
>
>
> Index: Cookie.py
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Lib/Cookie.py,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -d -r1.17 -r1.18
> --- Cookie.py 20 Oct 2003 14:01:49 -0000 1.17
> +++ Cookie.py 26 Jun 2005 21:02:49 -0000 1.18
> @@ -470,9 +470,9 @@
> def js_output(self, attrs=None):
> # Print javascript
> return """
> - <SCRIPT LANGUAGE="JavaScript">
> + <script type="text/javascript">
> <!-- begin hiding
> - document.cookie = \"%s\"
> + document.cookie = \"%s\";
> // end hiding -->
> </script>
> """ % ( self.OutputString(attrs), )
I assume this accounts for the current failure of test_cookie:
test_cookie
test test_cookie produced unexpected output:
**********************************************************************
*** mismatch between line 19 of expected output and line 19 of actual output:
- <SCRIPT LANGUAGE="JavaScript">
+ <script type="text/javascript">
*** mismatch between line 21 of expected output and line 21 of actual output:
- document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;"
+ document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;";
? +
*** mismatch between line 26 of expected output and line 26 of actual output:
- <SCRIPT LANGUAGE="JavaScript">
+ <script type="text/javascript">
*** mismatch between line 28 of expected output and line 28 of actual output:
- document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;"
+ document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;";
? +
**********************************************************************
- Previous message: [Python-Dev] [Python-checkins] python/dist/src/Tools/bgen/bgen bgenGenerator.py, 1.17, 1.18 bgenObjectDefinition.py, 1.29, 1.30 bgenType.py, 1.15, 1.16 bgenVariable.py, 1.6, 1.7 scantools.py, 1.37, 1.38
- Next message: [Python-Dev] [Python-checkins] python/dist/src/Lib Cookie.py, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-Dev
mailing list