Project

General

Profile

Development #31168

python3 : s'assurer de l'encodage et l'échappement identiques de deux URLs comparées dans tests

Added by Paul Marillonnet 3 months ago. Updated 2 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
06 Mar 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Notamment parce qu'en python2 :

>>> 'foo' == u'foo'
True

Alors qu'en python3 :
>>> b'foo' == 'foo'
False

0001-python3-same-encoding-and-unquoting-on-two-compared-.patch View (831 Bytes) Paul Marillonnet, 06 Mar 2019 08:28 PM

0001-python3-same-encoding-and-unquoting-on-two-compared-.patch View (829 Bytes) Paul Marillonnet, 06 Mar 2019 08:30 PM


Related issues

Related to Authentic 2 - Development #28276: Fonctionner avec Python3 pour Django1.11 En cours 23 Nov 2018

Associated revisions

Revision 130062be (diff)
Added by Paul Marillonnet 3 months ago

python3: same encoding and unquoting on two compared urls in tests (#31168)

History

#1 Updated by Paul Marillonnet 3 months ago

#3 Updated by Paul Marillonnet 3 months ago

#4 Updated by Benjamin Dauvergne 3 months ago

  • Assignee set to Paul Marillonnet

#5 Updated by Benjamin Dauvergne 3 months ago

  • Status changed from Solution proposée to Solution validée

Ack.

#6 Updated by Paul Marillonnet 3 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 130062be4df349c69f21c924f709f414fa504f42
Author: Paul Marillonnet <pmarillonnet@entrouvert.com>
Date:   Thu Jan 31 15:55:03 2019 +0100

    python3: same encoding and unquoting on two compared urls in tests (#31168)

#7 Updated by Frédéric Péters 2 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF