Commit c2e2e03
amaury.forgeotdarc
#2798: PyArg_ParseTuple did not correctly handle the "s" code in case of unicode strings
with chars outside the 7bit ascii (s# was already correct).
This is necessary to allow python run from a non-ASCII directory,
and seems enough on some platforms, probably where the default PyUnicode encoding (utf-8)
is also the default filesystem encoding.
git-svn-id: http://svn.python.org/projects/python/branches/py3k@63161 6015fed2-1504-0410-9fe1-9d1591cc47711 parent 65cea6f commit c2e2e03
3 files changed
Lines changed: 45 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
478 | 510 | | |
479 | 511 | | |
480 | 512 | | |
| |||
952 | 984 | | |
953 | 985 | | |
954 | 986 | | |
| 987 | + | |
955 | 988 | | |
956 | 989 | | |
957 | 990 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
| 825 | + | |
829 | 826 | | |
830 | 827 | | |
831 | 828 | | |
| |||
874 | 871 | | |
875 | 872 | | |
876 | 873 | | |
| 874 | + | |
877 | 875 | | |
878 | 876 | | |
879 | 877 | | |
880 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
881 | 881 | | |
| 882 | + | |
882 | 883 | | |
883 | 884 | | |
884 | 885 | | |
| |||
900 | 901 | | |
901 | 902 | | |
902 | 903 | | |
903 | | - | |
904 | | - | |
905 | | - | |
| 904 | + | |
| 905 | + | |
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
| |||
0 commit comments