This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael-o
Recipients Michael.Felt, michael-o, terry.reedy, vstinner
Date 2018-08-28.06:52:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535439176.57.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
Content
Wow, this is pretty surprising. The very same patch for AIX works on HP-UX flawlessly:

$ ./python -m test test_utf8_mode
Run tests sequentially
0:00:00 [1/1] test_utf8_mode

== Tests result: SUCCESS ==

1 test OK.

Total duration: 2 sec 769 ms
Tests result: SUCCESS


I still don't really understand why because decode() and ascii() are comparing apples and oranges to me.

Michael, since you provided a decent solution would you mind to extend your patch for HP-UX? You deserve the credits.
History
Date User Action Args
2018-08-28 06:52:56michael-osetrecipients: + michael-o, terry.reedy, vstinner, Michael.Felt
2018-08-28 06:52:56michael-osetmessageid: <1535439176.57.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018-08-28 06:52:56michael-olinkissue34403 messages
2018-08-28 06:52:56michael-ocreate