path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_37.txt
Content-Type: multipart/mixed; boundary=ABCDE --ABCDE Content-Type: text/x-one Blah --ABCDE --ABCDE Content-Type: text/x-two Blah --ABCDE --ABCDE --ABCDE --ABCDE Content-Type: text/x-two Blah --ABCDE--
209
23
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_39.txt
MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" ------- =_aaaaaaaaaa0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1" Content-ID: <[email protected]> ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1" Content-ID: <[email protected]> ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch1 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch2 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1-- ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1" Content-ID: <[email protected]> ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch3 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch4 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1-- ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1" Content-ID: <[email protected]> ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch5 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch6 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa1-- ------- =_aaaaaaaaaa1-- ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <[email protected]> -- It's never too late to have a happy childhood. ------- =_aaaaaaaaaa0--
1,955
84
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_20.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (John X. Doe) To: [email protected] Cc: [email protected] CC: [email protected] cc: [email protected] Subject: This is a test message Date: Fri, 4 May 2001 14:05:44 -0400 Hi, Do you like this message? -Me
507
23
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_30.txt
From: [email protected] MIME-Version: 1.0 Content-Type: multipart/digest; boundary=BOUNDARY --BOUNDARY Content-Type: text/plain; charset=us-ascii To: [email protected] From: [email protected] Subject: ee message 1 --BOUNDARY Content-Type: text/plain; charset=us-ascii To: [email protected] From: [email protected] Subject: ee message 2 --BOUNDARY--
322
24
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_10.txt
MIME-Version: 1.0 From: Barry Warsaw <[email protected]> To: Dingus Lovers <[email protected]> Subject: Lyrics Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is a 7bit encoded message. --BOUNDARY Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable =A1This is a Quoted Printable encoded message! --BOUNDARY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Base64 VGhpcyBpcyBhIEJhc2U2NCBlbmNvZGVkIG1lc3NhZ2Uu --BOUNDARY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Base64 VGhpcyBpcyBhIEJhc2U2NCBlbmNvZGVkIG1lc3NhZ2UuCg== --BOUNDARY Content-Type: text/plain; charset="iso-8859-1" This has no Content-Transfer-Encoding: header. --BOUNDARY--
884
40
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_03.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) Message-ID: <[email protected]> From: [email protected] (John X. Doe) To: [email protected] Subject: This is a test message Date: Fri, 4 May 2001 14:05:44 -0400 Hi, Do you like this message? -Me
366
17
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_41.txt
From: "Allison Dunlap" <[email protected]> To: [email protected] Subject: 64423 Date: Sun, 11 Jul 2004 16:09:27 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; Blah blah blah
185
9
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_45.txt
From: <[email protected]> To: <[email protected]> Subject: test X-Long-Line: Some really long line contains a lot of text and thus has to be rewrapped because it is some really long line MIME-Version: 1.0 Content-Type: multipart/signed; boundary="borderline"; protocol="application/pgp-signature"; micalg=pgp-sha1 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --borderline Content-Type: text/plain X-Long-Line: Another really long line contains a lot of text and thus has to be rewrapped because it is another really long line This is the signed contents. --borderline Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.6 (GNU/Linux) iD8DBQFG03voRhp6o4m9dFsRApSZAKCCAN3IkJlVRg6NvAiMHlvvIuMGPQCeLZtj FGwfnRHFBFO/S4/DKysm0lI= =t7+s -----END PGP SIGNATURE----- --borderline--
965
34
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_17.txt
MIME-Version: 1.0 From: Barry <[email protected]> To: Dingus Lovers <[email protected]> Subject: Here is your dingus fish Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" Hi there, This is the dingus fish. [Non-text (image/gif) part of message omitted, filename dingusfish.gif]
330
13
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_12a.txt
MIME-Version: 1.0 From: Barry Warsaw <[email protected]> To: Dingus Lovers <[email protected]> Subject: Lyrics Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain; charset="us-ascii" --BOUNDARY Content-Type: text/html; charset="iso-8859-1" --BOUNDARY Content-Type: multipart/mixed; boundary="ANOTHER" --ANOTHER Content-Type: text/plain; charset="iso-8859-2" --ANOTHER Content-Type: text/plain; charset="iso-8859-3" --ANOTHER-- --BOUNDARY Content-Type: text/plain; charset="us-ascii" --BOUNDARY Content-Type: text/plain; charset="koi8-r" --BOUNDARY--
646
39
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_05.txt
From: foo Subject: bar To: baz MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="D1690A7AC1.996856090/mail.example.com" Message-Id: <[email protected]> This is a MIME-encapsulated message. --D1690A7AC1.996856090/mail.example.com Content-Type: text/plain Yadda yadda yadda --D1690A7AC1.996856090/mail.example.com Yadda yadda yadda --D1690A7AC1.996856090/mail.example.com Content-Type: message/rfc822 From: [email protected] Yadda yadda yadda --D1690A7AC1.996856090/mail.example.com--
558
29
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_11.txt
Content-Type: message/rfc822 MIME-Version: 1.0 Subject: The enclosing message Subject: An enclosed message Here is the body of the message.
142
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_24.txt
Content-Type: multipart/mixed; boundary="BOUNDARY" MIME-Version: 1.0 Subject: A subject To: [email protected] From: [email protected] --BOUNDARY --BOUNDARY--
157
11
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_31.txt
From: [email protected] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=BOUNDARY_ --BOUNDARY Content-Type: text/plain message 1 --BOUNDARY Content-Type: text/plain message 2 --BOUNDARY--
200
16
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_08.txt
MIME-Version: 1.0 From: Barry Warsaw <[email protected]> To: Dingus Lovers <[email protected]> Subject: Lyrics Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain; charset="us-ascii" --BOUNDARY Content-Type: text/html; charset="iso-8859-1" --BOUNDARY Content-Type: text/plain; charset="iso-8859-2" --BOUNDARY Content-Type: text/plain; charset="koi8-r" --BOUNDARY--
454
25
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_21.txt
From: [email protected] To: [email protected] Subject: Test Content-Type: multipart/mixed; boundary="BOUNDARY" MIME message --BOUNDARY Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit One --BOUNDARY Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Two --BOUNDARY-- End of MIME message
376
21
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_28.txt
From: [email protected] MIME-Version: 1.0 Content-Type: multipart/digest; boundary=BOUNDARY --BOUNDARY Content-Type: message/rfc822 Content-Type: text/plain; charset=us-ascii To: [email protected] From: [email protected] Subject: ee message 1 --BOUNDARY Content-Type: message/rfc822 Content-Type: text/plain; charset=us-ascii To: [email protected] From: [email protected] Subject: ee message 2 --BOUNDARY--
380
26
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_01.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (John X. Doe) To: [email protected] Subject: This is a test message Date: Fri, 4 May 2001 14:05:44 -0400 Hi, Do you like this message? -Me
459
20
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_42.txt
Content-Type: multipart/mixed; boundary="AAA" From: Mail Delivery Subsystem <[email protected]> To: [email protected] This is a MIME-encapsulated message --AAA Stuff --AAA Content-Type: message/rfc822 From: [email protected] To: [email protected] Content-Type: multipart/mixed; boundary="BBB" --BBB-- --AAA--
313
21
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_26.txt
Received: from xcar [192.168.0.2] by jeeves.wooster.local (SMTPD32-7.07 EVAL) id AFF92F0214; Sun, 12 May 2002 08:55:37 +0100 Date: Sun, 12 May 2002 08:56:15 +0100 From: Father Time <[email protected]> To: [email protected] Subject: IMAP file test Message-ID: <[email protected]> X-Organization: Home User-Agent: Messenger-Pro/2.50a (MsgServe/1.50) (RISC-OS/4.02) POPstar/2.03 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1618492860--2051301190--113853680" Status: R X-UIDL: 319998302 This message is in MIME format which your mailer apparently does not support. You either require a newer version of your software which supports MIME, or a separate MIME decoding utility. Alternatively, ask the sender of this message to resend it in a different format. --1618492860--2051301190--113853680 Content-Type: text/plain; charset=us-ascii Simple email with attachment. --1618492860--2051301190--113853680 Content-Type: application/riscos; name="clock.bmp,69c"; type=BMP; load=&fff69c4b; exec=&355dd4d1; access=&03 Content-Disposition: attachment; filename="clock.bmp" Content-Transfer-Encoding: base64 Qk12AgAAAAAAAHYAAAAoAAAAIAAAACAAAAABAAQAAAAAAAAAAADXDQAA1w0AAAAAAAAA AAAAAAAAAAAAiAAAiAAAAIiIAIgAAACIAIgAiIgAALu7uwCIiIgAERHdACLuIgAz//8A zAAAAN0R3QDu7iIA////AAAAAAAAAAAAAAAAAAAAAAAAAAi3AAAAAAAAADeAAAAAAAAA C3ADMzMzMANwAAAAAAAAAAAHMAAAAANwAAAAAAAAAACAMAd3zPfwAwgAAAAAAAAIAwd/ f8x/f3AwgAAAAAAAgDB0x/f3//zPAwgAAAAAAAcHfM9////8z/AwAAAAAAiwd/f3//// ////A4AAAAAAcEx/f///////zAMAAAAAiwfM9////3///8zwOAAAAAcHf3////B///// 8DAAAAALB/f3///wd3d3//AwAAAABwTPf//wCQAAD/zAMAAAAAsEx/f///B////8wDAA AAAHB39////wf/////AwAAAACwf39///8H/////wMAAAAIcHfM9///B////M8DgAAAAA sHTH///wf///xAMAAAAACHB3f3//8H////cDgAAAAAALB3zH//D//M9wMAAAAAAAgLB0 z39///xHAwgAAAAAAAgLB3d3RHd3cDCAAAAAAAAAgLAHd0R3cAMIAAAAAAAAgAgLcAAA AAMwgAgAAAAACDAAAAu7t7cwAAgDgAAAAABzcIAAAAAAAAgDMwAAAAAAN7uwgAAAAAgH MzMAAAAACH97tzAAAAALu3c3gAAAAAAL+7tzDABAu7f7cAAAAAAACA+3MA7EQAv/sIAA AAAAAAAIAAAAAAAAAIAAAAAA --1618492860--2051301190--113853680--
2,057
47
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_43.txt
From SRS0=aO/[email protected] Fri Nov 26 21:40:36 2004 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] [nil nil nil nil nil nil nil "MAILER DAEMON <>" "MAILER DAEMON <>" nil nil "Banned file: auto__mail.python.bat in mail from you" "^From:" nil nil nil nil "Banned file: auto__mail.python.bat in mail from you" nil nil nil nil nil nil nil] nil) MIME-Version: 1.0 Message-Id: <[email protected]> Content-Type: multipart/report; report-type=delivery-status; charset=utf-8; boundary="----------=_1101526904-1956-5" X-Virus-Scanned: by XS4ALL Virus Scanner X-UIDL: 4\G!!!<c"!UV["!M7C!! From: MAILER DAEMON <> To: <[email protected]> Subject: Banned file: auto__mail.python.bat in mail from you Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) This is a multi-part message in MIME format... ------------=_1101526904-1956-5 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit BANNED FILENAME ALERT Your message to: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] was blocked by our Spam Firewall. The email you sent with the following subject has NOT BEEN DELIVERED: Subject: Delivery_failure_notice An attachment in that mail was of a file type that the Spam Firewall is set to block. ------------=_1101526904-1956-5 Content-Type: message/delivery-status Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Delivery error report Reporting-MTA: dns; sacspam01.dot.ca.gov Received-From-MTA: smtp; sacspam01.dot.ca.gov ([127.0.0.1]) Arrival-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) Final-Recipient: rfc822; [email protected] Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat Last-Attempt-Date: Fri, 26 Nov 2004 19:41:44 -0800 (PST) ------------=_1101526904-1956-5 Content-Type: text/rfc822-headers Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Undelivered-message headers Received: from kgsav.org (ppp-70-242-162-63.dsl.spfdmo.swbell.net [70.242.162.63]) by sacspam01.dot.ca.gov (Spam Firewall) with SMTP id A232AD03DE3A; Fri, 26 Nov 2004 19:41:35 -0800 (PST) From: [email protected] To: [email protected] Date: Sat, 27 Nov 2004 03:35:30 UTC Subject: Delivery_failure_notice Importance: Normal X-Priority: 3 (Normal) X-MSMail-Priority: Normal Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="====67bd2b7a5.f99f7" Content-Transfer-Encoding: 7bit ------------=_1101526904-1956-5--
9,166
218
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/audiotest.au
.snd"mÎLguido.aiffÔÕÕÔÔÔÔÔÕÔÔÓÓÔÔÔÓÕÖÖ×Ö×ÙÙÙØÙÙÚÙÚÙÚÚÙÙÙÙÙÙÙØØÙØØØØØØ××רØÙØÙÙÙÙÙÚÚÙÙÙÚÚÚÚÚÚÚÛÛÛÛÜÝÜÛÚÚÙØ×ØØ×××ÖÖÖÖÖÖÕÕÔÔÔÕÔÓÒÒÔÔÓÓÓÒÓÒÑÑÑÑÑÐÐÐÐÏÏÏÏÏÐÏÏÏÏÏÏÏÏÏÏÏÏÏÏÐÏÏÏÏÏÎÎÎÏÏÎÎÍÌ·¸A»°Z^½ÓdÎ^Ú¼{a¸¾ìĽÉÈÒÕÈÐ]ØÊßòÏÈÊËÍ¿²Ñ°ÁÄ»ÒÆ½TF·ä2¸¬/Ú£^F«ÊB­e;®Ê5¶«{·¬ÀµµÛĺLQÌ^HuãÞÖÐɺ½ÎÁ¹ÝíÞóVONzôgîÊÂÆ¿¹¸¾¿½¿ÏÓÍÐâãÕØàäèáäÝoÐÂUÌÉ\_ÕXeËáØÆÃŽÂËÍÊÊ~¿ÄYyºéGÇ´ÊÞ¿¯Íÿ·ÁÏßËÈÉSqÊëEj~N??A71?OOôÓº¿½¹¾ÌËÐîWIOQWQÞÍý¶¯´­²¸´»ÌËÃèêÒåßÕçéåiNC:1-.BB6oÁÏÆ®·¹´¿ÄËoM^G>NXOéÈÄ¿´¯²²°³¼ºÂÌÓØãÚÖÙÈÉÏÍÊÝZYF82-(;?.K¾Ìί¯´¶¸ºÅzYtC:DJDTí˾·³¬­³¬²¾Â¿äkìsûäÚÎÌÔÌÎñPP;3-*A:)VÀNܬ·½°²¼ÁÐ{þB<HE:LßÝ¿²²±©¯³¯¶ÅÆÍrlc_w|oÜÔäõæV@93,<9-=ÔUK¹¶Æ»®·¿¾ÅíULH@?CYìο½¯¯°¯¬¶¼ºÄïïÝPPcaS^÷_UQL=61>8->Þ?F¼Än½°À¶¾ÙáêPGAGLRÞÐÛ¹µ½·­¹¾¶¼ÚÔÐ^UZWLQV[MNXG::@>3DM?>ÕtòʼÇÀ¾¼ÉÐËàVYdHSpÛgè½Èʹ³Í¼¸ËêÅâNf_HG]OMT^MLLGOF>EG=I\NWâçäÌÊÍÌÊÙæãïZ_~_[ðÛýÜÊËÍÆÄÎÌÍÒãØåëîè|åèåêàâöïraZTNLKINMOUigÿæßâÝÛááãæèáèßÙÔÓÎÌËËÉÉÊËËÌÏÏÑÔÕÕØÖÓÔØÕÚÞæíwlbZTPNNNORV]jyùéäãáßàÞßßÝÚØÔÐÏÏÌÍÍÌÎÏÏÒ×ÕÖÙØÖØÖÓÒÓÑÒÔÕ×Ýßèøsic_\[\]_dinszþüüøðïìãÞÛØÕÑÏÍÍÎÏÏÐÕÖØÜÝÝÞÝÛ×ÕÓÒÐÐÑÐÔØÙÛáßßåææççæéíô~vnfb`^_dioúëäÝÚÕÐÏÏÏÏÏÏÐÒÑÓÔÕÕÔÔÔÔÔÔÔÕ×Ö×ÚÚØÙÚ×Ô××ÔÕרÙÝâçïzmheabcenw}ïåàÞÝÜÛÙÛÜÛÛÛÚÙØ×ÕÕÓÓÔÒÐÓÕÓÓÂÒêèÌÑÐÛÛÖÍÕÚÙÛÜÚäîëìÜ×y]^þäækcmíèä÷}òààÞâåÞ×ÖÔÔÔÒÏÏÎÏÎ˽½ÆØåæÎÉÎÞèäÓÌÎÖÜÞÛÔÐÕÛàÜØÖÕÌÎÔëufjg_[Y[iüìéåßÙ×ÕÕ××ÕÕÔÒÑÐÎÍÍËËÌËËÍÎÎÏÏÏÑÒÓÑÒÑÐÐÏÏÎÎÎÍÎÏÑÔØÞæúg^^[Y[]]`iyùêàÞÜÛØ×ÕÓÐÏÍÊÉÈÇÈÉÉÊÌÏÏÔØÖØÜÞÜÝÝÛÙÙÖÒÏÍÌÊÈÈÇÇÆÇÇÈÊËÍÏÒØßðo_[WSONNOTZ]g{ìäàÚÖÒÏÌÊÉÈÇÆÆÇÇÈÉËÍÏÒÔÖÙÚÝßßßßÞÞÞÜÚØÓÒÏÌÊÉÆÆÅÅÅÅÇÈËÍÐÔØÝé|h[VQQQQQUUYfxøæÚÙ×ÓÏÌËÉÇÆÅÅÄÄÆÇÉËÍÎÓ×ÛÜßçììíñíîñîéæåáÝØÕÒÎÌÊÈÆÄÄÄÅÅÆÈú»ÅÅÆÞ÷éSB@>?KTLRk]wÒÌÏÊÃÆÉÅÈËÌÍÎÐÔÓÐÌÌÎÏØÜÓÏÒÕÑÑÒÍÎËÍÍËÊÉÇÈÆÄÄÄÅÅÉÏÑÙßtWMC=6:TìôjöÎÉ¿»Æë^àÐéúukìξ¿ÊÊž¾ÄÌçhüâê_Wmç×ÐÏÐɼ¼»ºº¹¸¸ºÀÿ½ÂÌÎÒÜë[I?:7/*%6ÃÇun½®²ºÉOKdÓN7FÜÀ»¼½À»²»ÓYYéaOHIeÓÇÍçÕÅÂËçéÒ¼¸º¾º²¯¹ÅÉÄÃÏê_gôlPC@@<1+&5¹É][½­³ÅåWÝÍíL;Û¿ÂÅÏÀ»¼¿ýeÙÞòOKeíÒÖøÜÎÉÏäÜÚ×ÔÔʽ³­´¹µ³¼ÑäÓÌÊÓðߨÒþNFC>6...7äØËϼ²ºÉÞxñ\GEDüÙÎÉÆ»»ÁÆÏÓÖy\\j~têÛÖÎÑÜßÞÙÝíîØ¿··¹·µµ¾ÉËÈÅËÔÔÌÍÛxiXOF8456//=X×ËâȺÁÕomïf[MxÎÇÃÃÀ»¼ÄÏÚÏãbVU`hZ[rßÛçïíß×ÐË¿¼¾»·¹¼¿ÂÄÁÅÍÍÍÍÓëoþúTHGD@97543;ýh`ż¿ÄËÎÜãfYsìØÉÍÅ¿¾ÂËÍÑÛï`_i^[ayãÚÕÙÓÎÎ×ÙÕȾ·¶¹¶°¸ÀÁ¾¾ÁÄÊÁÁÆÑÓÕÔéSRSMMB>>B;69[òv×ÍÃÇËàÚ×ÐãÓÎÄÄÄÆÇÅËÞßÓÏÕÚÛÒÐÖèÚØÖØÜÕÕÎØ×οÀº¼¹¸µ·½½¼½¿Äÿ¿ÂÊËÎÖçïnidONJNIFG@GF=GoUIgÍÑáÔÎÉÊÎ×ÑÏÎÓÞÙÌÓéÜÔÕÝÝÖ×ÎÚÛßÑÔ×ß×ÖÒÙÓËÉÃÆ¿½¿Ã¾Á¿¿¿ÅÃÂÇÉÊÌÌÍÜßèÝÞÛÛѽÅyjg_\`PKqpS\x^df[`ëú[|øçÎÙüÉÂÑÜÊÌÏÎäæËÓÞÙÎÎÊÉ×ÌÅËÑÌÅÉÂÆÈ¾½ÃÅÀ¾Ã¾ÃÈ¿ÅÊÉÅÆÔÍÔÐÊÝâÙÚÌØsàÞèßñúyÞÝYSn}ìäcàÙäßr[÷ÖîMë×àyM}ÐxWXÏßwáÇÒ×ÎåÍÍÐÞÛÇ¿ÍÍÓÇÅäÊÇÊÉÍîÇÕÍØÒÕÅÖÿïÏÎÙÎïÍÉÐÔr»ÉÈæ×ÏÂÞMÕÂÜ^àȸúüâÎÌK]ÃþâDÚÂTúeÇ¿ØAÞÇÂANÅwßGPÀÎ>OÂß\XçJÈIa¿X?úÍPîYaÈ_ZÚÝÌußûÔÍZdÏçÏÛiÐÍÉäÌËÖÍfÈÊÚ{ØÍÙÏëÒÍé{èÒÐþ×ßÔêéÓÓÙfsôËtNgÏLLÿ^T_OÓY<Ê_ÐSÈ]ßpZñXàÖÔÒÕñÚÌÛæÆËdÈûÊÊëtÜÄêßÝÙ`ÑhvËdÝ[ÝõÎØgÎÉÔmËÍõ}ÛÓeëÙÍùvÎÕåÔÈâÚÐËÔÞîÔÝÝçëÐàâéÙÚÛàîÍàpóÐÞìqÒÙqÎûÕóÓSÏñìóaÚ[i[ÏLKéMO¿éMçÎÊëÖnÏÔrÚÓÔìÝÛÉÖÐÚÐÆæÅßÎÔÓÝÙÖgÐêég×ìÚÏhÏÛÕÕùÔÏëïÄàùüÈÕeÅÔåÚÀõÖèÙÏØÞuÎîæßÔåíÙÐ×ÚÊÐôüÑÍâÑË\þÚlÒîñ_ËëHÙÔPlXÑÎXúòÍXoȾIaÆçê_ÑúÆÒÖYÉÈëèÇÍoÌÁlYÆÀRéÏÎúlÍÏ_rØÎñbï¿ÑA¹¿Eò¿ÚmÜøÌÒëÏÙìÏÖ÷ÎÅhûÇîÒâbÇÍ]ÝÍàéÍÞÈËÖÑÖÖÉÞéÙÃfÕÏÑÞÌ~Ì»ÝßÊÈáÌÞÞÑÝè×èÏÛõÊÍãÚÀúÔÈßÛØÑÜÒèÐÓÞêÌâßËäÚÌæñÑÐÞíÏÖ×ðÎÚòÛÕàÖ×ÞÝÖÓýÚáÞíêÛèÖÙÐóÍÝÑüÏÖÕ}ÕÒîÚ××îÑÖÏýÎ×ÔÝ×Ô×ßÔÑÜÛÒÒßÑÒÓÖÕÔÓÔÏÑÐÎÎÑØÍÒÖåÞÜdêøU[iOL\NL\n]åÓÏÉÁ¿»¼»¹»½½¿ÅÈÌÚÝßh_wNLFB:6:N)?Ä*VÆhQ²ºõ°»¿¸Æ¼½lÂÉâÏÁÓÒ½ÊÆ¿ÆÅÌ×ëhQ?92+/:#,\/4ÌÍNº®¿µ¯¶º¿ÅÉoMYK=FQJHvÆk˰ÃË®¶Ì¹¹ÜÛáFG=-,'83ÍÈÊ©GYŸ®T£­Ñ°ÆbËB9S=-:Y/=È[Mµ¹ï«µ¿³´ÕĽKôS;<;+*.û& "-§´>½›O»£È»Lèc2<A>'[Y.ÏÆ|ÙªÀ½¥¼¿®¸Y½Ì>LL315%4Á1 )-§¥.´šYÀ¦ÃÖ¿LYS<-`O'ÚÍ<{®¾â«®¿±±ÃÅÃj^d<8=1(.¼&!Ÿ?-® h욽ŧ¾Ö¸G>ìW);·-9´¼G»§¿»«°º¹¾ÊÆ^A\I15.,å4!µÂ2Ñ¡»SŸ­Á¬²Ì¾Í@SÓ74ÌLIݼ̽±»°³¸¼·ÄßÏúHJP-/60t&7¯9ãÁ¨Ã¼ È¬¬Í½½ÖBÿÈ-iË?ÞÓÄݲ¾É¯µÄɺÓÖ×ZCN?63LÜ-;Ã]d;Äį½Èµ½ÀÌÌÌçËskË×ÏÏÌÌÇÃÍÊÉÍÍÑ×Ù×ÜmiaNXfLEVh]úÙÛÙËÀÉÊÂÇÇÅÂÈÊÇÍÉÅÍÆÇÆÃÆÄÅÃÅÆÆÍÎÑß{XKMPC?JJPwôüÖÂÆÅ½¿¾»º¿Â½¿ÇÇÇËÅÅÎËÄËÌÈÍËÊÏ×ÑÒä|cSKN_I?O^^kÝ×;¾¾¼»ºº»ÁÇ¿ÇÕËË×ÔÇÎÓÇËÎÈÈÏÎÈÔÜ×ëìaKI_~ECýålÜÍÔŹ¾Å¼¼¿¾ÇÚÎÈè{ÒÇÌÑľ¾¾¾¿½ÀÇÊÍïæáWGHG>KN@CxÒØËÇŵ¼¿¿ÀÆËä^xêÛÛoÝ¿º¿½»º¶·¿ËÌÑâUB=:3/*;ë8?ÇÇÁ«±¹­¯´´Ë[Ø]A?AFÕ×Û¾²¯­«±¯°µ¿ËgO>3/+#!By6OÉ¿¬ ¨¯¯¬¬·ì?>;;:80L·ºµ©«¬¤¢±»ÀÎüc=////("*¿WZ´´­ªžªµºÁÎÙV0)+HOSWÒ´¨¢¢¨®¯²¹Ë[;9??92/,++[¿Þ·¿·²§¨¹Âr_OI@4,3JïË»¸·§¢¦«°¾ÕÊåK>?>ING@73+=¾Ö¿Ã¿À´¨³ºæaJOiN:6@SǶ±·±ª«ª«µÊÚæazïxVMKHI>5',k_À·¸Ê¾«²®»ÏE=IBBAKCpÀ³°¬«®¯²µ¿ÅäYUZxÞÚ}SIC:1)0PJļºÃ·¯¸±¼ËMG?<>ITRÔǽ·®­¯®¸ÀÎÌÞíëyzwâäúZI9.),AKÏ¿Åõ»µºÄ}KD>DRt{ÚÖË¿¶³²±·½ÅÌÑÎÍÎÒÖ×ÖÏÜaI<3-(->?Ê·´¶³¸É»¾ÆÏèI;:AIõÇÄþº¹²®±µ»ËéïæâÌÇÕæwWMXN?8.,8<ä¼´´¸ºÌÿÀÂÊïI@??PÞËÁ¾¿À½º¸µ¸¾ÊÑÞàÙÕÐ×Ùï_\WOHA908>MÌ¿º¼ºÂÌÅÏÌÊÎù\QIOuÛÉ¿½ÀÀÀ¾»½¿ÂÊÔÒÔÕÏËÎÑÓã~ïs\OF<;FJ{ÍÆÃ¿¾ÊÆÈÌÈÊÐßèf\{îàÌÈÈÅÃÉÉÄÅÄ¿¿ÃÇÊÑØÕÐÎÌËËÌÓÚÞëøw`NLRSiÞÓÌËÌÕÔÓÑÊÉÈÉÊÍÓÒØÑÌÍÌÊËÎÍÊÉÄÃÁÁÀÁÅÅÆÇÀÁÃÄÄÇËÏÝçótjcUNScÿÙÔÎÌÌÎÏÏÖÓÓØÜêýnoøéÚ×ÒÍÌÉÆÇÉÆÇÊÉËÍÎÖÙÜÙÔÕÕÐÎÎÊÉÍÑÚÝétmm[OMMOeõìæøpha^nñðÞÝááäáçÞäèÜÜæÚÓÒÐËÍÍÍÎÎÔÛØÕ×ááåóýquyyjf_[ZROSSY\c_`^Z\cbhþòõèäèáäßéññ÷ø÷çìëñõïÝ×ÐÑÚÛÝÛÛÐÒÖÜÞÙêífk_\Zbb\d^\]_XZ_V\^[_jibl`fphp÷ìëêöòãÝÝØÐÓÖÑÏÓÏÔÝÔÚëõí|îáÞØÓÓÛÖØ×Ýáüüme_Z`\\Za^`hblðñîîííêêêåâàÛÖÞßâàÞÚØÙØÙÓÐÍËÌËËËÎÕØØÞÞÞÙÔÝÞØÖÝéßÞêßÙàùâçhsýnihacnspïëôø{vîçÛÖÕ×ÖÏØØ×âÜÖÐÐÎÒÕÎÌÊÈÊÎÏÖרÙßÞÏÐÔÐÒÕÓÓÚÞàxòÛæmlhW\_[WSXaïôäáíêçéíâÙÛÝÕÔÕÔÕ×ÔÐ×ÚÔØÔÎÐÏÌÌÌÊÉÌÎÐÔÕÔÎÎÏÒÐÑÓÓÏÓÚ×Ûßâ}kbZTUPHNZbàÙÕÒÖÚàáÞÙÍÐÍËÔ×ÖØÜÒÐÖÙÓÕÓÏÐÍËÌÎÍÉÊÈÃÅÆÉÏÔÒÍÌÊÌÍÎÐÙÝÚààäïï~n\XOGDKP^ßÚ×ÒÙëßÜÛÑÊÌÌÍÒÚÏÏÒÎÌÏÑÎÔÔÏÏÒÏÐÕØ××ÔËÉÅÂÂÃÆÈÍÏÏÍÌËËÎÒÕÞèííþzl\UOKD?DPqÏÇÅÉÐÛÜßÑÎÉÌËÍÓÔÌÊÉÇÉÍÕÑר××Ø×ØÛØÕÕÖÐÎÉÅÀÀÀ¿ÄÈÌÍÎÊÇÇÉÍÔÜáïñûÿkqaTNC<:L]ÎÁ½ÃÇØÞß×ÎÌÈÓÌÖÔÏÇÈÄÇËÖרÛÓÏÐÔרÝ×ÓÑÑÎÏËÊÆÄÂ¿ÃÆÉÊËÈÈÆÉÈÓÔÝßçìõp^WLD>96<W�¼ÆÏðùgÜÝÎØØÙë×ÌÈÈÅËÐßÖæÝ×ÙÛßÞßáÕÔ×ÖÑÏÍÊÂÈÄÂÅÇÉÈËÈËÊÏÖÝßéùûj`aXNF>:42;WòüÁÆÑïnjÎXØ[zïÐÚÆÇÔÎíïçï}äõ_m\[~quæô~çßâÛÛâÝÕØÜÙàáÑÎäàÓÞÚ×ònâíkh\PPNGGHBISWawecéìïÚÓÞÜÞ÷õââáØØÞÛÛáãåêôòvuutx}õôõõöèæèëêááåãßÚÙÛÜÙÕÓÔÐÐÐÏÎÑÒÐÏÒÙÚÛßìèü|ëúgðñ^YYQQRT^üèõòðæÚÛ×ÎÑÖÖÝïÝÞïß×ÚÙÔÞÜÓÞäÙÞèÝáèÖÚöÙ×åÆÁ_åÆÜÊÁrÝ¾ÖØ¿ÏÛÄØÜÁ¾ÏêülàÑúQZWGC=?TjÚžÊàáýæÍÜéítaXfëÝÚÍÏÖÏÖÜÔÏÓÖÔÉËÌÈÇÎÍÍÍÊÅÈÇÈÍÒØØÑÞëåfVME?:4.,=±»ÍôMiüWULE?Dpƹ³²ºÅÜm^m{ka^ZZϸ±¯°¸ÅÕàßÎÅÈÍÏÖØÖÏÕuMA82,'%:Ƴ¦¥ª¶ÓS@NPCGC;;CÑ´«¨ª³ÈV@>DNW^ga}̺¬©ª¯¿ßWXvοº½¼¿ÂÈÏçPD;3,%!<힡£µÖ@9?PD\WCIH½®¦¢¥®ÉH;8?YüÐÎÔË´­©«¯ÂáT_ùʾ¹¸º»¿ÃÏèPC91)#*ê¼¢Ÿž©ºN:3=@Sï]kKÚ»®§¦©¶àF:7DYÊ¿¿Ã¼³¯®´½Ùc]~ÐÁ½¼¿ÂÇÒ~UF:0*$/`½§¢¢­¿D947A\|oùUÝȶ®«®ºÒP>;BSÜÌÆÅý¸µ·½ÌmVTT|ußÍÆ»»¼ÂêF9.**Fj»®«¬·ÅRM<ACJFPUWÙÅ»·´¹ÀÑwWNPYöçÙÍÈÇÁ»º¼ÂÑðfsãÖÒÑÍÎÓáiNA<0,1Jåµ®ª²¼lA=7AKVXl]Xç˾º¸¾ÉîZNS^vÛÛÖÒȾ»º¿Ëèlkyߨ×ÛçbRNHD917K캱¬³ºäKH>IOe\ch[úϽ½ÀÊßüa~Ý×ÐÑÒÉÀ»º¼ÀÌÒãØÔÓÖâuOKEA?94D]ɶ±±º¼sWVOUbæ_fnöÙÇÀ¿ÂÈÖíãîäÝÑÈÊÅÇÄÆÃÃÃÃÅÊÐØãcPLD??68Ts¾·°½ÀÒTV]l_åîfgìâÏÄÀÅÊËÕÖÒÉÊÅÆÍÏÎÉÊÉÎÖØÐÏÔÙs_OJB<8>Rü¿½¼ÌÇæçôêïÿßïðíÜÛÔÏÎÓÍÊÂÃ¾ÆÆÌËÌÏÎÝ×ëÕÚÏ××ñph^UUI?CT]×ÌÉÔÍÏ××Î×ÙýéfâáÜÚÖÎÏÆÅÁÅ¿ÅÂËÌáÍØÊÙÐÜØØÞåÛÞæÐ^ßPkKXêúÖÖÔÒÔÒÝ×ÎäÏìÌÛÌÎÓÅÙÀÐÇÏÖËÖËÏÉÇÈÁÆÍÍÌäãåwçßÎÖÝÕæãèÍ`ÅUÅPÃTÓéÏ×ÉÊÑÏÎÊÛÉÓÐÛÑôÂëÃìÆçÏÌÖׯãÇïÇÙÙÀxÉïæÖV½OÁúÌÒäÑÞÎÐÝ×}Üå×ÚÙ×ÒÙÌÞÒàÒÔÛØÛôØnÖçÎÛÍáÎÝÈðÉÛÎÐÒÏòÄoÌïÎÜØÉêÌùÏ÷ËãØØßäyÜîæßÚîÚÙìàëÏçÓüÛ×îçÓpßíÙíÝâÙËÎæÏòÈPÆ]È`ÑqÚÎ`ÅcÆ[ÆVÓueþëÛéÔã÷yÔþÏ^ÑóËãeÌqÅ\ÔSÕ\ÚÞîÏZËTÂÝÒ]záQÌãËå{ÜðËËiùRËçÎóXßrÞüØÏ[ÒLÔÒÁåYÉMÈfÖûO¾NÆNãîÐ×lÎälÎYÌìáéâÎYÞíÇÕ}ØdytÊÉuÊEÅGåÄTÂ=ºEÆ×ZÂNÈbßè[×^ÚØtÅNÏEÉgÖÍXÍZÔÛoÇ[ÕÜ\ÆHÀXÑÍWÀKÀíéÈGÂKÌÊHÇiêËïÍmÓàiÑ^ÝâàÍ]ÝÙÖÙÎÝÙìÒçÚêøÜæÖÞÞßÚæÐtÉnÑèÙÌ\ÊïÜÉ\ÍÜæÄRÈèþ¿LÆÔYÂgÐÌOÁ]ðÈXÍwÕÔèÐÏmÓÏzÐÒeÌìÜÎðÙÓzÓÔçÜÞíÝÚåxÒóÝßÝßïÔ×îØÜðÖàéóÜpÚÜméÕ}ßÙøûéäíáãîþÞÕæäßuìØÝúéàÒ×ÕÚÚäÙØáäßÛáÚÎ×××ÜÛÞáåÛØÞÞàæêßÕÕÖÙÖÚÖÑÒÐÚÖÏÖÑÏÐÒÍÍÐÓÏÏÖØÜßæÞÚÛ×רÜÜØØÙØÜÞÜרÕÒÑÎÐÎÐÎÎÎÍÎÍÏÍÌÌÌÍÐÐÕÒÏÔÕרÛÚרÛÖÚÝÜÝáèåàãÞÚØÓÎÍÌÌËÊÉÆÅÅÅÅÆÆÆÆÇÈËÌÏÐÕÛàïve]UPRUZYflîÞØÏÍÌÊÉÊÉÈÈÊÊÌÌÍÌÌÌËÌÌÌÌÊÍÌÍËÉÉÊÊÈÉÌÊÌÌËÍÒÚÜßífRDHRNOd\úÙÌÊÆÈÈÊÍÌÌÏÕØØ×ÛÑÎËÊÆÈÉÉÈÊÎÑÓÛÛÛÖÍÌÊÊÉÅÂÀ¾½¾¿¿ÃÉÊÍÛ~^J<=MGI\][ìÌÊÉÌËÒÜÙÕÞçàÙÛØÎÊÉÅÀÄÈÊÊÏØÚÞôøëéèãÞÒÍËÇÂÄÁ¿ÀÁÃÂÂÅÉÈÍÕßzXI?8:I?CTOXñÒÍËÒÍÏÜÒÎØÜÙÐÓÖÎÌËÉÅËÏÕÓ׿ãòfbkkmivßÕÐËÆÆÂ¿¿ÁÂÂÆÉÊÉËÔÝåmTLC:39M>?RPOõÐÌÌÑÈÌÛÍÈÕÙÒËÔÚÎÌÕÍÉÒåçÝîknnYYepßÚÙÒÐÎÆÄÄÃÄÄÃÆÇÈÊÑÕÚô[OG=83/;òLUÝtnÎÈËÝó×í÷ÎÍÜÒÈÃÊÇÃÑÓÉÒùpdXTjy^ùÉÆËÃÄÉÄÆËÈÊÊÀÅÊÂÄÏÊËèûnOG@;851/>ÍæòÆÔÁ¼×Úý_ÕÐiòÅÅÉ»ÅÚÄÇßÖålïélcüýáËÆÂÅÈþÀÉÈÃÅ¿½Áľ¾ÆÉÎæûvYLFAA=8513ÿÇQÌÝÆ¸ÎÔÓjÓÊÙPʿԾ¿íÄÄÓÙÕÞáÒþgìoìÑñîÚÚÝÍÂÂĿĽ»ÁÀÀÅÄÀÊÑÈÍÛÓã}øtgaYQNIBA<9=N\^^ýÊÛÍÀÙØÁÇÖÌÊù×ÍäÜÓÞÒÊÉËÈÕÛÐÜïÞè{çÝüóÛØÏÈÉÅ¿¾¿¿¾Á¿ÃÆÄÅÅÇÈÍÒÓÜíù^PLE><:64>FAJéëëÃÂÒÆ¾ÆÌÂÈÏÈÇÎÍËÌÌÈÉÊÍ×ÙÝörpk`oónõÖÍÈÅ¿»¼»¸¸¼º¸½¿¼¿ÈÆÇÖÜÛôlgVLIA><86:=@GTlÛÌÅÀ¾¼»¼¾¿ÀÆÇÉÍÒÏÎÑÎÍÐÓÓÚáçïüñíðìâÙÎÆÂ¾½º¸¸¸¸¹º»¼ÀÃÅÉÌÏÙéóýkYRLGB>;99=>EObîÏÇÇÁ¾¿À¿ÂÈÈÆÌÎÍÏÐÏÍÎÏÏÖÚßî~smps~ùáÒÍÈÅÀ¾¼º»»»»½¹¼ÌÁÈÊåßðîþPPJJA;876;??HVßéßÎÌÆÉÈÌÊÄÏÕÎÎÏÖÕÐÑÊÓÖÐ×Û}osmn[^|ßÏÏÈÁ¾½¿¾¾¼½Â¿¿ÂÅËËÍÏÝììcXQCC?743/6@7?åÜnÉÆÃ¾ÌпÈo×ÍëÛÚíËÎíÍÃÒÚÉãñîV_oTR{ØÚÒÆ¿¾¿¿º½¿¿¿¿ÄÆÅÇÎÓÏÕðþo`MGH>86314;8<_ühËÇÅ¾ÆÆÂÊêÒÔn÷ßõçâÜÐÑÑÍÊÕÚäéle`^ciÒÔϾ¾»½»¹¼¾¼ÀÇÁÉÏÎÕßáõnfSSNBC<879;8EM\èÕÇÿ¿¾¾ÃÇÉÎÓÝÞåèçÞ×ÜÎÌÎÎÑÕÞß÷yphúäÚÔÈľ¼¼»º½½½ÂÅÇÌÔ×Üìòi_ZRLGC>=<;=?AMXkâÏÊÇÀÀ¿ÀÁÅÈÌÑÕÚÞãàßÞÛÚÙÜßäêîø~ýòàÚÓÏÊÅÃÀ¾½¾½½¿ÁÂÆÌÏÕÞî}l_YUNIEA>==>@DITeôÓÉÇÁ½½½¼½¿ÁÄÉÎÒÕÙÝÞßàåéíïýy{usúëåÜÓÎÊÅ¿½»¼¼¼½¾¿ÂÇÊÍÓÜèûl^XOLHC@@?@BGMWjæ×ÏÈÃÀ¿½¾¾¾¿ÂÄÇËÏÓØÛßäêð~{qmozü÷èÝØÒÍÉÅÁ¾½½¼¼¼½¾¿ÁÆÉÌÏ×Ûçúlf]VQLHGFEEGKPYoâ×ÏÉÄÂÀ¿¿ÀÀÁÄÇÈÊÌÎÏÓÖÙÜßäèëïøùóîêßÚÔÏËÇÅ¿¾¾½½½¾¿ÀÃÅÇÊÎÒ×Üæòzg^XQLIGGGGKOU[réÞÕÎÌËÈÆÆÆÅÅÆÇÈÉÊËÌÍÐÓÕÙßæëñù~~ùìåÝ×ÐÍÊÇÄÁ¿¿¿¿¿ÀÃÅÈÊÍÐÖÛßéúoe]XRMKIHGGHKMR[kúâØÒÎÌËÊÉÊÉÉÉÉÉÉÉÊËÍÐÓÖÛßåèíôøõîèáÜÖÑÍÊÈÅÄÂÂÃÃÄÆÇÊÌÎÐÕÚàéöxi_[XTPNLKIHHHJMOU\i{ïåÝÙ×ÓÒÑÏÎÍÍÍÍÎÏÏÑÓ×Ûßæìïù{}óëçáÙÔÐÍËÊÉÈÇÇÈÈÉÊËÍÎÑÕØÛÞäíòþxojc^^[ZXWVTRRSTVZ_fsõêâÝØÔÒÏÎÎÍÌÍÍÎÎÎÐÑÓÖØÛÜÝÝÝÝÝÝÛÚØØÕÒÒÐÎÍÌÌËËËËËÌÍÎÏÑÔ×ÚÜßãèíòüþzsrnkfd__]]]]]\\]_bfkp{÷îëçâßÝÝÛÚØ×Ö×ÔÕÒÕÓÖÖØÙÚÚÜÛßÃßÜÕÒÛÛÚåÏÒ¾ÌÉ˽ÉÈÒÏÍÌ×ÜÛÖÚ׿ÈìÃîÍÞÍ~í}zk]VTXQULONUPY[dn÷äÙÖÍÎÉËÈÉÊÌÍÎÓרÛÝàãäãßáÞÜÛÔÍÏËÇÃÆÄÀÀÅÅÆÄËáÆËÃßß^ÑÎÖalèÞò[[mdOJOPICFDDLNJShìì×ÌÉÇÈÃÁÆÆÈÈÏÕ×Ýäååë÷èÛÚÝÜÖÏÎÍÑÏÎÊÊÆÇÇÅ¿ÂÁÀ¿À¿¿ÁÃÇÈÌÌÒ×ßàðîþúntd[\YLKNYI??L[íåyeØ¿»¾ÂÅÿ¼ÀÌÞâÜ×ÚèhcÿÝØÞäñÞÔÎÎÓØÓÑÍËËÇÈÄ¿¾¿¾¾¾¿ÀÄÅËÌÖÒßßøwn|lgc\WQQONJGDFJS`zæÞÏÊÁÀ¾ÀÁÃÄÇÉÎ×áèëïïñòðêåßÚ×ÔÓÏÏÌËÊËÌÌÌÌÊÅÃÁÁÁÂÀ¾¾¾¿ÁÅÇËËÎÔÞçùüpifa\YXTOKIHKWlñàÚÑÍÈ¿¿¿ÂÇËÌÏÔØàí÷ÿñåÞÜÚØØÒÎÌËËÊËÍËÇÃÀÀÁÃÄÂÁ¿ÁÁÄÇËÍÎÐÑÔÛæíùýÿ|n^UNLIGHHHIOZpßÑËÇÄ¿¿¿ÁÄÈÌÔÛåëñû÷õñíæßÚÓÏÎÍÉÇÃÀ¿¿¿¾ÀÀÃÂÄÃÈÉÍÎÑÓÕÖÕ×Ùßçñ|mia[TMHFEGLS]séÚÒÌÇ¿¾¾¿ÂÈÌÒÙÞåîûvwnsüëàÚ×ÔÑÐÏÎÎÌÉÇÆÄÅÅÆÆÆÆÆÇÈÉËÎÐÓÖÙØÙÝãæõsh^XTOJDA@AEJQ\uìÜ×ÎËÇÅÃÃÄÇÌÏÖÛßãåæéìðõúôîêæÞÛÚ×ÓÎËÇÅÂÂÃÄÆÈÉÉÊÉËÌÎÓÖÖÖÕ×Ûßêøn^XRNJHECBGJP\qëÜÔÏËÉÅÄÄÄÅÈÌÏÒÕÖ×ÚÛÜßåèìíêåâàÝÛÚÙ×ÔÒÏÎÌÉÇÄÂÁÀÁÁÂÂÃÂÃÄÅÈÊÍÎÏÔÖÚáìýre]VPLJGEFIMWe{çÞÖÑÍÊÆÄÁÁÁÃÆÉÌÎÏÑÓÔØÛàèïïìåáÜØÕÐÎÌÈÆÃÁÁÁÁÁÂÁÁÂÃÄÅÆÈËÌÌÏÖØØâùscZSNLJHHIJMRZbvçÛÓÎÊÆÄÃÃÃÄÅÈËÍÏÏÏÏÒ×ÜßàßÞÞÞßÞßäæãâââßÝÞÝÛÙÖÒÐÎÌÌËËËÌÎÎÏÓ×ÛÜßòú|ob]ZTOMKHFEEEGKOWavíߨÒÎÌÊÈÉÊÍÒ××ØØØÙÛÜÞáãçéêèçåååæãÝÚÕÏÍÊÉÈÈÈÈÇÆÆÆÆÉÊÌÏÒÒ×ÜÞàï~fZSOJGBA@ACFKR]jõæÜÔÏÌÊÈÉÌÏÓÔÕÖØÙÙØ××ÙÜÞÝßÞØÕÒÒÏÏÏÏÐÎÍÍËËËÍÎÎÎÒÓÑÖØÖÞåæçûib_[TONMLKMPU\gÿçÝØÔÏÌÊÈÈÈÊËÍÌÎÎÌÌÎÍÏÓÔÙçèäèþ{ôîððêãÝÜØÖÑÎÌËËÌÊÊÉÊÊÉËÍËËÍÏÑ×ÛáõxlfXNKHEBEGJOXfþçßÜÙÖÓÏÌËÊÊÍÏÏÐÎÏÏÏÏÏÏÐÕÙÛÚÛÙÕÖ×ÓÒÑ×ÔÒÒÔÓÑÒÕÓÐÐÓØÚÖÛäîéõ{cVMIJHGHMS\sìàÝÜÜØÓÏÎÎÎÏÑÕÓÓÑÓÏÏÏÎÎ×Ûáï~rgceiyúïîèàÜÙÕÔÑÎÌËÌÌËÌÌÍÎÏÏÎÐÖÚÝn\TKFA?AEIUiåÖÏÎÎÎÎÍÌÊÊËÍÒØÝßÝÚÔÏÎÌËÊËÊÊÉÉÈÉÉÊÌÌÏÏÏÎÑÓÕÖÙØÛßçèò~xc[SLE@AEIXéÕÉÂÁÂÄÅÈÈÆÇÉÊÎØã÷olðÝÑÉÄÃÃÄÇÈÉÉÉÊËÍÐÔÚÞâåßÞÛÙÝßçóte[QLHDEHNeåͽº¹¹¹º»¼¾ÀÆÌÔçpZQNNRUZdsïÛÐËÅÀ¾½¼½¾¿ÁÃÅÈËÍÏÒÕ×ÚÞåögSJ?82028=QÞ̾¼¼¼»ºº¸¸»ÂÍûUMLMZúß×ÐÌÊü¹µ²³¶»ÁÍ×Úãááóla\Z`onh\J=2-035\Ô̼¼½À¼»»µ²ºÄÓYDAEI[ÚÎÏĿü·´³±´½¿Ëëíðþöo\__X`m^TG:0/3:JÛ¿¹º½»¸µµ´¸ÆëQ@=BOcÝÉÈÇ¿¼¹²®¯±µ¾ËÓÞéÞÝïyl[Xdoxv\J=6247@^éËÄÁ½¹³°®®³»ËzOHGHKNPUkØÆº²¯®¯±¶¸¹»¾ÃÎågYSX_[PI>82..27G\çÅȾ¸²®®­±¹Âß`ONIECBEG]Ú¿µ±¯¯¯¯±²´·»ÅÐßêííêøxgWOJB;1+,85FÙ_çÏÁ»³ª®³·Æßxàö[VH=?LjØÀºº¸µµ´¯¯¶»¿ËÔÏÖèôoVORTMG>3,)/A=y_>hȽ·¬®³¾ÌÂÎÉÒW>AE?_üåíÓÅ¿²®¯¸µ¸¼µ¸¾ÊÔm^z{rMHD>=;4,.=?:I`Oe»º¼²³¼Ä¼¼ÆÜ_kVN\öfPfÜËÀ½º¼¿¿º¹¿ÊÐ×ÜÞáîìajÓÑìn_PNKEJMF?@IUtózîÕËÊÎÙâØÎËÌÏÏÍÈÅÇËÌÊÈÈËÍÎÊÉÇÇÉÉÆÄÆÉÊÊÊÌÐÜêþf[RKIIHD@?CIQXX\i÷áÚÙÖÎÈÆÅÅÅÅÃÂÃÅÆÈÊËËÌÍÍÎÍÍÍÍÎÏÎÏÏÑØâóqb\WPMKKIHIKOW]dsñåßÙÓÏÌÊÇÅÃÃÅÅÂÄÇÊËÌÎÑÓÔÑÏÎÍÍÍÌËÉÈÈÍÌÏÒÜéù|kXNPRLIFJOU\YhûæÙÕÏÏËÇÅÅÆÅÀ¾ÄÄÌÉÇÊÏÔÎÏËÊÏÌÅÅÂÈÃÂÆÌÈÌ×âÛ~hVTGAFL>AKHPSêYÓÕÊÉÂÃĽÀÁĽÉÄÊÈÖÎÌÍÕÑÅÊÇþþ½¾¿½¾ÄÉÎÓÜì_[OE>=8B56N=>MÎKø»Ä̾·Áºº¾Â¼ÊÎÇÖãׯkóÄÐ߯¼ÔźÄÉ¿¿ÏÆÕçô{RPM>?:?A1=O9>ñïGÍÀÚĹÄĹ¾Ä¿ÅËÄÎãÎÎÝãÍÕÝËÇÊÊ¿ÁÇÄÃÇÎÎÛðaWLE?<8<?.>L4?oXBÈÉ翼ǿ»Ä¿ÀÊÊÄÜÝËÝçßËåÝÊËÎË¿ÇÇÀÀÊÈÈÖßõgPKE>::C19L6=_[C×ÇðǽÆÀ»ÄÁ¿ÈËÄÏÙËÜûßÍë|ÅÕÛÇ¿ÎȺÆÅ¿¿ÏËÎôtWNC@97F43L98WíBg¼ØÕ¼½Æ¼»ÅÄÀËÏÌÞÛÚêlãÒuåÈÑÖÁ½Ì÷¿Ã½¿ÌÈËzcjOCA;6AE0=M?Føå^Ä¿ÍÁ·¼Ã¼¼ÅÇÅÒÒÏÜëåãúåØÑÚËÆÆÀ¾¾¿»½¿ÁÄÊÓØ÷d\RIFC>:B@?JCGXÞëçÊÇÿ¿ÂÁÂÇÌÌÎÝÝãßßäéèÚÕÌÌËÇÅÂÀ¾¿ÁÂÄÇÊÍÙÝâøke[SQKC>EEBHCGNgüçÒÍÈÆÄÂÁÅÇÇÊÌÎÐÔÍÐÖÕÓÐÎÉÊÊÇÅÄÃÁÁÂÄÇÈËÌÏÔÛßÜãùkc[RJAEGDHIMO[nëÒËÆÈÇÆÄÅÃÅÊÎÕÖÓÍÎÖÞÝÖÏÍËËÍÊÉÇÆÅÇÉÊÌËÎÏÐÒ×ÚÝåëýgYRJABCAFHLNTawÙÌÅÆÅÄÅÆÃÅÉÌÐÔÓÍÐרÚÖÓÎÎÎÌÊÉËÊÊÉÈÊËÍÍÍÍÎÎÎÓÝâçðyeTKDDEBFKV[cÿåÏÉÃÀ¾¿¿ÂÅÆÉËÍÌÍÎÓÙÖÐÌÌÊÌÌÉÇÆÈÇÇÇÇÇÅÅÆÈÈÉÏÖÚÛßâíj^VSLEDHGLT`fößÝÏÉÃÂÁÁÅÊÎÐÐÍÍÏÚ×ÔÓÏËÉÉÅÄÅÅÃÄÆÆÆÅÈÊÎÎÏÑÚÜàéïîüklmcWRLIJMKR]itöåâØÐËÊÉÉÎÔ×ÔÔÕÕÔÕÑÌËÉÅÄÃÀ¿ÃÄÅÇÊÊÉËÌÎÓÖÛãáßãêçÞèïûphc^UNLMLQ[bkpìéÞ×ÏÌÊÉÌÎÐÑÑÎÍÍËÊÌÊÄÂÀÀÂÃÅÇÉËÍÌÍÎÐ×ÝÝÞãßèßÝÞãþotj[WSLHIIJR\jzëãà×ÐÍÊÉËÎÐÓÖ×ÕÖÐÍËÈÄÀ¿¿¿¿ÄÇÉÊÉÌÑÔÔÙçàÕרáßÜÚßæú^]YOMICEKOZmíäÔÑÏÌÇÄÃÂÆÊÍÏÔÔÏÏÎÌÈÄÁ¾»»»¼ÀÅÃÆÈÉÌÏÚêëëñéßÙÛßëm]_QKGD?>ADM]péÚÍËÈÆÃÀ¿ÀÅÊÏØçâßÛ×ÒÌÆ¿¼¹¹¹»½ÀÂÅÈÊÌÒäøgccoðîíøeOGA>=;9;<?M\õÚÉÇÄ¿¾¾¾¾ÃÈÏÞukeanìÛÐü¸´´¶º¼¿ÄÄÆÍÖêbUNMOYdg^OG?;857<>Ljã×ËÆÅ¾»º¹¹½ÆÑèe[_ewëÞÜλµ°¯°³¸¿ÅÆÈÊÍ×õ_NGGKNONH?9238;LèÍÄ¿¾Â¿½»¸·¹¿ÌìTIIM[öÝÒËÄ¿º³¯®®°·½ÄÏÖÕÛïnUID@??@><6698CiÖŽ¸º¹¹»º¹º¾ÅÑoNIGJXvàÐÆ¿¼¶±¯®®°¶¼ÃÍÔÛét_NC?<::;949<>UíÍÀ¸¶¸µ¶¸¸¸»¿ÊàZKGCGVsâÔľº´±°¯®³·ºÁÊÏÚúeTG?=;98605<:HaÚǼ¹¹´´¶¶¶¸¿ÉÛ^JGCEM\wëÏÇ¿¸²¯®®°µ»ÀÉÎÕãjTG?;8653/398D]äË¿»»µ´µµµ¸¾ÈÙmMJECHMU\èÏÆ¼µ°¯¯±´¸½ÃÉÏælND<8532//259LYÞË¿»¼¶µ´¶´¹¿ÈÚ_MNEEGKKSrßȽ¶³¯¯°´¸º¾ÁËØfNB;8540./34=M\ØË¾¾ºµµ´³µº¾ÉØ`[RJMILLXýØÈ¾¹·³´´µ¶¸»½Ç×eOD?>;70./34?PVêÐËǼ·´³³µ¾ÄÊØááÿYQNKKYìÕÊÀ¾¾¼ºº¹¶¸½ÁÊè_]PHD?9327=?I]aWrÕ˼º»¾ÅÎÒ×ãéîn]]føÚÎÍÎÐÐÒÐÌÉÆÅÇÊÌÎÏÏÎÐÖÝòogb^]ZSOOOPV^cen{ýëæßÚÕÐÐÏÏÎÍÊÈÆÅÅÇÈÉÉÈÆÆÉÌÓ×ÖÒÔÙÝìxqxsol_WROOV^`_^\_pèÛ×ÛäêàØÒÎÎÏÓÕÕÕÑÎÏÒÕÚÚÖÑÑÓÕÕÔÑÕØÙØÖÕÖÛáâåèêñöþwmmpljkilnwýþöíéãÛÚÙÖÕÒÒÒÓÓÒÑÑÒÒÓÓÔÔÔÖÖÖ×Öר×ÕÖÕÕÖÙÙØÙÙÚÚÜÛÜÜÜÝßßáâßÞÞÝÛÚÙÙØÙØØÙÙÙÚÜÜÛÜÛÙÙÙÙØÖÖÖÕÖÕÖÖÕÖרØÚÜÜÝÞßÞÝÜÝÜÝÝÝÝÜÜÜÚÚÚÙÙÚÛÜÝÝßßàããäàßÝÜÚ××ÕÔÓÔÕÔÕÔÔÖØÙÙÛÞßÞßßßßÝÝÜÛÛÚÙ×ÖÕÖÕÖרÙÚÙÜÞàâäãæäßßÞÜÛÙÖÔÓÒÐÏÑÒÔÔÕÖÖרÙÚÛÝÝÜÛÚÙÙÙÙ×ÖÕÔÒÓÕÕÖÖ×ÙÙÚÜÜÞÞÞÝÝÞÞÝÛÙ×ÖÕÓÓÓÓÑÑÒÓÕ×רÚÛÛÜÝÝßßÞÝÜÜÚÚÙØØØÖÕÕÕÔÖ×ÙÛÝÝÜÝÞÞÞÞßÞÞÜÚÙØ×ÖÕÕÖÕÕÔÖÖÖÖרÚÚÛÛÛÚÚÚÚÛÚÚÙØØØØ××ÖÖ×ØØØÚÚÜÜÝÝÝÝÝÜÜÜÛÚØØØ×ÖÖÖÖÖ××××ÖÖÕÕÔÕÕÔÔÔÕÕÕÖ×ÙÙÚÙÚÛÜÛÜÝÞÞÜÜÜÞÞÞÝÞßßÞÞÝÜÛÚÙÙÙÚÚÚÚÜÜÜÝÝÞßßßÞÞßÝÝÝÝÞÝÝÞâæèéåååäßáâáâååéêåããäâáàßÞßÞÜÜÝÝÝÝÞÞßââââßÞÞÜÜÜÛÚÛÙÙ×ÖÕÕÖØÙÙÛÜÝßßáãåçäââááßßßÝÛÚÙÙØØØ×֨רØÚÛÜÛÛÛÛÚÙÙØØ×ÖÕÖÕÖÖ××ÙÙÚÚÝÞßââàâàßßÞÞÞÝÛÚÚÙØ×ÖÖÖÖ×רØÛÛÜÝÝÞÞÝÝÜÚÚÙØØØ×ÖÖ××ÕÖרÙÚÛÜÞßßßßáßßÞÞÝÝÜÛÙÙØØØØØÙØØÚÛÛÝÛÛÜÛÛÚÙØØ×ÖÕ×ÖÖÖÖ×××רÙÚÚÛÛÜÜÝÝÜÞÞÞÞÝÝÝÜÛÚÚÙÙØØ×ÙÙØÙÙÙÛÚÛÜÛÚÙØØ××ÖÖÖÖÖרØÚÛÜÜÜÝÞÞÝÝÝÝÞÝÝÝÝÝÜÝÜÜÜÛÛÛÛÛÛÚÛÜÜÝÝÝÞÞÝÜÝÞÝÝÝÜÜÜÜÜÜÜÝÝÜÜÝÞÞÞßàààààààßßßÞßÞßàßßßÞÞÞßÞÞÞÞÞßÞÞßÞÝÝÛÛÛÛÚÚÙÚÚÚÛÙÔÔÛ¿¹ôÁ¾ÅÇÏÞÔ³ßéÊÀɹ¼ÔÁ¸¹¿ÄÏÎÇÅÔ×ÖÓËÌÎØÖÏÐÙõçw}gXVWZ]^{ïØÖÎÊÊÇÊÊÐÑÐÖØÝØ×ÛÙÞÝæîûs}d_XMMF?:981.-;Õ×iÌ´´¾ÅæþðW<:JXILâĽ¾À¿º¸¿ËÒÔÞx]öÕÍÔÍÄÁÇ×ÚàèhUSVhyV[fYJ?7+/³¹Azª¬ÉÆÊRéj;:cÅTcÅ·»ÄÊÎÄÂbGiÍêOßÉÀÄÅÊøºÅÀ»ÁÙÖÌÒÐÎÉÈÃÇÑØÛïd\fdZghSBB=04»»_ܯ±ÎäùO`VHYѾÓÍÄ¿È×ýmàâ^jÔÉÌÒÍÏËÐßöã×ÙÞÐÍÉʵµÇÛÃÆnUúØÎÔîÍÃÇó|ôßìzNdÏéLJ{J88Ç´Ìs¼·ÅuqT^wO]ѾÈÑÊÅÏ÷júùߨØÓÉÆÓØÒÏÞÜÜÖÔÏÕ×ÏÊÐÍ¿¿ÆÈÁÈÒÒÐÑÊÄÉÊÊÅÌÚöÓÜ^áËÜ`ÜÌf]f_G?<ʺÑü¼ºÑóïtnÔ}×¼ÈÜÕÉÍiYîÙÒìßÒÂÉÕÞÉÍæðÚÏÕÏØÏÇÁËÆÂ¾ÌÎÍÌÓÝÐÍÌÍÏØÕÎ×báÜÖ}×ÎÜìãÝíS\mWG@Ú¾Íö»Ïjääõo^íÖËÚÏÑÆÏØäÒÜÞßàØÓÍÔÛ×Î×ÝåÛÔÍÔØÍÇÉÊÄÃÇÊÉÍÒÛÖÒÎÓÎÌÍÒÐÕææãáíàÞéíßgc_~XKD_¾Ídé½ÉncÛßú\é×ÐØàÕÒÍãíßÏÛêç×ÛÚÚØÝÛÑÖÚÙÖßÙÏÕáØÍÊÑÇÃÂÌÊËÎÜÞÕÕßÛÏÏÖÙÞöÝÝòûâÙnÿåì^]ZTF_ÉÖüÛ¿ÊÞßÍÒ|mÔÔßßÒÏ×ÏÐÒÝÐÍÓà×ÕØãÜÛÚÚÓÕÔÔÒÖ×ÕØÖÙØÔÏÓÍÊÆÌÊÌÌÒÔÙÛÜÚÛÒÕÕÚÝãßÜäôäÑÚõøØÜz_èë^cÐÙngÏÐãnÖÏÙõÖÑØëâØÝÝÛÔØÖÏËÓ×ÖÏÙÝÛÓÙÝÛÕ×ÛÛÛÛÛÜÝÚÔÒÕÖÔÒØÝÜÙÙÝÛÖÔÖÖÓÓÕ××ÙÜÚÙÛßÜÚÛÜÚÚÚÛÜÛÛÞÞÞÜÛÛÜÚÚÚÛÛÛÜÝÜÛÚÛØ×ØØÙÚÛÜÜÜÛÛÜÜÜÚÛÛÛÜÛÛÞßÞÜÝÞÜÙÚÚÚÙØÚÚÙÚÚÛÛÛÜÜÛÜÝÝÜÝÞÞÞÞÝÝÝÝÝÞÞÞßÞßßÝÝÝÝÜÜÜÜÛÛÜÜÜÜÜÛÛÜÚÙÚÜÛÜÛÛÜÝÞßÞÞÞÜÚÙÙÙÙØÙÚÚÙÙÚÙÙ××ÕÖÕÔÕ×××רØ×Ø×ÕÔÖ×Ö×ØØØØ××××ÕÕÓÔÔÕÔÔÖ×Ö××ÖÖÕÖÖÕÖ×ÖÕÖØØØÙÛÚÛÛÚÚÛÛÚÙÙÛÙÚÚÙÚÛÛÚÚÛÛÛÙØ×ÙÙØÙÛÜÝÞÞÞÞÞÞÛÛÝÜÜÛÝÞÞÝÝÝÝÝÜÛÜÝÛÛÛÜÜÝÝÜÜÝÝÝÝÜÜÛÜÜÛÛÜÝßàáàâßàÞßÞÞÞßàãâäääâåâàààÞàßÝÝÞÜÞÝÜÜÝÝÞàÜàÞÜÝâãçâßáÞßàßÜÝÝÞÜàÝÞØÝÜÝÚÝààÞÞãÛßßßÜåÝÜÝæääáåæÞÝßÞßÝÜÞçÞßàÞÛæÞÛÖÛÜÜßÜÝÛãÝáÚÚÜçäãáÞØÚÞÞÝÚÚÜÝÕÙâÚÏð»æcÏýQMP\äÔ×ÎÆÃÍçèÖå]YîØé~ãÔÕØÖÕÑÕ×ÜßÛÜÛàÑÒÐÙÍÍÎ×ÔÖÖàÞØÙÝ×ÓÖÙØÙÛÝááêéøo_]TIOÝÎøæÉ¿ÌÚÍÈÕýèÚåëÝØÜ×ÏÑÙÓÌËØÚÓÎØãÛÒÏÍÇ¿ÃÅÅÄÌÖ×ÜßäÞØÜØØÙÞäílmfSJB>64ÎÂVK¼®É_ÏÁÖHSvWY^èzÕÆÍÚÌ¿ÈüóØÜbY{ñåÞØÕÏËÏÙØÏÏçåʺ¿ÐǼÃÜÜÐ×âäÞåäÜõoøøaOMG>7.1Á»>T°ªÎQÀ¿î?F_OXb[ÝÀ¾Î×½½×gö×hNQ_íàâàÑÆËÙØÐÐá|äÙÎÂÞ¼ÂÎÏÍÒêèÛÙÚÝßââîn`\UG@=4.Jµb7¹©Æt¾½×_MPXb`OjÁÁßÒ½½ÎàÖÑèfg\kÞâxÞÌÍÕÒÌÌÑÙÖÎÌÆÅÊĽÂÌÉÊÏÑÙééÙÜèìèßè|stobVOOLEQÚôMúÅÓãÈÌìÎÆásÒÓêÝÓÞÜÑØæØÓÞÞÖÚßÜÜßÜÙÜßÛØÚØ×Ù×Õ××ÒÐÒÑÎÍÌÌËÊÉÈËÌÍÍÏÔÕÖ×Úßäèì÷ù|okf^YVVWZ[_yöæÜÕÕÒÏÏÓÓÒÓÕÕÛÝÙÖÝÞÖÚàÜ×áòäé÷ïãäáרÙÕÓר×Ù×ÓÓÓÑÏÍÏÍÍÌËÍÊÍÌÎÍÎÖÓÒÕØØÏÐÏÔÔÚãçøshbc[WThg[fÜàãÍÍØÎÈØåÏÕäÖÓæáÑÜáÒÒØÐÌÕÖÒÙÛÚÛäÝÞßÞÞßÝÙÙÕÎÎËÈÅÅÆÄÄÅÈÊÊÍÏÎÑÕÕÕÛÝÞäìïôxig`[OMWd^aØÒÓËÄÎÎÄÉÔÍÌØÑÊÖÜÎÏØÏÌÑÏÌÒÙÔÚãßÜßÜÙÚÖÏÔÕÒÐÑÍÌÊÆÆÄÄÄÅÆÇÊËÍÐÒÓØÜÛÞààéëçêûüùsjcVO_vbdÖÒÕÌÇÓÑÆÍÛÍÍÚÒË×ÝÑÕØÏÎÑÏÎÒÓ×ÜÝÜßÞÚÝÞØÚÜØÕÙÒÍÏÐÌÊËÉÉÊÇÇÊÌËÍÏÐ×ÛÙÚßååíïî÷ú÷{mqi\VT\gb\åÚÛÏÊØÕÇÍÙÏÓäØÎáãØÞßÎÐÚÒÐÚÕÕæéÜèïÜäöÙÔÜ×Ñ×ÔÍÐÕÏÎÍÉÈÊÈÅÇÇËÍÏÑÔÙÜÚÚÝÜâäßçëæ{iog`UIFiÈÛÞáÚÆÅäxÞâ×ÎjoÈÊØÌÜÚË×fx×ÞÔÕéÖËÛðåòÞ×çñÓÑÜÙàÞÐÓÝÖÏÏÎÐÕÍÉÉËËÌÏÐÖØÑÐÕÙÝÝÖØ÷ñÝåêã}hwre]TDJŽëåØÑÉåMxÊÚãß{ÒÂÞnÐÏÚæfkÑÍëçÏÐÑì[þÔâëáâÕÏé{áÞÛÝáÜÏÔÝÚÛÚÓÞæ×ÓÒÊÅÊËÑÜÕÖÛÖ×Þ×ÜåÚßéíïøáø[loUH>M¸¼ùktßÈáLúÅÐÚñ[ÑÃØ|ÔÏÚÛb[ÐËÜÜÛÞÖß^kÚÖ×ävÞÏÚêßÛÓÐÞê×ÎÓÙÛ×ÒÐÙÙÑÏÏÏÕÛÖÎÏÍÊÐÕÖÚÜÔÐÖ×ÜØÛÜèïÛØßv[]cN@U¶¸Ùü[uÉÖP{ÊÎÍÙUÞ¿ÌàÐÜâÏóYÖÉÏÍÓéÜÝxëÓÑÎÍÜÞÔÚÞ×ÙÔÌÎÖÒÏÔÑÐÛØÒ×ÓÐ×ÒÓÍÑÜÎÓÎÉÊÊÑÍÐØËÔ×ÍØÜØÏÕÚÝ÷ñóiqcOG?h´¹ÝsXeÍÒZòËÏÍÐeÝÂÉÕÍÔæÖÞmÙÊËÍ×ïðÛáèÚÕÔÔÜìàÖ×ÚÕÔÔÏÏÒÏÏÑÒ×ÛÙÓÐÒÕÖÚÙÙÛÞÜÑÇÇÑØÙ×ÒÔÜÛÑÔÜÞßÙÏÝtöêîõdWZL@mµ¹ç^NbÈÌ[xÍÐÍ×W÷ÃÅÐÕæyØÚnæÍÌÏÖðnçÜÝØ×××ÚáãÚÖÕÕÖÙÙÓÑ××ÛÚÔØâÞ×ÔÔÖÛÛÖ×ÚÖÊÈÎÖÜÞÔÎÒÕÓØÝÚ×ÏÏÜóéäñpld`TCB¿±Ç^ZQÒÀâRåÓÏÇôOÖÂÊÍÖ_lÎÖúÝÖÕÌÑn_ïÜÔÓÞíÜÕÞêßÙÑÌÔåÚÑÏÏÔàÙÏ×ÝÛ×ÒÍÏÛÜÙÙÔÖÒÈÂÈÏÖÚÓÌÎÕÒÑÒÒÙÚÕÓÜæíjtòkSIB}²¶éYN[ÄÂfmØÚÊÉb^ÊÆÌÌêUõÓßçÛÛÖÍÛ^dâÙÏÓòzÞÛáÛÞæÒÍÝߨÚÔÍÚéÚÚÞØÙàÖÒÚÝÜååÜÞßÛÚÜÝÕÊËÚÚØ×ÑÑÝÚÐÓÕÖåìÖÏáßèzøïmSLECÓ²»~XFVÄÇiyûgÌË\mËÏÏÊoLýØßÏÐêØÍàjxwßËÎéíîëÕÒæðßÞÝÚÝÞØÕÛàãëäÚÚÞÛ×ÙÛÝåæÝÝàÛÐÒÖÙãâÑÍÓÙÜá×ÏÖØÖßåÛáçÝÜÞÝîhhücNA=Õ²·ÐO>ZÁ¿ØpM^ÃÄíõêÞÄÁûN]îÍÄÑôߨÚÛ{[êÎÏÖækùÓÑÛáéãÓÐØÙÖÕÔ×ãïÞÖÔÓØÞÛÚáéèè×ÍÓÞåîÞÐÏÕÕÙÝÖÒ×ÓÏÕÙØÝáØÔÕÐÒÛãäâÝâçâÞâìïú~ïéÜÖ×××ÜÝØÓÔ×ÛãÛÕÑÍÎÕÚÃÔÓÖÛßÝÕÔÛÞàÞÚÖÚáê÷ãÛÙÙàèåÞ×ÖÖØÚÚרßÝÚÙÖÔ×ÙØÜÖÕÛÕÖÛÛÚÝÙÐ×ÚØêÝÒÜßÞëæ×ÚÝÝãÛÓØÝÙÜÞÒÐÙÛäÛÑÕÚÙÛÞØÙ×ÒÜáßâÛÖÙÚÜíçÙÚáÝßåØÔÛßçàÖÓÙÝÝíâÐÑ×Ó×ÞÖÕÞâÜØÐÐÚäáÖÏÏÙöìÚÖÏÔãàÙÒÑÓãêâÜÑÕÙØØÖÚ×ÞÝ×ÛÓÚÛÓÓÖØÛߨÛßÖÚØÜéÞÕÚßÚâçØ×ÖØÚÓ×äߨÛ×ÐÕÛÙÛרÜÜØÝÞ×ÚÜ×ÚØÖâîèìÚÓÝëæáÔÏÚßàãÛÚà×ÚÛÙÚãÙÚßßåÝÚÝÛ×ßìêçßÔÖÜèéרçèãÞÖÒØÛÞÜØÛÜÛÛÙÔÙãáÛÛÛÚÛÜàßâëáÖÙÝÛßÞÛÞÜÝåàÜÙÚÞäçÞÜÚÜãåàÝÝâáãääÞÝáããäçæéêçåÞàâàßããäâçéëêííèáßëíêäàâéëçâââèíäßáââåâÝÞÞàßâààãâÞâáäåáßÞÛÝßÝÝÜÛÛÜÛÜÛÜÜÜÛÜÚÛÝÞÝÞÞÝÜÝÜÛÛÛÚÛÝÜÛÛÜÜÚÙÙÚÛÛÚÛÛÛÚØÖרÚÙØØÙÜÜÙØ×ÙÙÚÙÙØÚÚÚØØÖ×ØØØÙÙרÙ×ÖÖÖ×ÖÕÖÔÓÖÕÕÕÖÖÖÖØ×ÔÔÕÕ××ÕÔÔ×××ÖÕÖÖÖÕÕÕÔÔÕÕÔÕÓÓÒÔÕÕÕÖ×ÕÕÕÕÕ×ÕÔÕÕÕÕÔÔÕÕÔÒÒÑÒÑÑÑÑÑÑÒÑÑÐÑÐÑÑÑÐÒÓÓÓÒÐÐÐÐÒÑÏÏÐÏÐÐÐÐÐÑÐÏÑÑÐÐÐÏÐÑÑÐÏÐÐÐÐÑÐÐÏÐÐÑÑÐÐÐÐÐÏÐÐÒÒÑÑÓÒÓÒÒÑÒÒÒÓÔÔÔÕÓÓÓÖÖÕÕÔÔÔÕÕÕÕÕÕÕÖÖÖÕÖ×ÕÔÔÔÕÖÖÕÖ×רÚÙØÙØ×ØØØÙÙÚÚÛÛÛÛÜÜÜÜÛÛÚÛÛÚÛÜÚÜÛÛÜÛÛÛÛÛÝÛÚÙÚÚÛÚÚÙÚÚÚÚÛÛÛÛÛÜÜÜÛÛÛÛÛÛÜÜÜÜÝÜÛÜÝÜÛÛÜÛÛÛÛÛÛÛÚÛÛÛÚÚÚÚÙÙÙÙÚÙÙÙÚÚÚÛÛÛÛÛÚÚÚÛÛÜÛÛÛÛÛÚÚÛÙÛÛÚÚÛÚÛÚÚÜÜÛÜÜÜÜÜÛÛÜÜÜÜÛÝÝÝÝÞÝÝÜÜÛÜÛÛÛÜÝÝÜÜÛÜÝÜÜÜÜÜÜÝÝÝÞßÞÞÝÝÝÝÜÜÜÜÜÜÜÜÜÛÛÛÛÛÚÛÜÛÜÚÚÛÚÚÚÚÚÚÚÚÛÛÜÜÜÜÜÛÜÛÛÚÛÜÚÚÛÛÛÛÛÚÛÜÜÚÚÛÛÛÛÜÛÜÜÜÛÜÝÝÞÞÞÜÞÝÝÜÝÛÜÛÞÜÞÝßÝßÞáÞàßáßáßãáãâáäããâããåäçåãääáããããââãâääâãæååæèçæææçèèèéèêéèèçéèçççæççååææäåççææãâãáâáááááàâââááààßßÞÞÞÞÞÝÝÝÝÝÝÝÞßßÞÞÞÞÞÞÝÞÞÞÞÞÜÞßßÞßÞßÞÞÝÞÝÜÝÜÝÝÝÝÜÝÞÞÝÝÝÞÞÞÝÝÞÝÜÝÞÝÝÜÜÜÝÝÜÝÝÝÜÝÜÛÜÛÜÛÜÜÜÛÝÝÝÝÜÜÜÛÛÛÙÙÙÙÙØÙÚÚÚÚÚÚÚÚÙÙÙÚÙÙÚÚÚÛÚÛÛÛÚÛÚÛÛÚÚÙÚÚÚÚÚÙÙÙÙØÙÙÙÙØØØØØ×Ø×Ø×××ØØØØØ××××Ö×××××רØ×ØØØØØØØØØ×××רÖררØ×ר×××××ררÙÙÙÙÚÙÚÚÛÚÚÙÙØØØØØ×××ØØØ×ÙÙÚÙÙÙÙÙÙÙÙÙÚÚÚÚÛÚÚÛÚÚÚÙ×××Ö×××ØØØØØÙÙØØØØÙÙØØÙÙØØØØÙÙÚÛÛÜÛÚØÙÙÙÙÙÙÙÙØØÙÚÙÙÙÙÚÚÚÙÙÙÙØÙÚÚÙÚÚÙÚÚÚÚÚÚÛÚÚÙÙÙÙÙØÙÙÙÙØÙÚÚÙÚÚÚÚÙÚÙÙÚÙÙÚÚÚØØÙÚÙÚÚÚÛÛÛÛÛÛÜÜÝÝÝÝÜÛÛÜÜÛÛÛÜÛÛÛÛÜÜÜÜÜÝÜÛÛÛÛÜÝÝÝÝÞÞÞÞÞÞÞÞÝÞÞÝÜÝÝÞÞÜÜÜÜÜÜÛÜÜÛÚÚÛÛÛÛÚÛÛÛÜÛÜÜÝÝÜÝÝÞÝÜÝÜÜÜÜÛÜÜÛÛÚÛÛÛÛÛÛÛÛÚÚÛÚÚÚÚÛÛÛÜÜÝÞÞÞÞÞßÞÞÞÞÞÝÝÜÝÝÞÞÝÞÝÜÜÜÛÜÝÜÜÜÜÛÜÛÜÝÝÝÝÝÝÝÞÞÞÞÞÝÝÝÝÝÝÝÜÜÜÛÛÛÛÛÜÛÛÛÛÜÛÜÝÞÝÝÜÛÜÜÝÝÞÞÞÞÝÝÞÝÝÝÝÝÝÞÝÝÞßÞÞÞÝÞÞÝÝÝÞÝÝÞÞßÞÞÞÝßÞÝÞÞÞÞßßáááààßßÞÞÞÞÝÝÝÝÞÞÞÞÞÞÞßÞÝÞÝÞÞÝÞÞÞÞÞÝÞÞÞÞÞßßßßßÞßÞÞÞÝÞÞÞÝÞÞßßßßßßÞßßßÞÞÝÞßàßÞßàááàààáàßàßßÞÝÝÞÞÝÝÝÝÝÜÜÜÜÝÝÜÝÝÝÞÜÜÝÝÝÝÜÝÝÝÜÜÜÝÜÜÜÜÜÜÜÜÜÝÝÝÜÜÜÜÛÛÛÛÛÛÚÚÚÛÚÙÙÙÙØØØÙÙÙÙØÙÚÙÙÙÚÚÙÙÙØØØ×ØØØØØØ×ØØ××רØ×××Ö×ÖÖ××××רÙÙØØØÙÙØØØ×××××××××רÖ××Ö×Ö×ÖÖÖÖÖÖÖ×ÙÙØ×Ø×××××××Ö×Ö×××ÖÖ×Ö×ר××ÕÕÕÕÕÔÕÕÔÕÖ××ÚÞÍÔØØØÙÙÖÜØÙØØÔר×ÙÙØ×Ö×Ö××ÖÕÕÖÕÕÕÕÖ××××ØØØØØØØØØ×ØØØØØÙÙØØØ×Ø×Ö×ÖÖÕÕÕÔÔÔÓÔÔÕÕÕÖÖ×××רÙÙÙÙÙÙÚÙÙØÙÙÙÙÙØÙÙØØØØÙØÙÙØÙØØÙÙÙÙÙÙÚÙÙÚÚÚÚÚÚÚÛÚÚÙÚÙÙØØÙÙÙØØÙÙÙØØØØØØ×ØÙØÙÙÙÚÚÚÚÛÛÜÛÛÛÛÚÚÙÙÚÚÚÚÚÛÚÚÚÚÚÛÚÙÙÙØØØØØÙÚÚÛÛÛÜÜÜÝÞÝÝÝÝÜÛÜÜÜÜÛÛÚÚÜÛÚÚÚÛÛÛÛÛÚÛÚÚÚÚÚÚÚÛÜÜäÄÝáæÚÜÛÙߨÚÛÛÓÚÛÛÛ×××Ù×ÙØØØÙØÙÙÙØÚÖÖÖØÖÙÛÚØØ×Ö××ררØÙ××ÖÖ××ÖÖÖ×Ö×ÖÕÖ×ÖÖÖÖÖÕÖ××××רÙÙÙÚØÙÙÚÚÚÛÚÛÛÚÚÛÛÚÚÛÛÝÛÛÛÛÚÚÙÙÙÙÙÙÙÚÚÛÚÛÜÜÜÜÜÝÜÜÜÜÜÜÜÝÝÜÞÝÜÜÜÛÛÚÛÛÜÜÛÚÚÛÚÚÚÛÜÜÜÜÜÜÜÜÜÝÝÜÜÝÝÜÜÜÜÜÜÜÜÛÜÜÜÜÛÛÜÜÜÛÛÜÜÛÛÛÛÜÜÜÜÛÜÜÜÛÛÜÝÜÜÜÝÝÜÜÜÜÝÝÜÜÜÜÛÛÛÜÜÛÛÜÝÜÛÛÛÛÜÛÜÜÜÜÜÜÜÜÞÞÝÝÞÝÝÝÜÝÞÞÞÞßßßàßàßÞÞÝÝÝÝÜÜÜÜÝÝÝÝÞÞÝÞÝÝÜÜÛÜÝÜÛÛÛÛÚÚÚÚÙÚÚÚÙÚÙÙØØØØØÖÖ×××××ØØØ××רØ×××Ö××ÖÖÖÖÕÖÖÖÖÕÔÕÕÖÕÕÕÕÕÕÕÕÖÖÖÖÖÕÖÖÕÕÖ×Ö×רÖ×ÖÖ×רÕÖÕÖÖÚ×ÖÕ××ÕÖÙ÷ÓËÔäÖÐÕÛ×ÙÔÚÙ×ררÜ×ÙÙØØÙÙÙØÚÚÙÙÙÙÛÙÙÙÚÚÚÙÙÚÛÛÙÚÚÛÛÛÜÙÞÚÝÚÜÚÛÚÙÛÛÜÚÝÛÜÜÜÛÝÝÜÜÛÛÛÜÚÛÚÜÛÜÛÜÝÜÛÛÛÜÜÜÜÜÝÝÛÛÜÝÝÜÜÜÜÝÝÜÝÝÞÜÜÛÛÛÚÚÙÙÚÙÚÚÜÜÛÜÛÛÛÜÛÛÚÛÛÛÛÛÛÛÛÚÛÛÛÛÚÚÛÚÚÛÚÚÚÚÚÛÚÜÛÚÛÛÜÜÜÝÜÜÛÛÛÜÜÜÝÝÜÝÜÝÜÜÜÜÛÛÛÛÚÚÚÚÛÛÙÚÚÚÚÙÚÛÜÛÛÚÛÜÝÜÛÜÜÚÚÚÚÚÛÚÙÙÚÚÙÙÙÚÛÚÚÚÚÚÚÚÙÚÚÚØÙÙÙÛÚÙÚÚÚÚÚÚÚÙØØØÙØ×ØÙרÙÚÙÚÙÙÙÚÛÚÚÙØÙ×ÖØØØÙÙØØØÙØØÙÚÙØØ××××רÙÙ×ÖØ××רÙÛßßßßÞÞÜÛÞÜØ×ÖÔÖÚÜÜßáâæçãßÞÝÛÙÚÜßáåäææâãçãâáßÞßàâàáâäåæãäâààßßßßâãäçéæåæåæçäæææååèçååäãäåãáàáâäåãäæåèèéæåäâäåäââåääääâãåâáäãâââäçææåååäââããäãààâåããäçèääåâáãßáååääãäããâàáãâââäåãäæåååäãåèæããããâäàßââàáãââäãâäááàßááàààßßßÞßßßßÞÝÞÞÞÞÝÝÜÝÝÝÞßßÞÞÞÝÞÞßßàßÞÞÝÞÞÝÝÜÝÝÜÝÝÞÞÞßÞßßÞÞÞÞßßßßáààÞÞÞßàßàßÞÞÞÞÞÝÞÝÝÝÝÝÜÛÛÝÛÚÛÛÛÜÜÜÞÜÞÝÝÝÜÜÛÛÜÞÝÜÜÜÝÜÜÛÛÜÝÝÞÝÜÝÝÜÝÝÜÝÝÜÝÝÞÞÞÞÝÞÞÜÝÞÞÞÞààßßßÞÞßÞÝÜÝÝÜÛÝÜÜÜÜÜÜÝÝÝÞÝÞÝÝÜÝÞÝÝÞÞÞÞÝÜÜÜÛÚÛÛÛÚÚÛÛÛÜÛÜÛÛÚÛÜÝÝÞÚÛÛÛÚÙÙÚÚÚÛÚÚÛÜÜÜÛÛÛÙÚÙÙÙÙØØØÙØ×Ö××××ØØØØØØ×Ø××ØØØØÙÙÚÛÚÙÙØØØÙÙÚÚÙÙÙÙÚÙÚÚÚÚÚÚÙÚÚÚÛÚÚÛÜÛÛÛÜÛÜÛÛÜÜÜÛÜÝÝÝÝÝÝÞÞÝÝÝÝÜÝÝÝÜÛÛÛÜÞÝÜÝÜÝÝÛÚÛÛÚÙÙÚÛÛÛÜÛÜÜÛÜÛÜÝÝÝÞÞÝÝÜÝÝÝÝÞÞßßßßßÞÞÞßßààáàááããâåååãäââááßàááââäåääåãààßßßÞßßßàáããäâãâãááããäææâäáäãââäáâäãåäãããääãååäääâåäåãâããááàààáàßßßßßßßááÝÝÝÞÞÞÝÞÞÝÝÜÛÜÜÛÛÛÜÛÜÜÛÛÜÛÚÚÙÚÚÚÚÚÛÛÛÝÜÜÛÛÛÜÛÛÛÚÚÚÛÛÚÚÛÚÚÚÚÙÙÙÙÚÚÛÚÛÚÛÛÛÛÚÛÛÛÚÚÚÚÙÙÙØÙÙÙÙÚÚÙÙÙÙÙÙØÙØÙÙÙØÙÚÚÙÚÚÚÚÛÚÚÚÙÙØÚÛÛÚÙÚÛÛÛÚÚÛÜÛÚÛÛÛÛÛÛÛÛÜÜÜÝÜÜÛÜÜÝÜÛÛÛÜÛÚÛÛÜÜÜÜÜÜÝÝÝÞÝÜÛÚÚÚÚÚÛÜÜÜÜÛÜÜÜÝÛÛÛÜÜÛÚÚÛÚÙÙÙÙÙÙÚÙÚÚÚÚÛÜÛÛÚÛÚÚÚÛÛÛÚÚÚÚÚÙÙÙÙÛÛÛÛÝÝÜÜÜÝÝÜÝÝÝÞßÞÞÞßÞÝÝÞßßßßÞÞßÞÜÜÝÝÜÜÜÞßàÞßÞÞÞÝÞÞÝÜÜÛÛÜÜÜÜÜÝÝÛÜÜÛÚÚÙÙÛÚØ×ØØØÙÙ×ØØØØØÙÙÙØÙÙÙØØØÙØØ×××××××××ÖÕÔÕÕÖÕÕ×ÖÖÖÖØØ×ØÙרØ××ØØØÙØÙÚÙÚÙÚÙÙÙØØ×Ø×××ØØØØØØØØØØØÙÙÙÚÛÚÙÙØØÙÙØ×ØØØØØØÙØÙÙÙÚÚÙÙÚÚÙÚÙÚÛÛÚÚÛÜÜÛÛÜÜÜÝÛÜÜÛÚÚÛÜÜÜÜÛÛÛÛÚÛÚÚÚÉØÙÙÚÚÙÙÙÚÛÚÛÝÝÝÞÞàââãæåãäåãàßÞÞááÜØÕÔÒÐÐÐÒÔÕÕÕÍÑÐÍËÏÕÔØÜßâçâèéáÚÚàü_QB8<Á¤¤Ã2/f·½\=CûÁ·±²É;.B¼¯ÄE?ܸ·ÅágPPÒ·¶Ü=CŲ½]GùÃÁÍÔÛqVqÉÅüFKàÛA.>¥˜¯!͟±)%l®®´¸Ê:,L­«O(:ª Á-1ϸÎeÑÈùí¶­Ì37Á¬»JLÁ¸ÈåÝßhüüÕR{ÅÉQ?OX:4¶—ž(qŸ°('À¯Õ·£º(&Ť¼-1»©±ÛJ?@uº¹øE峯ÊA?|Á½ÄßhÛÀ¾ÑSOàÄÃÕ`c×ËÜ^^ümN?7>¬˜¨ Á¥Â18ÐÒÎ¥£89«®S<ýÅÀ·¿;+H³²ÖYÛý¾ß=;Ò°¸}QßÉÏãèúcàÄÄûM]ÕÐûTRR>0G¡—Á)³´[MðSB¶­$ä­½ÙÐWAÁ«Ê,.в¸½½ÒTdÓîI[¾¶À×çgZãËÏäÜÑÐÖvWwØÜøbXH63Μ›H7¿ÍÍÁi9QªŸÂ')\¼µ±Å:>·­ì4<ú¿¬¥»32dÁ¾Èâäξ¼ØFHÜ¿¼Êg\èÒ×èëð^VVD5?¤•¯ *ä\ð´¾??¹£ªM+/KÀ­®Û=NüÎUHW¬«Ä?9Nȹ½ÔïÓÅÄÍìNQÈ»ÇçhtîéÔÐèTLNB;Z¦œº/Gc4I´ºOP¿°³Å_>8JûÅËÊ×ãÑÏÞìÝÍÇÆÆÖdcÞÏÍËËÌÐØØÛöxÜÕÕÖÜæÛÙù^ZVLGW¿°½ëÊÄSHÌ¿ÚqâÒÔÞÓÈÒôÙÌÐÙÜÙÑÏ×ÖÚÞÍÃÇÏÍÎÙÝÕÏÏÎÌÌÍÐÖÛ×ÒÙÞÔÎØèàÞðrrn}ÛÌÍÝyvòßÏËÌÍËÊÉÌÎÎÑßæÛÛäÛÏÒÕÏÎÙêæÕÍËÈÆÊÓÕÔÖÖÕÒÏÏÏÐÔÜÝÖÕÚÚÖÙàèôýyieüÚ×êôéìÜÏÎÌÍÒÏËÌÏÍËÎØÛâíßÎËÌÌÎÕÜÛÒÍÌËÉÊÎÏÏÒÙØÔÑÒÒÒÓÙÛÚØ×ÛÝáõÿz`U`ÏÊêÜÅÎZf¾ÒÖÑævåÑÍÒØÌËÕÒËÎ×ÎÊÌÍÏÐØèâÕÌÊÏÔÕÙàØÏÛÞÛÞÐÖÜÜùw\RM=AȯºÆ¶É>:WÍwÞÈÎ^Ú¾ÀÏØÊàwËÆæfÜØæÖÉÏëÜÚÖ×âÖçmÛÓÓÖäói\WG<14Í¢ž¹NJ/-Ú¶ôNÁº¹­º7,C¾´¶Ç]OêÎìòÈÄÈÊÕçMRÜÑyìèd[TIL笫ÃA<ClºÃÞØÉÌÙñ^SüÃÏLKE<KÛÀ¹¸¸¼g@OpîÌ¿ÃÎÑÌÍÒÔÊÊÝÕáPUWʦ²5<÷Xoí8! °Ž˜80E#2¡«++ᛤB!$꟠Î79Rº¬Ã<AʳµÏC8=äÁ\5/=³ššÌ*1@mºµ½sM¾«¿EH[Óµ±ÆF:GkkmhUiÀ®ª¯õ88EÙ»º¿ÃÉÍÇÍßÚÖÐÉÆÍöNaÚdO]?,5°¥ÅãT30FÖ¿Áò¯ÉdëòëÎÏÏËãkÝÑÕÕÕãàÏÊÌÖþTLMYsîßÙÞñùÝÐÏÎÊÉÌÎÊÆÄÈÏÝÞàêÝÕÜ÷{òìïõíßÚÙÜêm`wØÏÖãß×ÏÊÅÃÃÍÖÐÒé}à×ÚßéqRQqæùûùlzääâÕÎÉÂÄÊÏÕÚÖÐÒ×ÐÊÇÊÐßýoìßÜÞæø|íçìçÝÜÜÕÎÎÑÍÊÊËÎØÜÙÓÐÒ×äzuóêî÷íàáàÜßý}ßÓÎÊÈÉÍÌËÑãðâØÓÑÕßõtýèçñôîðõõêãÝÔÍÌÍÎÍÌÊÉÌÓÚÚÖÑÍÊËÏÖÝèóùæÚÕÖ××ÚÝÖÎÏÑÏÍËÉÊÍÐÓÒÐÓÜêþ}óçåñÿéÜÙÖÔÔÑÍÊÉÊÏÙÝÔÏÒÕÖÛå÷siníÜ××ÛààÙÏÍÍÍÎÍÍÎÏÔÛæçâè~mÿçßÝÝàçæÛÕÔÏÌÍÍÌÊËÖÝÔæéìñunfôØÜ{ìÒÍÐÌÄÅÍÕÔÎÎÍÓÞßñg_`UIEù¸°½Ðæo[uƽÖL^ÌÏtWMèÄî>5/d¢¢ÖNT5?À½ÖmÉ«ªÎA=;[µ®Í@?I?79}«¥Ë?ÍÍ>jÄT^¸¯¼N;XïWm@%#­‹™«<.¢¾R×,¼È¹¦V6½=/¬žÞ;«­//ÈÅæÍ´½B_¼_>ÖÓ5&.ª¥+ª7AœÝ²–·6=6C¶©½5/<0+®®¹ :š,ªœ­¸Ì/-¿®Õ?967Ož–4®g(Ÿ£$h§[r¯N+ؽcR+"¦“}8¬*#¤¸&Ò¸kª©;/ÏÒÔ¸X9R=8°©B\²WHºÉZçûdØÍ×çýãÉÕUCDT×ÝäÅÞgÀ¾ÝËÂrêÄÛTìäñÒoKFOÓÅb÷ÌeöÀÉßÅÉcéÅñZÏÔÞÒoAAnÅÞÜ¿ëz¾ÇZÓÅÞàÆÏX|äsgRDò¾âêÁøXÅÁÏÇØuÎÆrZåY[ä}JHÔÇsɼàòÊÍÏÚsáÕÐÝÐñHûï><Ä»VøO]¸ËYÛú^ʺôVæQL[I:Ö¸þÊ»V¸ÍùÇ|IÏ¿kñÞFCK;[¯Ï`²ÞA¸¼GÚÙOÒ²ÏHÏ]LüJ1;³µÜ¯½:ÔºL\Èsï±¹TáN19>/²^׫,/«N-º´Ë­­1=Û3=Å4'¤’Û<¸"¾/¡«2²®1¬01¸%hо­ –§¤Ÿ(Ä¥2Ÿ-)«!¹‡-§#î—Â¥°¯¨;®N§ú='•¯ŸŸJ°(¾ª)½¤‹-À ¿&.”C°ì,¦=Wž®J*9=¯å¿=ªN/®Šœ NE¸Žœ R©*©Æ+”ˆ_È$9Š$‡½ °µ2Ÿ* [ˆ¨­‹C†žÁS«ž€©Ê@&‰= ˆŸ ؟F«+ P‡Š ©&“«‹œ­Î?€  (´Œ?‡«<ä&œ€ ›ˆ2ž¿XÁ… š¥— ˜Ä31΀Ý­Q=Œ0(’,®š?$%‡Œ!¨(‘¬“n L™­*Ž„ 0žœŸœŸ. €&­û¬—°›©¢P§2¯W¶”.HŸ(­6+™ˆ$Ï`¡£0©Å4©¢:%‡¯Ñž§+«±(ª :*‹ÌW’¿0 7 Ъ´&³ƒÐ ¼>°”$»¡,¨¦Ç¨ œ7ª“$[´#-§¢/ã†Â´1³20Æ*\±¸å,šIÁ1«&d:3º¬¾+›… ˜™ /Æ'Ѩ¹%‰‘¬¤Ž¼,Ÿ¤C"%Š”W¤!‘žKO#°žè*”?­•™#=<$º¨×*/§ ¨­˜ž1/=.©Kn‚:—­Ž©µÆ²›-™… ’»‹&¡)!š°'ˆ¬¢—œ;¯!:šÒO„3 —r&޵±¾Á›2›ˆ ‘̏8©I¢©‹`™™<œ*šÆ.†« ¶ «¯£͘:¦…ό$•PŸž$ƒ¼”µŒ¢ «—4”6ˆ@ŽžŠŒ-™ª;‚X‘Oˆ¬ ¥̘&‡(ީА.™«7€HÅŠ¥ «–D–&“ƒ ŒȈ–Ç¢¨!‚˜œ•J› 5œ\ɀ‹2‹¯¼¡"ê!‚Š©‹ *—"*œu ¢€ †!(‰? ®©¬-€,‹ÇŒž zœɝƒ«Ÿ—3%V Ž€!ˆË“ÊŸ¯ ¦€‡%Œ»¬¬«¦.€ŠM¦ܞž„§‘Ÿ™”"˜(Až'‡“ž’Ÿ•#—(-›; ŠŽ¢ ‘˜+,š2Œ‹nj¬’]šÉ “„†jŠÐš§ƒ‚&ˆ/ —­§ ¥‚ „.‰3 ˜¢£¤  ‚…#:Œ- ™­ ¤ ¦‚ƒ/Š. ˜¬Ÿª £‚ƒ7Š+ —®Ÿ§ ¯ ‚$‹É ªž£€š“•“” .Ž+˜"€%†´ ê’e•€„3Н£•»—€‚3‡¦«’ȕ€!„?Šœa‘^–9‡½‹›ʒR•)ˆËŒ˜ݏü–0‰ÁŒœ¾’õ—€ˆw³¨˜ڙ§‰N<ª¡® ’…:ª‹ ’f›R ˆ”š–— "$•€‹Î*¥Η·š ª ‰"k‰5œ¤œ¬‡,Š­‰ “Ë“Sˆ ˜šŠ ‘9!‘$ €­’° ’"6€7)Œ–)•»” ½ƒ ‘'슻´£¡žŽŒŜ! ‹ ›Ã—r †“ª¥œˆ œ= ”D †2¤z=–1L˜‚o ¦?%’Œ¥,4›.¬(¹.ö’›)º'¸£‹F!¿-+—”#%=-Ǽ-Ÿ–5Tµ+$¦ŸM]21¶L,¤£1V¬m5ÂJ@´aàªÑ=¶±Î¼»BAÚBκDܺIUÀäɵÍAXe=ùrÁ¾^ïÂÖŵÎRÝVF¿Ïx»ÇOØ¿LÞ³ØXÎPDÆàiÀËtÝÈ[Õ»äÖÍPyÂtãÁ鿯ÌdþOÙÌWÑÈ}ÒÒoÎÄíúºÉOÌÖdÂÌ`ÎÒ\Í¿ki·ÈLÒéc¾ÌgÔécÉÇkÞ»ÍUØçÝ¿Óì×üóÇÉ[â½Óbì`ÛÆÑÚú[߯ÝWÍ¿Þo|ZÕÃÝÚêSìÇÛTÐÀÞw[YÏËÜÞÿ]ÞËìuÊÇÓëXvÍÑÔÞguÝÎÞçËÌÎÛUñË×ÑåaàÑÚuÛÇÏÚñ[ÛÏêÓëVâÏåoØÍÖÕ_WÑØæÖú_ä×þsÐÊÛÛïeÒÐÛÜöõÏÍzýÌÏèÚüòÍÔÛæumÏÌxÝÈÌçéíÙËÍÕë{íËÖnÐÇÒâôkÒÉÖèñýÍßbÎÆÚîõ|ÖÍÎå|ø{ÕëýÍÎÚïoæÛÔÌïýÞéßþìÌÌÛëþÞÚÖÏêëáÖÚ]ÝÉßêéýÙÙêÛÝïéÒÙjÓÈÞæèòÕÐÝçÛÝäÐØjÔÅÞðååÖÔÞðÛÔÚÓÝ}ÍÆßèÝÚÕÒÜïÙÕÙÑÙêÎÊâæÙ×ר߿ܨÓÕäèÍÎààÞÛ×ÚéÜÖØÑØåÙÎÛæÖÓÛÚÚóàÚÙÒÞîÜÕæïÜÙäÜÜüàâéØÝíÜ×÷qÝÑÞêâìäåÞÙßÞØáôîáÕÛéæåæêÞÛÒÞ×ÛæãèßÕÜëãÞåàÞàÙÓÝæÛåßÖßåÝÛÞÞßàÕÔääÖáèØåëÚÜèßäìØÕßÝÖÞßÖÛÙÖÛÞÚàæ×׿ßÔÜãÜßÜÜÞÜÜßåÜÜçÜÒ×ßßÝÚÛáßÜäêÜÛäÝÔØØÙÝÙÚÝÜØÜÝÝçàÙÕÖÚÜÛÝßßÞÞÜÚåñßÚÝÝÛÚÙÞãçãÞÜÝèìàÝÙÝâÛ×ßíêãßßÞèêàáÝâèÚ×àååäÝÛàçÞÝßÛàÞÓÕàéáÝ×ÙßèáßàÝâßÕ×ããáâÜÜáâÞàáÝâßÒÕãàÝÜÖÛßÛ×ÚÚÝÞÛÔÖààÞÜØÜÞÚÙÙÙÜÚÙרáäßÚÚááÞÜÙÜáÚØØÛæçÞÕØãßßåÜÞåßÛÞçíëâÚÝåàÞÞÙßßÛ×ÚãèêàÚÜâáàßÜáÞÙÖØàçãÝÛÝÜÙÝÞßäßÚÖÙÞÞÝÚØÖÖÖÜßëíàÜÕÖ×ÙÖÒÕØØÙÚØÚÞáßÙÙÛÖÒÒÓÒ×ÕÐÓØÚâîåÛÜÙÏÎÐÍÑØÑÖÞÙÝÞÚà|ußÕÓÍÑØÎÎÕÓÖÜÝÞâßÜèýßÛÚÏÍÕÖÍÌÓÒØûíáßÚÚèibÞÎÈ¿½ÁÌäc_gYU_hu̶±¹ÒJA캶ÈE:J×Ñ÷Fצ¨k9:R²­¾y;5ͰÁG2,¹• ' ;½¢§w5-=«§K,45¯¡ߦŸ¯A53N¨¬60R0<”’­žè¶ª>&?¬«B4ÌN)@œ’;˛;ܚU^®ÐÍÉI>:3ٕ™·-¬A«>ê©M+TM-·§)šC4œÅ*°È(¸£=3¾m>í//”’›Æ&¬$²²[›Ø.¿I5µÊ/3¬™X °Ç!²Ÿ?¿§'(¦´B²Ì*l´@>X<¢œ*+­:.¡ª<Âó0¶­JÇ¿9O½<'/ª©4›4?¨<Ŝ*µ—ß\4*«£$F|– ˜£±žV¬ÍO•à$±¼;¿6!½£Ÿ¡ ¦©<®­>E:2¬¢."ð9$”†›Œ$§½¥¸TÉÀ G@>/¾Ü­…Õ½™%̜BNº$B—³"Ø»5Ö¼2;Ãԟ'$§¯PºÎ;éÍQ½±@/HC5?žw H™;Wœw,Ì;ö›¸ ^¶/=Î#;Œ£¥7έ°½$ –:"¿¾:=B;=ה ¬Ÿ/³ë>/$¨”GÅÂ-Gê02¢Œ­ !œÙ3¢¥l<"4˜  3¯I9E*.º ¶™/ݛ¿51$±’Ûöª;8>$:’Š( à+Áž»À=w’¯H¸>MG&6ž¶&ŸÆ0ª¡Ù3'?œ¢&,´Ë8@=/c—0O¢CÀžÈ:>*¿˜¾B»GKF&Y’»ªE¿ª½ç-'©šM#OÐ\Ï8 q‘’(f¢ÛÛª´K-.°œÄ%9Ê[\F*4›Ñ)ž»W®¶^:)㚩&.ÎMUÔ-'£Œ©£³h­µ^B)=œž-(_UQË7$±œ¨©Y±¯nK,3¡>*ZaNÓ6&»—·¥Í²²OG93«œr'Kl>ßH(ɏ—¶¥À³¼T`61¨Q(NßCL:*¬£­¯²­UAÎ79£¡5*YõÚZ%4–/L¨®¸YJËV7æÃ.0EVA­‘¯"¥£¨Ö-PÉ7U¡®&$A8?–Œ+ ä›C?¡®:/-¹™Éf«N;ï]ͯû?²­Ý?Aß³¼DBëoACIöž˜6Ä®xÁ´ø=;>½ªO%+6š‰P/–ÀJ¤Ä2B-Ж­,¯ôCÑÛ­œ}<¢§W?Ê¿J/\¯î&"P‹ ٚÁɶվ:µ‘¾?¼eãNLª¶-¿¢[@Ía̵X5GI@f:N“ ¨.«šF(Oœ,ÖÎ.ƚ¤3%=¹©¤M(\ÉÙ¿ÁK2+"Ɉ ž¢7³¬Ü¸-¤”:ÍÅHZI­›A²¨Ö»T5Ž:^»H25.ž‹K Iœ@Lžµ56*ڏ!9Ì1/¦’ª­¨°­=3|?o¢¯$#94›‰5 ݕ6,©¬­×3•© I«M/3(G‹ŕJ4®±¦Ç.ޤ1®ÕL=0¬Ÿ8A«93¤¯4lÅ?{ÉDSO'.’‹ ¾˜RT©¿\:#—»F¸?NÓM»®ÎÉ~/¶Ÿ>.ºÂ<Oæöv0"´‹Ÿ¯6­¥¾37›ž2,ÒL9ÏÈô¿Ãî-CŸ 0*À¾LDÛÃJ$'š‰A :˜öQ µ<4$ò–¥$1Æ@R¼?J¢¡: B¦¤_7ÈÆ96Á«ì#'DŸŒ± šµ=ª¶@O,2œœ+&ß÷q½B3µ¨²þ(7£¨:K¾F7å¾½o,"4“Š( K˜ÌM«¼N6%¼”²2¶ßNR8ø¢ŸS4¢£SCÀå0;´¬_'(/¹‹“ œ›/Ò¥Ù:..Ÿ—5dz9Kß2˜£/Ò¢µEйN/=¶­K&)7›‰Ì"”¬7¬°62.̗£#ºÆQá<<¤šË0¦¨W]·Ù17Å«¿*%.ƎŽ ®–ëîª}78/©•Ó8²ÝZf:Z¡šÕ+œ PHÉn;>¿©»( /v‹¾“îD©Í==+µ”¸1¯Ó[ë0H¢ž¾()´¤ÜLºÚ4=Û³³:&ȎŽ ­™KÛ¦a2<1¬–äP¹Cý1L­­¬Õ,I·ÆÎ¶Ú6?hØÈN"&’‰ º—Iß K0S,¼–¿>»8Xí4ž1M˜§^Ei¾L%ԝÊ#<ߌ‹ š(;›µ'&7ž–.º¬+8Å5¶‘¤ŸŸÓYÜÊM)D ¬" C>£‡¶!ް$¨¢6*-Η©-¬O0ÄÎN« L#W£³>rÁp6?À¸?$(¼Œ ¤™9xœ® e›œ/ Ê¿/?È¿§ŸN?Ÿª>Þ¸J/<¼¬W"¶ ¯•K; ¦+6ž—>_®;2ÓÖ®›º)Ÿ¡HA»É8/a«¼&H“‹2-•®4°¤Z"$¯”¯,¯Í0?柟+Ж­-ü²S.9¼©D$ª‹• ¢˜Mç§Á2(2Ÿ–?I°WJîMß§)¾š§-5¶Ê07»³7-˜‰` &™®ï©µ80-Ϙ¤$(Î_KËU¿ž®#&´Ÿ¬8:·É/;¼¸9 'œ†®•ª6¬¤Ý(e”#!ÁÊBáh_ª¢\$>¢¥58­½/5Ù·Ü&ºŠ £š<Π¸) 7–DO¼?aë?°—·$˜œ;.Å´L+G§¯=Ÿ‰ž –Ÿ,¶¢O/,5œ—-Ô½EïlJ´¦´.$°šá)Á¶@6K¼·4+˜ˆÅ ™ªJ³«L(+ʘŸ( ÖÂdpIl¦žO<™§-K´ê79Ó®Ý##Z“‹-7•º@«¹133À—©)¿Ð_{IƬ»ê?:­¥><ºê5FÞÍ]-%³‹™¥¡_¸§í#(䝜= PÉ<ݾG½ž¾.¡žD/ÆÀB2J³½&ûŽ õ›ÅÕ©Â1-.±—²/º[DÊûЦ¬4&Ν«*>¯Ñ1:ÒºI")›‰º š®H¬ªH+*bšœ- ß¿GD_»Ÿ¢+ŗ®+S°â37ǬX ·Œ µ•ñO¬¯O!#¥‘Â/¸ÝLLÓ¯·Ì^.Kž©%GªN/mÝîG((Ÿˆ¬™­B§®63.;œ›-"ÔÚIÌkf¯¯è</Û»$Ö±96ÓÎs/"ߋ ¢Ÿ0°ŸO55)´–º!<É@é¼ÖÀ»gçoL§­*E®t._Æm?7R™—#±¯/ª›3GÇ©¤k0;=N»¬¶G:â¶½ÀÀF=½µU=:.+Վ +K¨°¾<뙸"Gµ[3%/Ž‹£™Í±Ê(œŸ³a(¹«=*)N¦¦Ë-5»¨¶ú<1R®¹@/2Ý¢£W%¿·*¿šfW«Ænæ,+­—¯.¬B®:[§Ôïa.#®‘œšœ'C°<>¯ÓMÆb:O<^™š¢›.4«É=À¼UOOôÙYAKÁž¨!"¬§xï·û7J½°ÉBWÙKKj[¾¥¸/:¹½_DIôqPóÏõkÛк·»º¹ÍYàÌ×nW_äûZæÌÕk\Ö½ÈUþÉÛàÇÃÌÏÓßâÏÊÏÕ×éÖÏßÌ»Ê_×ÂÔxÕÌïzÕËÎÓçæÌÃÔnúÒÈÔmÞÂÅÒÎ×êÏÆÐÔÏärÙËÍÐëéÏÎkðÅÉeZáÏÒØ×ÑÏÚxpÙÎØèÖÍÔàÞÝßéâÝÚáíêþîÍÉÞaj×ËÙýÜÓçmôáÚ×ÔÕåféÒäsÜÖöýÑÏìÿéßÜçùÜ×znÔÌØáïîØÒâæÔØhZíÑÔßÜØæo}ØÎÖââèäÒÒåâÖÝïßÙípuêÐËÙòãÚàîèÝÞò~ßÓ×òáÎÏâßÖ×ÙÒ×ìÿÚÍ×óøÜÙèÿÝÐÞjéÌÎçèÒÑäîÜÙêïÞÕ×ÜÙÎÕéçâöäÔÕäéÙÑÙâßÚÙÝãØ×éÿéÑÈÒöÞÓégçÎÏç~ëßÙÏÎÒÚÞÜÙÞÝÓÎØçÚÏÓÛÙÜàÜÛÕÔÝåÛÐÎÜõÞÏØëãÍÊÙùÜÌÏØÔÑÙÜÝßÞÓÑ×Ü×ÔרÕÔÔÜæÛÓàîÝÎÌÒÜßÛÞÝÕÏÐÜùñÙÎÏÛÞÖÔØÞàÖÒÝéÛÖÚÝÛÜÛØÚÞßßáêá×ÖàîæäßÝ
28,144
40
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_33.txt
Delivered-To: [email protected] Date: Wed, 27 Sep 2000 11:11:09 -0500 From: Anne Person <[email protected]> To: Barney Dude <[email protected]> Subject: Re: Limiting Perl CPU Utilization... Mime-Version: 1.0 Content-Type: multipart/signed; micalg*=ansi-x3.4-1968''pgp-md5; protocol*=ansi-x3.4-1968''application%2Fpgp-signature; boundary*="ansi-x3.4-1968''EeQfGwPcQSOJBaQU" Content-Disposition: inline Sender: [email protected] Precedence: bulk X-Loop: FreeBSD.org --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset*=ansi-x3.4-1968''us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable part 1 --EeQfGwPcQSOJBaQU Content-Type: text/plain Content-Disposition: inline part 2 --EeQfGwPcQSOJBaQU--
750
30
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_29.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; title*0*="us-ascii'en'This%20is%20even%20more%20"; title*1*="%2A%2A%2Afun%2A%2A%2A%20"; title*2="isn't it!" Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (John X. Doe) To: [email protected] Subject: This is a test message Date: Fri, 4 May 2001 14:05:44 -0400 Hi, Do you like this message? -Me
583
23
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_02.txt
MIME-version: 1.0 From: [email protected] Sender: [email protected] To: [email protected] Subject: Ppp digest, Vol 1 #2 - 5 msgs Date: Fri, 20 Apr 2001 20:18:00 -0400 (EDT) X-Mailer: Mailman v2.0.4 X-Mailman-Version: 2.0.4 Content-Type: multipart/mixed; boundary="192.168.1.2.889.32614.987812255.500.21814" --192.168.1.2.889.32614.987812255.500.21814 Content-type: text/plain; charset=us-ascii Content-description: Masthead (Ppp digest, Vol 1 #2) Send Ppp mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://www.zzz.org/mailman/listinfo/ppp or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Ppp digest..." --192.168.1.2.889.32614.987812255.500.21814 Content-type: text/plain; charset=us-ascii Content-description: Today's Topics (5 msgs) Today's Topics: 1. testing #1 (Barry A. Warsaw) 2. testing #2 (Barry A. Warsaw) 3. testing #3 (Barry A. Warsaw) 4. testing #4 (Barry A. Warsaw) 5. testing #5 (Barry A. Warsaw) --192.168.1.2.889.32614.987812255.500.21814 Content-Type: multipart/digest; boundary="__--__--" --__--__-- Message: 1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 20 Apr 2001 20:16:13 -0400 To: [email protected] From: [email protected] (Barry A. Warsaw) Subject: [Ppp] testing #1 Precedence: bulk hello --__--__-- Message: 2 Date: Fri, 20 Apr 2001 20:16:21 -0400 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: [email protected] From: [email protected] (Barry A. Warsaw) Precedence: bulk hello --__--__-- Message: 3 Date: Fri, 20 Apr 2001 20:16:25 -0400 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: [email protected] From: [email protected] (Barry A. Warsaw) Subject: [Ppp] testing #3 Precedence: bulk hello --__--__-- Message: 4 Date: Fri, 20 Apr 2001 20:16:28 -0400 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: [email protected] From: [email protected] (Barry A. Warsaw) Subject: [Ppp] testing #4 Precedence: bulk hello --__--__-- Message: 5 Date: Fri, 20 Apr 2001 20:16:32 -0400 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: [email protected] From: [email protected] (Barry A. Warsaw) Subject: [Ppp] testing #5 Precedence: bulk hello --__--__---- --192.168.1.2.889.32614.987812255.500.21814 Content-type: text/plain; charset=us-ascii Content-description: Digest Footer _______________________________________________ Ppp mailing list [email protected] http://www.zzz.org/mailman/listinfo/ppp --192.168.1.2.889.32614.987812255.500.21814-- End of Ppp Digest
2,812
137
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_32.txt
Delivered-To: [email protected] Date: Tue, 26 Sep 2000 12:23:03 -0500 From: Anne Person <[email protected]> To: Barney Dude <[email protected]> Subject: Re: Limiting Perl CPU Utilization... Mime-Version: 1.0 Content-Type: text/plain; charset*=ansi-x3.4-1968''us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.8i Sender: [email protected] Precedence: bulk X-Loop: FreeBSD.org Some message.
418
15
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_14.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (John X. Doe) To: [email protected] Subject: This is a test message Date: Fri, 4 May 2001 14:05:44 -0400 Hi, I'm sorry but I'm using a drainbread ISP, which although big and wealthy can't seem to generate standard compliant email. :( This message has a Content-Type: header with no subtype. I hope you can still read it. -Me
641
24
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_12.txt
MIME-Version: 1.0 From: Barry Warsaw <[email protected]> To: Dingus Lovers <[email protected]> Subject: Lyrics Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain; charset="us-ascii" --BOUNDARY Content-Type: text/html; charset="iso-8859-1" --BOUNDARY Content-Type: multipart/mixed; boundary="ANOTHER" --ANOTHER Content-Type: text/plain; charset="iso-8859-2" --ANOTHER Content-Type: text/plain; charset="iso-8859-3" --ANOTHER-- --BOUNDARY Content-Type: text/plain; charset="us-ascii" --BOUNDARY Content-Type: text/plain; charset="koi8-r" --BOUNDARY--
644
37
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_19.txt
Send Ppp mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://www.zzz.org/mailman/listinfo/ppp or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Ppp digest..." Today's Topics: 1. testing #1 (Barry A. Warsaw) 2. testing #2 (Barry A. Warsaw) 3. testing #3 (Barry A. Warsaw) 4. testing #4 (Barry A. Warsaw) 5. testing #5 (Barry A. Warsaw) hello hello hello hello hello _______________________________________________ Ppp mailing list [email protected] http://www.zzz.org/mailman/listinfo/ppp
757
44
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_04.txt
Return-Path: <[email protected]> Delivered-To: [email protected] Received: by mail.python.org (Postfix, from userid 889) id C2BF0D37C6; Tue, 11 Sep 2001 00:05:05 -0400 (EDT) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h90VIIIKmx" Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (Barry A. Warsaw) To: [email protected] Subject: a simple multipart Date: Tue, 11 Sep 2001 00:05:05 -0400 X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-Attribution: BAW X-Oblique-Strategy: Make a door into a window --h90VIIIKmx Content-Type: text/plain Content-Disposition: inline; filename="msg.txt" Content-Transfer-Encoding: 7bit a simple kind of mirror to reflect upon our own --h90VIIIKmx Content-Type: text/plain Content-Disposition: inline; filename="msg.txt" Content-Transfer-Encoding: 7bit a simple kind of mirror to reflect upon our own --h90VIIIKmx--
961
38
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_22.txt
Mime-Version: 1.0 Message-Id: <a05001902b7f1c33773e9@[134.84.183.138]> Date: Tue, 16 Oct 2001 13:59:25 +0300 To: [email protected] From: [email protected] Content-Type: multipart/mixed; boundary="============_-1208892523==_============" --============_-1208892523==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Text text text. --============_-1208892523==_============ Content-Id: <a05001902b7f1c33773e9@[134.84.183.138].0.0> Content-Type: image/jpeg; name="wibble.JPG" ; x-mac-type="4A504547" ; x-mac-creator="474B4F4E" Content-Disposition: attachment; filename="wibble.JPG" Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAALCAXABIEBAREA g6bCjjw/pIZSjO6FWFpldjySOmCNrO7DBZibUXhTwtCixw+GtAijVdqxxaPp0aKvmGXa qrbBQvms0mAMeYS/3iTV1dG0hHaRNK01XblnWxtVdjkHLMIgTyqnk9VB7CrP2KzIINpa 4O7I+zxYO9WV8jZg71Zlb+8rMDkEirAVQFAUAKAFAAAUAYAUDgADgY6DjpRtXj5RxjHA 4wQRj0wQCMdCAewpaKKK/9k= --============_-1208892523==_============ Content-Id: <a05001902b7f1c33773e9@[134.84.183.138].0.1> Content-Type: image/jpeg; name="wibble2.JPG" ; x-mac-type="4A504547" ; x-mac-creator="474B4F4E" Content-Disposition: attachment; filename="wibble2.JPG" Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAALCAXABJ0BAREA /8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA W6NFJJBEkU10kKGTcWMDwxuU+0JHvk8qAtOpNwqSR0n8c3BlDyXHlqsUltHEiTvdXLxR 7vMiGDNJAJWkAMk8ZkCFp5G2oo5W++INrbQtNfTQxJAuXlupz9oS4d5Y1W+E2XlWZJJE Y7LWYQxTLE1zuMbfBPxw8X2fibVdIbSbI6nLZxX635t9TjtYreWR7WGKJTLJFFKSlozO 0ShxIXM43uC3/9k= --============_-1208892523==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Text text text. --============_-1208892523==_============--
1,894
47
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_16.txt
Return-Path: <> Delivered-To: [email protected] Received: from cougar.noc.ucla.edu (cougar.noc.ucla.edu [169.232.10.18]) by babylon.socal-raves.org (Postfix) with ESMTP id CCC2C51B84 for <[email protected]>; Sun, 23 Sep 2001 20:13:54 -0700 (PDT) Received: from sims-ms-daemon by cougar.noc.ucla.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) id <[email protected]> for [email protected]; Sun, 23 Sep 2001 20:14:35 -0700 (PDT) Received: from cougar.noc.ucla.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) id <[email protected]>; Sun, 23 Sep 2001 20:14:35 -0700 (PDT) Date: Sun, 23 Sep 2001 20:14:35 -0700 (PDT) From: Internet Mail Delivery <[email protected]> Subject: Delivery Notification: Delivery has failed To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Sender: [email protected] Errors-To: [email protected] X-BeenThere: [email protected] X-Mailman-Version: 2.1a3 Precedence: bulk List-Help: <mailto:[email protected]?subject=help> List-Post: <mailto:[email protected]> List-Subscribe: <http://socal-raves.org/mailman/listinfo/scr>, <mailto:[email protected]?subject=subscribe> List-Id: SoCal-Raves <scr.socal-raves.org> List-Unsubscribe: <http://socal-raves.org/mailman/listinfo/scr>, <mailto:[email protected]?subject=unsubscribe> List-Archive: <http://socal-raves.org/mailman/private/scr/> Content-Type: multipart/report; boundary="Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA)" --Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA) Content-type: text/plain; charset=ISO-8859-1 This report relates to a message you sent with the following header fields: Message-id: <[email protected]> Date: Sun, 23 Sep 2001 20:10:55 -0700 From: "Ian T. Henry" <[email protected]> To: SoCal Raves <[email protected]> Subject: [scr] yeah for Ians!! Your message cannot be delivered to the following recipients: Recipient address: [email protected] Reason: recipient reached disk quota --Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA) Content-type: message/DELIVERY-STATUS Original-envelope-id: [email protected] Reporting-MTA: dns; cougar.noc.ucla.edu Action: failed Status: 5.0.0 (recipient reached disk quota) Original-recipient: rfc822;[email protected] Final-recipient: rfc822;[email protected] --Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA) Content-type: MESSAGE/RFC822 Return-path: [email protected] Received: from sims-ms-daemon by cougar.noc.ucla.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) id <[email protected]>; Sun, 23 Sep 2001 20:14:35 -0700 (PDT) Received: from panther.noc.ucla.edu by cougar.noc.ucla.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <[email protected]> for jangel1@sims-ms-daemon; Sun, 23 Sep 2001 20:14:33 -0700 (PDT) Received: from babylon.socal-raves.org (ip-209-85-222-117.dreamhost.com [209.85.222.117]) by panther.noc.ucla.edu (8.9.1a/8.9.1) with ESMTP id UAA09793 for <[email protected]>; Sun, 23 Sep 2001 20:14:32 -0700 (PDT) Received: from babylon (localhost [127.0.0.1]) by babylon.socal-raves.org (Postfix) with ESMTP id D3B2951B70; Sun, 23 Sep 2001 20:13:47 -0700 (PDT) Received: by babylon.socal-raves.org (Postfix, from userid 60001) id A611F51B82; Sun, 23 Sep 2001 20:13:46 -0700 (PDT) Received: from tiger.cc.oxy.edu (tiger.cc.oxy.edu [134.69.3.112]) by babylon.socal-raves.org (Postfix) with ESMTP id ADA7351B70 for <[email protected]>; Sun, 23 Sep 2001 20:13:44 -0700 (PDT) Received: from ent (n16h86.dhcp.oxy.edu [134.69.16.86]) by tiger.cc.oxy.edu (8.8.8/8.8.8) with SMTP id UAA08100 for <[email protected]>; Sun, 23 Sep 2001 20:14:24 -0700 (PDT) Date: Sun, 23 Sep 2001 20:10:55 -0700 From: "Ian T. Henry" <[email protected]> Subject: [scr] yeah for Ians!! Sender: [email protected] To: SoCal Raves <[email protected]> Errors-to: [email protected] Message-id: <[email protected]> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset=us-ascii Precedence: bulk Delivered-to: [email protected] Delivered-to: [email protected] X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98e X-Converted-To-Plain-Text: Alternative section used was text/plain X-BeenThere: [email protected] X-Mailman-Version: 2.1a3 List-Help: <mailto:[email protected]?subject=help> List-Post: <mailto:[email protected]> List-Subscribe: <http://socal-raves.org/mailman/listinfo/scr>, <mailto:[email protected]?subject=subscribe> List-Id: SoCal-Raves <scr.socal-raves.org> List-Unsubscribe: <http://socal-raves.org/mailman/listinfo/scr>, <mailto:[email protected]?subject=unsubscribe> List-Archive: <http://socal-raves.org/mailman/private/scr/> I always love to find more Ian's that are over 3 years old!! Ian _______________________________________________ For event info, list questions, or to unsubscribe, see http://www.socal-raves.org/ --Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA)--
5,203
124
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_15.txt
Return-Path: <[email protected]> Received: from fepD.post.tele.dk (195.41.46.149) by mail.groupcare.dk (LSMTP for Windows NT v1.1b) with SMTP id <[email protected]>; Mon, 30 Apr 2001 12:17:50 +0200 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2106 Subject: XX From: [email protected] To: XX Message-ID: <xxxx> Mime-version: 1.0 Content-type: multipart/mixed; boundary="MS_Mac_OE_3071477847_720252_MIME_Part" > Denne meddelelse er i MIME-format. Da dit postl --MS_Mac_OE_3071477847_720252_MIME_Part Content-type: multipart/alternative; boundary="MS_Mac_OE_3071477847_720252_MIME_Part" --MS_Mac_OE_3071477847_720252_MIME_Part Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Some removed test. --MS_Mac_OE_3071477847_720252_MIME_Part Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable <HTML> <HEAD> <TITLE>Some removed HTML</TITLE> </HEAD> <BODY> Some removed text. </BODY> </HTML> --MS_Mac_OE_3071477847_720252_MIME_Part-- --MS_Mac_OE_3071477847_720252_MIME_Part Content-type: image/gif; name="xx.gif"; x-mac-creator="6F676C65"; x-mac-type="47494666" Content-disposition: attachment Content-transfer-encoding: base64 Some removed base64 encoded chars. --MS_Mac_OE_3071477847_720252_MIME_Part--
1,306
53
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_07.txt
MIME-Version: 1.0 From: Barry <[email protected]> To: Dingus Lovers <[email protected]> Subject: Here is your dingus fish Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain; charset="us-ascii" Hi there, This is the dingus fish. --BOUNDARY Content-Type: image/gif; name="dingusfish.gif" Content-Transfer-Encoding: base64 content-disposition: attachment; filename="dingusfish.gif" R0lGODdhAAEAAfAAAP///wAAACwAAAAAAAEAAQAC/oSPqcvtD6OctNqLs968+w+G4kiW5omm6sq2 7gvH8kzX9o3n+s73/g8MCofEovGITGICTKbyCV0FDNOo9SqpQqpOrJfXzTQj2vD3TGtqL+NtGQ2f qTXmxzuOd7WXdcc9DyjU53ewFni4s0fGhdiYaEhGBelICTNoV1j5NUnFcrmUqemjNifJVWpaOqaI oFq3SspZsSraE7sHq3jr1MZqWvi662vxV4tD+pvKW6aLDOCLyur8PDwbanyDeq0N3DctbQYeLDvR RY6t95m6UB0d3mwIrV7e2VGNvjjffukeJp4w7F65KecGFsTHQGAygOrgrWs1jt28Rc88KESYcGLA /obvTkH6p+CinWJiJmIMqXGQwH/y4qk0SYjgQTczT3ajKZGfuI0uJ4kkVI/DT5s3/ejkxI0aT4Y+ YTYgWbImUaXk9nlLmnSh1qJiJFl0OpUqRK4oOy7NyRQtHWofhoYVxkwWXKUSn0YsS+fUV6lhqfYb 6ayd3Z5qQdG1B7bvQzaJjwUV2lixMUZ7JVsOlfjWVr/3NB/uFvnySBN6Dcb6rGwaRM3wsormw5cC M9NxWy/bWdufudCvy8bOAjXjVVwta/uO21sE5RHBCzNFXtgq9ORtH4eYjVP4Yryo026nvkFmCeyA B29efV6ravCMK5JwWd5897Qrx7ll38o6iHDZ/rXPR//feevhF4l7wjUGX3xq1eeRfM4RSJGBIV1D z1gKPkfWag3mVBVvva1RlX5bAJTPR/2YqNtw/FkIYYEi/pIZiAdpcxpoHtmnYYoZtvhUftzdx5ZX JSKDW405zkGcZzzGZ6KEv4FI224oDmijlEf+xp6MJK5ojY/ASeVUR+wsKRuJ+XFZ5o7ZeEime8t1 ouUsU6YjF5ZtUihhkGfCdFQLWQFJ3UXxmElfhQnR+eCdcDbkFZp6vTRmj56ApCihn5QGpaToNZmR n3NVSpZcQpZ2KEONusaiCsKAug0wkQbJSFO+PTSjneGxOuFjPlUk3ovWvdIerjUg9ZGIOtGq/qeX eCYrrCX+1UPsgTKGGRSbzd5q156d/gpfbJxe66eD5iQKrXj7RGgruGxs62qebBHUKS32CKluCiqZ qh+pmehmEb71noAUoe5e9Zm17S7773V10pjrtG4CmuurCV/n6zLK5turWNhqOvFXbjhZrMD0YhKe wR0zOyuvsh6MWrGoIuzvyWu5y1WIFAqmJselypxXh6dKLNOKEB98L88bS2rkNqqlKzCNJp9c0G0j Gzh0iRrCbHSXmPR643QS+4rWhgFmnSbSuXCjS0xAOWkU2UdLqyuUNfHSFdUouy3bm5i5GnDM3tG8 doJ4r5tqu3pPbRSVfvs8uJzeNXhp3n4j/tZ42SwH7eaWUUOjc3qFV9453UHTXZfcLH+OeNs5g36x lBnHvTm7EbMbLeuaLncao8vWCXimfo1o+843Ak6y4ChNeGntvAYvfLK4ezmoyNIbNCLTCXO9ZV3A E8/s88RczPzDwI4Ob7XZyl7+9Miban29h+tJZPrE21wgvBphDfrrfPdCTPKJD/y98L1rZwHcV6Jq Zab0metpuNIX/qAFPoz171WUaUb4HAhBSzHuHfjzHb3kha/2Cctis/ORArVHNYfFyYRH2pYIRzic isVOfPWD1b6mRTqpCRBozzof6UZVvFXRxWIr3GGrEviGYgyPMfahheiSaLs/9QeFu7oZ/ndSY8DD ya9x+uPed+7mxN2IzIISBOMLFYWVqC3Pew1T2nFuuCiwZS5/v6II10i4t1OJcUH2U9zxKodHsGGv Oa+zkvNUYUOa/TCCRutF9MzDwdlUMJADTCGSbDQ5OV4PTamDoPEi6Ecc/RF5RWwkcdSXvSOaDWSn I9LlvubFTQpuc6JKXLcKeb+xdbKRBnwREemXyjg6ME65aJiOuBgrktzykfPLJBKR9ClMavJ62/Ff BlNIyod9yX9wcSXexnXFpvkrbXk64xsx5Db7wXKP5fSgsvwIMM/9631VLBfkmtbHRXpqmtei52hG pUwSlo+BASQoeILDOBgREECxBBh5/iYmNsQ9dIv5+OI++QkqdsJPc3uykz5fkM+OraeekcQF7X4n B5S67za5U967PmooGQhUXfF7afXyCD7ONdRe17QogYjVx38uLwtrS6nhTnm15LQUnu9E2uK6CNI/ 1HOABj0ESwOjut4FEpFQpdNAm4K2LHnDWHNcmKB2ioKBogysVZtMO2nSxUdZ8Yk2kJc7URioLVI0 YgmtIwZj4LoeKemgnOnbUdGnzZ4Oa6scqiolBGqS6RgWNLu0RMhcaE6rhhU4hiuqFXPAG8fGwTPW FKeLMtdVmXLSs5YJGF/YeVm7rREMlY3UYE+yCxbaMXX8y15m5zVHq6GOKDMynzII/jdUHdyVqIy0 ifX2+r/EgtZcvRzSb72gU9ui87M2VecjKildW/aFqaYhKoryUjfB/g4qtyVuc60xFDGmCxwjW+qu zjuwl2GkOWn66+3QiiEctvd04OVvcCVzjgT7lrkvjVGKKHmmlDUKowSeikb5kK/mJReuWOxONx+s ULsl+Lqb0CVn0SrVyJ6wt4t6yTeSCafhPhAf0OXn6L60UMxiLolFAtmN35S2Ob1lZpQ1r/n0Qb5D oQ1zJiRVDgF8N3Q8TYfbi3DyWCy3lT1nxyBs6FT3S2GOzWRlxwKvlRP0RPJA9SjxEy0UoEnkA+M4 cnzLMJrBGWLFEaaUb5lvpqbq/loOaU5+DFuHPxo82/OZuM8FXG3oVNZhtWpMpb/0Xu5m/LfLhHZQ 7yuVI0MqZ7NE43imC8jH3IwGZlbPm0xkJYs7+2U48hXTsFSMqgGDvai0kLxyynKNT/waj+q1c1tz GjOpPBgdCSq3UKZxCSsqFIY+O6JbAWGWcV1pwqLyj5sGqCF1xb1F3varUWqrJv6cN3PrUXzijtfZ FshpBL3Xwr4GIPvU2N8EjrJgS1zl21rbXQMXeXc5jjFyrhpCzijSv/RQtyPSzHCFMhlME95fHglt pRsX+dfSQjUeHAlpWzJ5iOo79Ldnaxai6bXTcGO3fp07ri7HLEmXXPlYi8bv/qVxvNcdra6m7Rlb 6JBTb5fd66VhFRjGArh2n7R1rDW4P5NOT9K0I183T2scYkeZ3q/VFyLb09U9ajzXBS8Kgkhc4mBS kYY9cy3Vy9lUnuNJH8HGIclUilwnBtjUOH0gteGOZ4c/XNrhXLSYDyxfnD8z1pDy7rYRvDolhnbe UMzxCZUs40s6s7UIvBnLgc0+vKuOkIXeOrDymlp+Zxra4MZLBbVrqD/jTJ597pDmnw5c4+DbyB88 9Cg9DodYcSuMZT/114pptqc/EuTjRPvH/z5slzI3tluOEBBLqOXLOX+0I5929tO97wkvl/atCz+y xJrdwteW2FNW/NSmBP+f/maYtVs/bYyBC7Ox3jsYZHL05CIrBa/nS+b3bHfiYm4Ueil1YZZSgAUI fFZ1dxUmeA2oQRQ3RuGXNGLFV9/XbGFGPV6kfzk1TBBCd+izc7q1H+OHMJwmaBX2IQNYVAKHYepV SSGCe6CnbYHHETKGNe43EDvFgZr0gB/nVHPHZ80VV1ojOiI3XDvYIkl4ayo4bxQIgrFXWTvBI0nH VElWMuw2aLUWCRHHf8ymVCHjFlJnOSojfevCYyyyZDH0IcvHhrsnQ5O1OsWzONuVVKIxSxiFZ/tR fKDAf6xFTnw4O9Qig2VCfW2hJQrmMOuHW0W3dLQmCMO2ccdUd/xyfflH/olTiHZVdGwb8nIwRzSE J15jFlOJuBZBZ4CiyHyd2IFylFlB+HgHhYabhWOGwYO1ZH/Og1dtQlFMk352CGRSIFTapnWQEUtN l4zv8S0aaCFDyGCBqDUxZYpxGHX01y/JuH1xhn7TOCnNCI4eKDs5WGX4R425F4vF1o3BJ4vO0otq I3rimI7jJY1jISqnBxknCIvruF83mF5wN4X7qGLIhR8A2Vg0yFERSIXn9Vv3GHy3Vj/WIkKddlYi yIMv2I/VMjTLpW7pt05SWIZR0RPyxpB4SIUM9lBPGBl0GC7oSEEwRYLe4pJpZY2P0zbI1n+Oc44w qY3PUnmF0ixjVpDD/mJ9wpOBGTVgXlaCaZiPcIWK5NiKBIiPdGaQ0TWGvAiG7nMchdZb7Vgf8zNi MuMyzRdy/lePe9iC4TRx7WhhOQI/QiSVNAmAa2lT/piFbuh7ofJoYSZzrSZ1bvmWw3eN2nKUPVky uPN5/VRfohRd0VYZoqhKIlU6TXYhJxmPUIloAwc1bPmHEpaZYZORHNlXUJM07hATwHR8MJYqkwWR WaIezFhxSFlc8/Fq82hEnpeRozg3ULhhr9lAGtVEkCg5ZNRuuVleBPaZadhG0ZgkyPmDOTOKzViM YgOcpukKqQcbjAWS0IleQ2ROjdh6A+md1qWdBRSX7iSYgFRTtRmBpJioieXJiHfJiMGIR9fJOn8I MSfXYhspn4ooSa2mSAj4n+8Bmg03fBJZoPOJgsVZRxu1oOMRPXYYjdqjihFaEoZpXBREanuJoRI6 cibFinq4ngUKh/wQd/H5ofYCZ0HJXR62opZFaAT0iFIZo4DIiUojkjeqKiuoZirKo5Y1a7AWckGa BkuYoD5lpDK6eUs6CkDqpETwl1EqpfhJpVeKpVl6EgUAADs= --BOUNDARY--
5,227
84
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/PyBanner048.gif
GIF87a–#ÄÿÿÿõøüëñøàëõÖäñÌÝîÂÖë¸Ïç­Éä£Âà™»Ý´Ú…­Öz§Óp Ïf™Ì,–#ÿà#Ždižhª®lë¾p,Ïtmßx®ï|ïÿÀ pH,È¤rÉlž†sJ-Ūá¨z]ßPh‡ð©vÖ!îºjY€~€X¬q ~)eczw' zj*‘( z˜Š OR)¡z¤" “¦(W{-“•™ª™ž"Wt((Ž»# £'µ±%zÌ%ª‚ g™ nd*­‚$‰¿(‰·$½³Ï"ÇÝ)Çê`åz×Cî" ]­Œ'zêµJ ¢—åØù:§g z  ¦è WTbЀÁyô@1`€@È,#Êÿ9<qå U!@ˆ…¦Ï®v0ƒcKP[i¦4 P˜©)&4ê¸Zq¥^ž,&¹ëuH;œ& je•ŠKd"]‘˜¢•0!Ê PÙor„™É¢—¼¢À=h’@%€lUˆÒ»ó‰À"ÞÁX’’ D£G5"ٗíL\j«/ ¢9¼ÔSEH)0K´DÒZ %]J‘I(0àÈ Ü0|Wä©Ôª„ƒr®Áº‚ÝñȌ‘ï‰ä`R€¿)¹,(·¼NhzVŒI<âÊLç‹€ºÂ;,&Øõ –½;€Ÿp~'Ðâ‹ ÿILáWÎ ½\·x€)BŠ2ï rT Chç%€E& 9{P(Âsç‘ " hBsؑ¡ß hã @–*#¾ƒQc½‚‰Á€'•6ÿLÂÞ¦ @\|˜Â’ÈX¢ŒH·GE1däB/õ™H=l™á,êxB`+8°Ø!*$"›͑ +léX ¢PÇB ,,9˜àÐbe>@XÈ&&y˜ ×ýãV£*(ÃiY\Ôb ü ³€ð¨øCŽMå1Ǫ²¢/Lò) ·Å:˜;–z©¤=ˆÇhÎg “к¨(©EŠD±Dr;ˆÃ?1­õu'U;:§ë¶öp[±)L’-.CÙÙ×p.ºAиƒX™’w+¼:ȻÍ0xŠ/ìòl Õûï !;
954
13
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_36.txt
Mime-Version: 1.0 Content-Type: Multipart/Mixed; Boundary="NextPart" To: IETF-Announce:; From: [email protected] Subject: I-D ACTION:draft-ietf-mboned-mix-00.txt Date: Tue, 22 Dec 1998 16:55:06 -0500 --NextPart Blah blah blah --NextPart Content-Type: Multipart/Alternative; Boundary="OtherAccess" --OtherAccess Content-Type: Message/External-body; access-type="mail-server"; server="[email protected]" Content-Type: text/plain Content-ID: <[email protected]> ENCODING mime FILE /internet-drafts/draft-ietf-mboned-mix-00.txt --OtherAccess Content-Type: Message/External-body; name="draft-ietf-mboned-mix-00.txt"; site="ftp.ietf.org"; access-type="anon-ftp"; directory="internet-drafts" Content-Type: text/plain Content-ID: <[email protected]> --OtherAccess-- --NextPart--
816
41
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_06.txt
Return-Path: <[email protected]> Delivered-To: [email protected] MIME-Version: 1.0 Content-Type: message/rfc822 Content-Description: forwarded message Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> From: [email protected] (Barry A. Warsaw) Sender: [email protected] To: [email protected] Subject: forwarded message from Barry A. Warsaw Date: Thu, 13 Sep 2001 17:28:42 -0400 X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-Attribution: BAW X-Oblique-Strategy: Be dirty X-Url: http://barry.wooz.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-Path: <[email protected]> Delivered-To: [email protected] Message-ID: <[email protected]> From: [email protected] (Barry A. Warsaw) Sender: [email protected] To: [email protected] Subject: testing Date: Thu, 13 Sep 2001 17:28:28 -0400 X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-Attribution: BAW X-Oblique-Strategy: Spectrum analysis X-Url: http://barry.wooz.org
1,041
34
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_40.txt
MIME-Version: 1.0 Content-Type: text/html; boundary="--961284236552522269" ----961284236552522269 Content-Type: text/html; Content-Transfer-Encoding: 7Bit <html></html> ----961284236552522269--
197
11
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_38.txt
MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" ------- =_aaaaaaaaaa0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1" Content-ID: <[email protected]> ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa2" Content-ID: <[email protected]> ------- =_aaaaaaaaaa2 Content-Type: text/plain Content-ID: <[email protected]> Content-Description: very tricky Content-Transfer-Encoding: 7bit Unlike the test test_nested-multiples-with-internal-boundary, this piece of text not only contains the outer boundary tags ------- =_aaaaaaaaaa1 and ------- =_aaaaaaaaaa0 but puts them at the start of a line! And, to be even nastier, it even includes a couple of end tags, such as this one: ------- =_aaaaaaaaaa1-- and this one, which is from a multipart we haven't even seen yet! ------- =_aaaaaaaaaa4-- This will, I'm sure, cause much breakage of MIME parsers. But, as far as I can tell, it's perfectly legal. I have not yet ever seen a case of this in the wild, but I've seen *similar* things. ------- =_aaaaaaaaaa2 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch2 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa2-- ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa3" Content-ID: <[email protected]> ------- =_aaaaaaaaaa3 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch3 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa3 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch4 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa3-- ------- =_aaaaaaaaaa1 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa4" Content-ID: <[email protected]> ------- =_aaaaaaaaaa4 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch5 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa4 Content-Type: application/octet-stream Content-ID: <[email protected]> Content-Description: patch6 Content-Transfer-Encoding: base64 XXX ------- =_aaaaaaaaaa4-- ------- =_aaaaaaaaaa1-- ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <[email protected]> -- It's never too late to have a happy childhood. ------- =_aaaaaaaaaa0--
2,548
102
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_23.txt
From: [email protected] Content-Type: multipart/mixed; boundary="BOUNDARY" --BOUNDARY Content-Type: text/plain A message part --BOUNDARY--
139
9
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_18.txt
Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Foobar-Spoink-Defrobnit: wasnipoop; giraffes="very-long-necked-animals"; spooge="yummy"; hippos="gargantuan"; marshmallows="gooey"
230
7
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_27.txt
Return-Path: <[email protected]> Received: by mail.dom.ain (Postfix, from userid 889) id B9D0AD35DB; Tue, 4 Jun 2002 21:46:59 -0400 (EDT) Message-ID: <[email protected]> Date: Tue, 4 Jun 2002 21:46:59 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: bug demonstration 12345678911234567892123456789312345678941234567895123456789612345678971234567898112345678911234567892123456789112345678911234567892123456789 more text From: [email protected] (Anne P. Erson) To: [email protected] (Barney P. Erson) test
578
16
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_email/data/msg_13.txt
MIME-Version: 1.0 From: Barry <[email protected]> To: Dingus Lovers <[email protected]> Subject: Here is your dingus fish Date: Fri, 20 Apr 2001 19:35:02 -0400 Content-Type: multipart/mixed; boundary="OUTER" --OUTER Content-Type: text/plain; charset="us-ascii" A text/plain part --OUTER Content-Type: multipart/mixed; boundary=BOUNDARY --BOUNDARY Content-Type: text/plain; charset="us-ascii" Hi there, This is the dingus fish. --BOUNDARY Content-Type: image/gif; name="dingusfish.gif" Content-Transfer-Encoding: base64 content-disposition: attachment; filename="dingusfish.gif" R0lGODdhAAEAAfAAAP///wAAACwAAAAAAAEAAQAC/oSPqcvtD6OctNqLs968+w+G4kiW5omm6sq2 7gvH8kzX9o3n+s73/g8MCofEovGITGICTKbyCV0FDNOo9SqpQqpOrJfXzTQj2vD3TGtqL+NtGQ2f qTXmxzuOd7WXdcc9DyjU53ewFni4s0fGhdiYaEhGBelICTNoV1j5NUnFcrmUqemjNifJVWpaOqaI oFq3SspZsSraE7sHq3jr1MZqWvi662vxV4tD+pvKW6aLDOCLyur8PDwbanyDeq0N3DctbQYeLDvR RY6t95m6UB0d3mwIrV7e2VGNvjjffukeJp4w7F65KecGFsTHQGAygOrgrWs1jt28Rc88KESYcGLA /obvTkH6p+CinWJiJmIMqXGQwH/y4qk0SYjgQTczT3ajKZGfuI0uJ4kkVI/DT5s3/ejkxI0aT4Y+ YTYgWbImUaXk9nlLmnSh1qJiJFl0OpUqRK4oOy7NyRQtHWofhoYVxkwWXKUSn0YsS+fUV6lhqfYb 6ayd3Z5qQdG1B7bvQzaJjwUV2lixMUZ7JVsOlfjWVr/3NB/uFvnySBN6Dcb6rGwaRM3wsormw5cC M9NxWy/bWdufudCvy8bOAjXjVVwta/uO21sE5RHBCzNFXtgq9ORtH4eYjVP4Yryo026nvkFmCeyA B29efV6ravCMK5JwWd5897Qrx7ll38o6iHDZ/rXPR//feevhF4l7wjUGX3xq1eeRfM4RSJGBIV1D z1gKPkfWag3mVBVvva1RlX5bAJTPR/2YqNtw/FkIYYEi/pIZiAdpcxpoHtmnYYoZtvhUftzdx5ZX JSKDW405zkGcZzzGZ6KEv4FI224oDmijlEf+xp6MJK5ojY/ASeVUR+wsKRuJ+XFZ5o7ZeEime8t1 ouUsU6YjF5ZtUihhkGfCdFQLWQFJ3UXxmElfhQnR+eCdcDbkFZp6vTRmj56ApCihn5QGpaToNZmR n3NVSpZcQpZ2KEONusaiCsKAug0wkQbJSFO+PTSjneGxOuFjPlUk3ovWvdIerjUg9ZGIOtGq/qeX eCYrrCX+1UPsgTKGGRSbzd5q156d/gpfbJxe66eD5iQKrXj7RGgruGxs62qebBHUKS32CKluCiqZ qh+pmehmEb71noAUoe5e9Zm17S7773V10pjrtG4CmuurCV/n6zLK5turWNhqOvFXbjhZrMD0YhKe wR0zOyuvsh6MWrGoIuzvyWu5y1WIFAqmJselypxXh6dKLNOKEB98L88bS2rkNqqlKzCNJp9c0G0j Gzh0iRrCbHSXmPR643QS+4rWhgFmnSbSuXCjS0xAOWkU2UdLqyuUNfHSFdUouy3bm5i5GnDM3tG8 doJ4r5tqu3pPbRSVfvs8uJzeNXhp3n4j/tZ42SwH7eaWUUOjc3qFV9453UHTXZfcLH+OeNs5g36x lBnHvTm7EbMbLeuaLncao8vWCXimfo1o+843Ak6y4ChNeGntvAYvfLK4ezmoyNIbNCLTCXO9ZV3A E8/s88RczPzDwI4Ob7XZyl7+9Miban29h+tJZPrE21wgvBphDfrrfPdCTPKJD/y98L1rZwHcV6Jq Zab0metpuNIX/qAFPoz171WUaUb4HAhBSzHuHfjzHb3kha/2Cctis/ORArVHNYfFyYRH2pYIRzic isVOfPWD1b6mRTqpCRBozzof6UZVvFXRxWIr3GGrEviGYgyPMfahheiSaLs/9QeFu7oZ/ndSY8DD ya9x+uPed+7mxN2IzIISBOMLFYWVqC3Pew1T2nFuuCiwZS5/v6II10i4t1OJcUH2U9zxKodHsGGv Oa+zkvNUYUOa/TCCRutF9MzDwdlUMJADTCGSbDQ5OV4PTamDoPEi6Ecc/RF5RWwkcdSXvSOaDWSn I9LlvubFTQpuc6JKXLcKeb+xdbKRBnwREemXyjg6ME65aJiOuBgrktzykfPLJBKR9ClMavJ62/Ff BlNIyod9yX9wcSXexnXFpvkrbXk64xsx5Db7wXKP5fSgsvwIMM/9631VLBfkmtbHRXpqmtei52hG pUwSlo+BASQoeILDOBgREECxBBh5/iYmNsQ9dIv5+OI++QkqdsJPc3uykz5fkM+OraeekcQF7X4n B5S67za5U967PmooGQhUXfF7afXyCD7ONdRe17QogYjVx38uLwtrS6nhTnm15LQUnu9E2uK6CNI/ 1HOABj0ESwOjut4FEpFQpdNAm4K2LHnDWHNcmKB2ioKBogysVZtMO2nSxUdZ8Yk2kJc7URioLVI0 YgmtIwZj4LoeKemgnOnbUdGnzZ4Oa6scqiolBGqS6RgWNLu0RMhcaE6rhhU4hiuqFXPAG8fGwTPW FKeLMtdVmXLSs5YJGF/YeVm7rREMlY3UYE+yCxbaMXX8y15m5zVHq6GOKDMynzII/jdUHdyVqIy0 ifX2+r/EgtZcvRzSb72gU9ui87M2VecjKildW/aFqaYhKoryUjfB/g4qtyVuc60xFDGmCxwjW+qu zjuwl2GkOWn66+3QiiEctvd04OVvcCVzjgT7lrkvjVGKKHmmlDUKowSeikb5kK/mJReuWOxONx+s ULsl+Lqb0CVn0SrVyJ6wt4t6yTeSCafhPhAf0OXn6L60UMxiLolFAtmN35S2Ob1lZpQ1r/n0Qb5D oQ1zJiRVDgF8N3Q8TYfbi3DyWCy3lT1nxyBs6FT3S2GOzWRlxwKvlRP0RPJA9SjxEy0UoEnkA+M4 cnzLMJrBGWLFEaaUb5lvpqbq/loOaU5+DFuHPxo82/OZuM8FXG3oVNZhtWpMpb/0Xu5m/LfLhHZQ 7yuVI0MqZ7NE43imC8jH3IwGZlbPm0xkJYs7+2U48hXTsFSMqgGDvai0kLxyynKNT/waj+q1c1tz GjOpPBgdCSq3UKZxCSsqFIY+O6JbAWGWcV1pwqLyj5sGqCF1xb1F3varUWqrJv6cN3PrUXzijtfZ FshpBL3Xwr4GIPvU2N8EjrJgS1zl21rbXQMXeXc5jjFyrhpCzijSv/RQtyPSzHCFMhlME95fHglt pRsX+dfSQjUeHAlpWzJ5iOo79Ldnaxai6bXTcGO3fp07ri7HLEmXXPlYi8bv/qVxvNcdra6m7Rlb 6JBTb5fd66VhFRjGArh2n7R1rDW4P5NOT9K0I183T2scYkeZ3q/VFyLb09U9ajzXBS8Kgkhc4mBS kYY9cy3Vy9lUnuNJH8HGIclUilwnBtjUOH0gteGOZ4c/XNrhXLSYDyxfnD8z1pDy7rYRvDolhnbe UMzxCZUs40s6s7UIvBnLgc0+vKuOkIXeOrDymlp+Zxra4MZLBbVrqD/jTJ597pDmnw5c4+DbyB88 9Cg9DodYcSuMZT/114pptqc/EuTjRPvH/z5slzI3tluOEBBLqOXLOX+0I5929tO97wkvl/atCz+y xJrdwteW2FNW/NSmBP+f/maYtVs/bYyBC7Ox3jsYZHL05CIrBa/nS+b3bHfiYm4Ueil1YZZSgAUI fFZ1dxUmeA2oQRQ3RuGXNGLFV9/XbGFGPV6kfzk1TBBCd+izc7q1H+OHMJwmaBX2IQNYVAKHYepV SSGCe6CnbYHHETKGNe43EDvFgZr0gB/nVHPHZ80VV1ojOiI3XDvYIkl4ayo4bxQIgrFXWTvBI0nH VElWMuw2aLUWCRHHf8ymVCHjFlJnOSojfevCYyyyZDH0IcvHhrsnQ5O1OsWzONuVVKIxSxiFZ/tR fKDAf6xFTnw4O9Qig2VCfW2hJQrmMOuHW0W3dLQmCMO2ccdUd/xyfflH/olTiHZVdGwb8nIwRzSE J15jFlOJuBZBZ4CiyHyd2IFylFlB+HgHhYabhWOGwYO1ZH/Og1dtQlFMk352CGRSIFTapnWQEUtN l4zv8S0aaCFDyGCBqDUxZYpxGHX01y/JuH1xhn7TOCnNCI4eKDs5WGX4R425F4vF1o3BJ4vO0otq I3rimI7jJY1jISqnBxknCIvruF83mF5wN4X7qGLIhR8A2Vg0yFERSIXn9Vv3GHy3Vj/WIkKddlYi yIMv2I/VMjTLpW7pt05SWIZR0RPyxpB4SIUM9lBPGBl0GC7oSEEwRYLe4pJpZY2P0zbI1n+Oc44w qY3PUnmF0ixjVpDD/mJ9wpOBGTVgXlaCaZiPcIWK5NiKBIiPdGaQ0TWGvAiG7nMchdZb7Vgf8zNi MuMyzRdy/lePe9iC4TRx7WhhOQI/QiSVNAmAa2lT/piFbuh7ofJoYSZzrSZ1bvmWw3eN2nKUPVky uPN5/VRfohRd0VYZoqhKIlU6TXYhJxmPUIloAwc1bPmHEpaZYZORHNlXUJM07hATwHR8MJYqkwWR WaIezFhxSFlc8/Fq82hEnpeRozg3ULhhr9lAGtVEkCg5ZNRuuVleBPaZadhG0ZgkyPmDOTOKzViM YgOcpukKqQcbjAWS0IleQ2ROjdh6A+md1qWdBRSX7iSYgFRTtRmBpJioieXJiHfJiMGIR9fJOn8I MSfXYhspn4ooSa2mSAj4n+8Bmg03fBJZoPOJgsVZRxu1oOMRPXYYjdqjihFaEoZpXBREanuJoRI6 cibFinq4ngUKh/wQd/H5ofYCZ0HJXR62opZFaAT0iFIZo4DIiUojkjeqKiuoZirKo5Y1a7AWckGa BkuYoD5lpDK6eUs6CkDqpETwl1EqpfhJpVeKpVl6EgUAADs= --BOUNDARY-- --OUTER--
5,367
95
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/support/testresult.py
'''Test runner and result class for the regression test suite. ''' import functools import io import sys import time import traceback import unittest import xml.etree.ElementTree as ET from datetime import datetime class RegressionTestResult(unittest.TextTestResult): separator1 = '=' * 70 + '\n' separator2 = '-' * 70 + '\n' def __init__(self, stream, descriptions, verbosity): super().__init__(stream=stream, descriptions=descriptions, verbosity=0) self.buffer = True self.__suite = ET.Element('testsuite') self.__suite.set('start', datetime.utcnow().isoformat(' ')) self.__e = None self.__start_time = None self.__results = [] self.__verbose = bool(verbosity) @classmethod def __getId(cls, test): try: test_id = test.id except AttributeError: return str(test) try: return test_id() except TypeError: return str(test_id) return repr(test) def startTest(self, test): super().startTest(test) self.__e = e = ET.SubElement(self.__suite, 'testcase') self.__start_time = time.perf_counter() if self.__verbose: self.stream.write(f'{self.getDescription(test)} ... ') self.stream.flush() def _add_result(self, test, capture=False, **args): e = self.__e self.__e = None if e is None: return e.set('name', args.pop('name', self.__getId(test))) e.set('status', args.pop('status', 'run')) e.set('result', args.pop('result', 'completed')) if self.__start_time: e.set('time', f'{time.perf_counter() - self.__start_time:0.6f}') if capture: if self._stdout_buffer is not None: stdout = self._stdout_buffer.getvalue().rstrip() ET.SubElement(e, 'system-out').text = stdout if self._stderr_buffer is not None: stderr = self._stderr_buffer.getvalue().rstrip() ET.SubElement(e, 'system-err').text = stderr for k, v in args.items(): if not k or not v: continue e2 = ET.SubElement(e, k) if hasattr(v, 'items'): for k2, v2 in v.items(): if k2: e2.set(k2, str(v2)) else: e2.text = str(v2) else: e2.text = str(v) def __write(self, c, word): if self.__verbose: self.stream.write(f'{word}\n') @classmethod def __makeErrorDict(cls, err_type, err_value, err_tb): if isinstance(err_type, type): if err_type.__module__ == 'builtins': typename = err_type.__name__ else: typename = f'{err_type.__module__}.{err_type.__name__}' else: typename = repr(err_type) msg = traceback.format_exception(err_type, err_value, None) tb = traceback.format_exception(err_type, err_value, err_tb) return { 'type': typename, 'message': ''.join(msg), '': ''.join(tb), } def addError(self, test, err): self._add_result(test, True, error=self.__makeErrorDict(*err)) super().addError(test, err) self.__write('E', 'ERROR') def addExpectedFailure(self, test, err): self._add_result(test, True, output=self.__makeErrorDict(*err)) super().addExpectedFailure(test, err) self.__write('x', 'expected failure') def addFailure(self, test, err): self._add_result(test, True, failure=self.__makeErrorDict(*err)) super().addFailure(test, err) self.__write('F', 'FAIL') def addSkip(self, test, reason): self._add_result(test, skipped=reason) super().addSkip(test, reason) self.__write('S', f'skipped {reason!r}') def addSuccess(self, test): self._add_result(test) super().addSuccess(test) self.__write('.', 'ok') def addUnexpectedSuccess(self, test): self._add_result(test, outcome='UNEXPECTED_SUCCESS') super().addUnexpectedSuccess(test) self.__write('u', 'unexpected success') def printErrors(self): if self.__verbose: self.stream.write('\n') self.printErrorList('ERROR', self.errors) self.printErrorList('FAIL', self.failures) def printErrorList(self, flavor, errors): for test, err in errors: self.stream.write(self.separator1) self.stream.write(f'{flavor}: {self.getDescription(test)}\n') self.stream.write(self.separator2) self.stream.write('%s\n' % err) def get_xml_element(self): e = self.__suite e.set('tests', str(self.testsRun)) e.set('errors', str(len(self.errors))) e.set('failures', str(len(self.failures))) return e class QuietRegressionTestRunner: def __init__(self, stream, buffer=False): self.result = RegressionTestResult(stream, None, 0) self.result.buffer = buffer def run(self, test): test(self.result) return self.result def get_test_runner_class(verbosity, buffer=False): if verbosity: return functools.partial(unittest.TextTestRunner, resultclass=RegressionTestResult, buffer=buffer, verbosity=verbosity) return functools.partial(QuietRegressionTestRunner, buffer=buffer) def get_test_runner(stream, verbosity, capture_output=False): return get_test_runner_class(verbosity, capture_output)(stream) if __name__ == '__main__': class TestTests(unittest.TestCase): def test_pass(self): pass def test_pass_slow(self): time.sleep(1.0) def test_fail(self): print('stdout', file=sys.stdout) print('stderr', file=sys.stderr) self.fail('failure message') def test_error(self): print('stdout', file=sys.stdout) print('stderr', file=sys.stderr) raise RuntimeError('error message') suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestTests)) stream = io.StringIO() runner_cls = get_test_runner_class(sum(a == '-v' for a in sys.argv)) runner = runner_cls(sys.stdout) result = runner.run(suite) print('Output:', stream.getvalue()) print('XML: ', end='') for s in ET.tostringlist(result.get_xml_element()): print(s.decode(), end='') print()
6,669
205
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/support/script_helper.py
# Common utility functions used by various script execution tests # e.g. test_cmd_line, test_cmd_line_script and test_runpy import collections import importlib import sys import os import os.path import tempfile import subprocess import py_compile import contextlib import shutil import zipfile from importlib.util import source_from_cache from test.support import make_legacy_pyc, strip_python_stderr # Cached result of the expensive test performed in the function below. __cached_interp_requires_environment = None def interpreter_requires_environment(): """ Returns True if our sys.executable interpreter requires environment variables in order to be able to run at all. This is designed to be used with @unittest.skipIf() to annotate tests that need to use an assert_python*() function to launch an isolated mode (-I) or no environment mode (-E) sub-interpreter process. A normal build & test does not run into this situation but it can happen when trying to run the standard library test suite from an interpreter that doesn't have an obvious home with Python's current home finding logic. Setting PYTHONHOME is one way to get most of the testsuite to run in that situation. PYTHONPATH or PYTHONUSERSITE are other common environment variables that might impact whether or not the interpreter can start. """ global __cached_interp_requires_environment if __cached_interp_requires_environment is None: # If PYTHONHOME is set, assume that we need it if 'PYTHONHOME' in os.environ: __cached_interp_requires_environment = True return True # Try running an interpreter with -E to see if it works or not. try: subprocess.check_call([sys.executable, '-E', '-c', 'import sys; sys.exit(0)']) except subprocess.CalledProcessError: __cached_interp_requires_environment = True else: __cached_interp_requires_environment = False return __cached_interp_requires_environment _PythonRunResult = collections.namedtuple("_PythonRunResult", ("rc", "out", "err")) # Executing the interpreter in a subprocess def run_python_until_end(*args, **env_vars): env_required = interpreter_requires_environment() if '__isolated' in env_vars: isolated = env_vars.pop('__isolated') else: isolated = not env_vars and not env_required cmd_line = [sys.executable, '-X', 'faulthandler'] if isolated: # isolated mode: ignore Python environment variables, ignore user # site-packages, and don't add the current directory to sys.path cmd_line.append('-I') elif not env_vars and not env_required: # ignore Python environment variables cmd_line.append('-E') # But a special flag that can be set to override -- in this case, the # caller is responsible to pass the full environment. if env_vars.pop('__cleanenv', None): env = {} if sys.platform == 'win32': # Windows requires at least the SYSTEMROOT environment variable to # start Python. env['SYSTEMROOT'] = os.environ['SYSTEMROOT'] # Other interesting environment variables, not copied currently: # COMSPEC, HOME, PATH, TEMP, TMPDIR, TMP. else: # Need to preserve the original environment, for in-place testing of # shared library builds. env = os.environ.copy() # set TERM='' unless the TERM environment variable is passed explicitly # see issues #11390 and #18300 if 'TERM' not in env_vars: env['TERM'] = '' env.update(env_vars) cmd_line.extend(args) proc = subprocess.Popen(cmd_line, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) with proc: try: out, err = proc.communicate() finally: proc.kill() subprocess._cleanup() rc = proc.returncode err = strip_python_stderr(err) return _PythonRunResult(rc, out, err), cmd_line def _assert_python(expected_success, *args, **env_vars): res, cmd_line = run_python_until_end(*args, **env_vars) if (res.rc and expected_success) or (not res.rc and not expected_success): # Limit to 80 lines to ASCII characters maxlen = 80 * 100 out, err = res.out, res.err if len(out) > maxlen: out = b'(... truncated stdout ...)' + out[-maxlen:] if len(err) > maxlen: err = b'(... truncated stderr ...)' + err[-maxlen:] out = out.decode('ascii', 'replace').rstrip() err = err.decode('ascii', 'replace').rstrip() raise AssertionError("Process return code is %d\n" "command line: %r\n" "\n" "stdout:\n" "---\n" "%s\n" "---\n" "\n" "stderr:\n" "---\n" "%s\n" "---" % (res.rc, cmd_line, out, err)) return res def assert_python_ok(*args, **env_vars): """ Assert that running the interpreter with `args` and optional environment variables `env_vars` succeeds (rc == 0) and return a (return code, stdout, stderr) tuple. If the __cleanenv keyword is set, env_vars is used as a fresh environment. Python is started in isolated mode (command line option -I), except if the __isolated keyword is set to False. """ return _assert_python(True, *args, **env_vars) def assert_python_failure(*args, **env_vars): """ Assert that running the interpreter with `args` and optional environment variables `env_vars` fails (rc != 0) and return a (return code, stdout, stderr) tuple. See assert_python_ok() for more options. """ return _assert_python(False, *args, **env_vars) def spawn_python(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw): """Run a Python subprocess with the given arguments. kw is extra keyword args to pass to subprocess.Popen. Returns a Popen object. """ cmd_line = [sys.executable] if not interpreter_requires_environment(): cmd_line.append('-E') cmd_line.extend(args) # Under Fedora (?), GNU readline can output junk on stderr when initialized, # depending on the TERM setting. Setting TERM=vt100 is supposed to disable # that. References: # - http://reinout.vanrees.org/weblog/2009/08/14/readline-invisible-character-hack.html # - http://stackoverflow.com/questions/15760712/python-readline-module-prints-escape-character-during-import # - http://lists.gnu.org/archive/html/bug-readline/2007-08/msg00004.html env = kw.setdefault('env', dict(os.environ)) env['TERM'] = 'vt100' return subprocess.Popen(cmd_line, stdin=subprocess.PIPE, stdout=stdout, stderr=stderr, **kw) def kill_python(p): """Run the given Popen process until completion and return stdout.""" p.stdin.close() data = p.stdout.read() p.stdout.close() # try to cleanup the child so we don't appear to leak when running # with regrtest -R. p.wait() subprocess._cleanup() return data def make_script(script_dir, script_basename, source, omit_suffix=False): script_filename = script_basename if not omit_suffix: script_filename += os.extsep + 'py' script_name = os.path.join(script_dir, script_filename) # The script should be encoded to UTF-8, the default string encoding script_file = open(script_name, 'w', encoding='utf-8') script_file.write(source) script_file.close() importlib.invalidate_caches() return script_name def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): zip_filename = zip_basename+os.extsep+'zip' zip_name = os.path.join(zip_dir, zip_filename) zip_file = zipfile.ZipFile(zip_name, 'w') if name_in_zip is None: parts = script_name.split(os.sep) if len(parts) >= 2 and parts[-2] == '__pycache__': legacy_pyc = make_legacy_pyc(source_from_cache(script_name)) name_in_zip = os.path.basename(legacy_pyc) script_name = legacy_pyc else: name_in_zip = os.path.basename(script_name) zip_file.write(script_name, name_in_zip) zip_file.close() #if test.support.verbose: # zip_file = zipfile.ZipFile(zip_name, 'r') # print 'Contents of %r:' % zip_name # zip_file.printdir() # zip_file.close() return zip_name, os.path.join(zip_name, name_in_zip) def make_pkg(pkg_dir, init_source=''): os.mkdir(pkg_dir) make_script(pkg_dir, '__init__', init_source) def make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename, source, depth=1, compiled=False): unlink = [] init_name = make_script(zip_dir, '__init__', '') unlink.append(init_name) init_basename = os.path.basename(init_name) script_name = make_script(zip_dir, script_basename, source) unlink.append(script_name) if compiled: init_name = py_compile.compile(init_name, doraise=True) script_name = py_compile.compile(script_name, doraise=True) unlink.extend((init_name, script_name)) pkg_names = [os.sep.join([pkg_name]*i) for i in range(1, depth+1)] script_name_in_zip = os.path.join(pkg_names[-1], os.path.basename(script_name)) zip_filename = zip_basename+os.extsep+'zip' zip_name = os.path.join(zip_dir, zip_filename) zip_file = zipfile.ZipFile(zip_name, 'w') for name in pkg_names: init_name_in_zip = os.path.join(name, init_basename) zip_file.write(init_name, init_name_in_zip) zip_file.write(script_name, script_name_in_zip) zip_file.close() for name in unlink: os.unlink(name) #if test.support.verbose: # zip_file = zipfile.ZipFile(zip_name, 'r') # print 'Contents of %r:' % zip_name # zip_file.printdir() # zip_file.close() return zip_name, os.path.join(zip_name, script_name_in_zip)
10,438
267
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/support/__init__.py
"""Supporting definitions for the Python regression tests.""" if __name__ != 'test.support': raise ImportError('support must be imported from the test package') import cosmo import collections.abc import contextlib import datetime import errno import faulthandler import fnmatch import functools import gc import importlib import importlib.util import io import logging.handlers import nntplib import os import platform import re import shutil import socket import stat import struct import subprocess import sys import sysconfig import tempfile import time import types import unittest import urllib.error import warnings if __name__ == 'PYOBJ.COM': import resource from .testresult import get_test_runner try: import _thread, threading except ImportError: _thread = None threading = None try: import multiprocessing.process except ImportError: multiprocessing = None try: import zlib except ImportError: zlib = None try: import gzip except ImportError: gzip = None try: import bz2 except ImportError: bz2 = None try: import lzma except ImportError: lzma = None try: import resource except ImportError: resource = None # if __name__ == 'PYOBJ.COM': # import bz2 # import zlib # import resource # import multiprocessing.process __all__ = [ # globals "PIPE_MAX_SIZE", "verbose", "max_memuse", "use_resources", "failfast", # exceptions "Error", "TestFailed", "TestDidNotRun", "ResourceDenied", # imports "import_module", "import_fresh_module", "CleanImport", # modules "unload", "forget", # io "record_original_stdout", "get_original_stdout", "captured_stdout", "captured_stdin", "captured_stderr", # filesystem "TESTFN", "SAVEDCWD", "unlink", "rmtree", "temp_cwd", "findfile", "create_empty_file", "can_symlink", "fs_is_case_insensitive", # unittest "is_resource_enabled", "requires", "requires_freebsd_version", "requires_linux_version", "requires_mac_ver", "check_syntax_error", "TransientResource", "time_out", "socket_peer_reset", "ioerror_peer_reset", "transient_internet", "BasicTestRunner", "run_unittest", "run_doctest", "skip_unless_symlink", "requires_gzip", "requires_bz2", "requires_lzma", "bigmemtest", "bigaddrspacetest", "cpython_only", "get_attribute", "requires_IEEE_754", "skip_unless_xattr", "requires_zlib", "anticipate_failure", "load_package_tests", "detect_api_mismatch", "check__all__", "requires_android_level", "requires_multiprocessing_queue", # sys "is_jython", "is_android", "check_impl_detail", "unix_shell", "setswitchinterval", # network "HOST", "IPV6_ENABLED", "find_unused_port", "bind_port", "open_urlresource", "bind_unix_socket", # processes 'temp_umask', "reap_children", # logging "TestHandler", # threads "threading_setup", "threading_cleanup", "reap_threads", "start_threads", # miscellaneous "check_warnings", "check_no_resource_warning", "EnvironmentVarGuard", "run_with_locale", "swap_item", "swap_attr", "Matcher", "set_memlimit", "SuppressCrashReport", "sortdict", "run_with_tz", "PGO", "missing_compiler_executable", "fd_count", ] class Error(Exception): """Base class for regression test exceptions.""" class TestFailed(Error): """Test failed.""" class TestDidNotRun(Error): """Test did not run any subtests.""" class ResourceDenied(unittest.SkipTest): """Test skipped because it requested a disallowed resource. This is raised when a test calls requires() for a resource that has not be enabled. It is used to distinguish between expected and unexpected skips. """ @contextlib.contextmanager def _ignore_deprecated_imports(ignore=True): """Context manager to suppress package and module deprecation warnings when importing them. If ignore is False, this context manager has no effect. """ if ignore: with warnings.catch_warnings(): warnings.filterwarnings("ignore", ".+ (module|package)", DeprecationWarning) yield else: yield def import_module(name, deprecated=False, *, required_on=()): """Import and return the module to be tested, raising SkipTest if it is not available. If deprecated is True, any module or package deprecation messages will be suppressed. If a module is required on a platform but optional for others, set required_on to an iterable of platform prefixes which will be compared against sys.platform. """ with _ignore_deprecated_imports(deprecated): try: return importlib.import_module(name) except ImportError as msg: if sys.platform.startswith(tuple(required_on)): raise raise unittest.SkipTest(str(msg)) def _save_and_remove_module(name, orig_modules): """Helper function to save and remove a module from sys.modules Raise ImportError if the module can't be imported. """ # try to import the module and raise an error if it can't be imported if name not in sys.modules: __import__(name) del sys.modules[name] for modname in list(sys.modules): if modname == name or modname.startswith(name + '.'): orig_modules[modname] = sys.modules[modname] del sys.modules[modname] def _save_and_block_module(name, orig_modules): """Helper function to save and block a module in sys.modules Return True if the module was in sys.modules, False otherwise. """ saved = True try: orig_modules[name] = sys.modules[name] except KeyError: saved = False sys.modules[name] = None return saved def anticipate_failure(condition): """Decorator to mark a test that is known to be broken in some cases Any use of this decorator should have a comment identifying the associated tracker issue. """ if condition: return unittest.expectedFailure return lambda f: f def load_package_tests(pkg_dir, loader, standard_tests, pattern): """Generic load_tests implementation for simple test packages. Most packages can implement load_tests using this function as follows: def load_tests(*args): return load_package_tests(os.path.dirname(__file__), *args) """ if pattern is None: pattern = "test*" top_dir = os.path.dirname( # Lib os.path.dirname( # test os.path.dirname(__file__))) # support package_tests = loader.discover(start_dir=pkg_dir, top_level_dir=top_dir, pattern=pattern) standard_tests.addTests(package_tests) return standard_tests def import_fresh_module(name, fresh=(), blocked=(), deprecated=False): """Import and return a module, deliberately bypassing sys.modules. This function imports and returns a fresh copy of the named Python module by removing the named module from sys.modules before doing the import. Note that unlike reload, the original module is not affected by this operation. *fresh* is an iterable of additional module names that are also removed from the sys.modules cache before doing the import. *blocked* is an iterable of module names that are replaced with None in the module cache during the import to ensure that attempts to import them raise ImportError. The named module and any modules named in the *fresh* and *blocked* parameters are saved before starting the import and then reinserted into sys.modules when the fresh import is complete. Module and package deprecation messages are suppressed during this import if *deprecated* is True. This function will raise ImportError if the named module cannot be imported. """ # NOTE: test_heapq, test_json and test_warnings include extra sanity checks # to make sure that this utility function is working as expected with _ignore_deprecated_imports(deprecated): # Keep track of modules saved for later restoration as well # as those which just need a blocking entry removed orig_modules = {} names_to_remove = [] _save_and_remove_module(name, orig_modules) try: for fresh_name in fresh: _save_and_remove_module(fresh_name, orig_modules) for blocked_name in blocked: if not _save_and_block_module(blocked_name, orig_modules): names_to_remove.append(blocked_name) fresh_module = importlib.import_module(name) except ImportError: fresh_module = None finally: for orig_name, module in orig_modules.items(): sys.modules[orig_name] = module for name_to_remove in names_to_remove: del sys.modules[name_to_remove] return fresh_module def get_attribute(obj, name): """Get an attribute, raising SkipTest if AttributeError is raised.""" try: attribute = getattr(obj, name) except AttributeError: raise unittest.SkipTest("object %r has no attribute %r" % (obj, name)) else: return attribute verbose = 1 # Flag set to 0 by regrtest.py use_resources = None # Flag set to [] by regrtest.py max_memuse = 0 # Disable bigmem tests (they will still be run with # small sizes, to make sure they work.) real_max_memuse = 0 junit_xml_list = None # list of testsuite XML elements failfast = False # _original_stdout is meant to hold stdout at the time regrtest began. # This may be "the real" stdout, or IDLE's emulation of stdout, or whatever. # The point is to have some flavor of stdout the user can actually see. _original_stdout = None def record_original_stdout(stdout): global _original_stdout _original_stdout = stdout def get_original_stdout(): return _original_stdout or sys.stdout def unload(name): try: del sys.modules[name] except KeyError: pass def _force_run(path, func, *args): try: return func(*args) except OSError as err: if verbose >= 2: print('%s: %s' % (err.__class__.__name__, err)) print('re-run %s%r' % (func.__name__, args)) os.chmod(path, stat.S_IRWXU) return func(*args) if sys.platform.startswith("win"): def _waitfor(func, pathname, waitall=False): # Perform the operation func(pathname) # Now setup the wait loop if waitall: dirname = pathname else: dirname, name = os.path.split(pathname) dirname = dirname or '.' # Check for `pathname` to be removed from the filesystem. # The exponential backoff of the timeout amounts to a total # of ~1 second after which the deletion is probably an error # anyway. # Testing on an [email protected] shows that usually only 1 iteration is # required when contention occurs. timeout = 0.001 while timeout < 1.0: # Note we are only testing for the existence of the file(s) in # the contents of the directory regardless of any security or # access rights. If we have made it this far, we have sufficient # permissions to do that much using Python's equivalent of the # Windows API FindFirstFile. # Other Windows APIs can fail or give incorrect results when # dealing with files that are pending deletion. L = os.listdir(dirname) if not (L if waitall else name in L): return # Increase the timeout and try again time.sleep(timeout) timeout *= 2 warnings.warn('tests may fail, delete still pending for ' + pathname, RuntimeWarning, stacklevel=4) def _unlink(filename): _waitfor(os.unlink, filename) def _rmdir(dirname): _waitfor(os.rmdir, dirname) def _rmtree(path): def _rmtree_inner(path): for name in _force_run(path, os.listdir, path): fullname = os.path.join(path, name) try: mode = os.lstat(fullname).st_mode except OSError as exc: print("support.rmtree(): os.lstat(%r) failed with %s" % (fullname, exc), file=sys.__stderr__) mode = 0 if stat.S_ISDIR(mode): _waitfor(_rmtree_inner, fullname, waitall=True) _force_run(fullname, os.rmdir, fullname) else: _force_run(fullname, os.unlink, fullname) _waitfor(_rmtree_inner, path, waitall=True) _waitfor(lambda p: _force_run(p, os.rmdir, p), path) def _longpath(path): try: import ctypes except ImportError: # No ctypes means we can't expands paths. pass else: buffer = ctypes.create_unicode_buffer(len(path) * 2) length = ctypes.windll.kernel32.GetLongPathNameW(path, buffer, len(buffer)) if length: return buffer[:length] return path else: _unlink = os.unlink _rmdir = os.rmdir def _rmtree(path): try: shutil.rmtree(path) return except OSError: pass def _rmtree_inner(path): for name in _force_run(path, os.listdir, path): fullname = os.path.join(path, name) try: mode = os.lstat(fullname).st_mode except OSError: mode = 0 if stat.S_ISDIR(mode): _rmtree_inner(fullname) _force_run(path, os.rmdir, fullname) else: _force_run(path, os.unlink, fullname) _rmtree_inner(path) os.rmdir(path) def _longpath(path): return path def unlink(filename): try: _unlink(filename) except (FileNotFoundError, NotADirectoryError): pass def rmdir(dirname): try: _rmdir(dirname) except FileNotFoundError: pass def rmtree(path): try: _rmtree(path) except FileNotFoundError: pass def make_legacy_pyc(source): """Move a PEP 3147/488 pyc file to its legacy pyc location. :param source: The file system path to the source file. The source file does not need to exist, however the PEP 3147/488 pyc file must exist. :return: The file system path to the legacy pyc file. """ pyc_file = importlib.util.cache_from_source(source) up_one = os.path.dirname(os.path.abspath(source)) legacy_pyc = os.path.join(up_one, source + 'c') os.rename(pyc_file, legacy_pyc) return legacy_pyc def forget(modname): """'Forget' a module was ever imported. This removes the module from sys.modules and deletes any PEP 3147/488 or legacy .pyc files. """ unload(modname) for dirname in sys.path: source = os.path.join(dirname, modname + '.py') # It doesn't matter if they exist or not, unlink all possible # combinations of PEP 3147/488 and legacy pyc files. unlink(source + 'c') for opt in ('', 1, 2): unlink(importlib.util.cache_from_source(source, optimization=opt)) # Check whether a gui is actually available def _is_gui_available(): if hasattr(_is_gui_available, 'result'): return _is_gui_available.result reason = None if sys.platform.startswith('win'): # if Python is running as a service (such as the buildbot service), # gui interaction may be disallowed # import ctypes # import ctypes.wintypes UOI_FLAGS = 1 WSF_VISIBLE = 0x0001 class USEROBJECTFLAGS(ctypes.Structure): _fields_ = [("fInherit", ctypes.wintypes.BOOL), ("fReserved", ctypes.wintypes.BOOL), ("dwFlags", ctypes.wintypes.DWORD)] dll = ctypes.windll.user32 h = dll.GetProcessWindowStation() if not h: raise ctypes.WinError() uof = USEROBJECTFLAGS() needed = ctypes.wintypes.DWORD() res = dll.GetUserObjectInformationW(h, UOI_FLAGS, ctypes.byref(uof), ctypes.sizeof(uof), ctypes.byref(needed)) if not res: raise ctypes.WinError() if not bool(uof.dwFlags & WSF_VISIBLE): reason = "gui not available (WSF_VISIBLE flag not set)" elif sys.platform == 'darwin': # The Aqua Tk implementations on OS X can abort the process if # being called in an environment where a window server connection # cannot be made, for instance when invoked by a buildbot or ssh # process not running under the same user id as the current console # user. To avoid that, raise an exception if the window manager # connection is not available. # from ctypes import cdll, c_int, pointer, Structure # from ctypes.util import find_library app_services = cdll.LoadLibrary(find_library("ApplicationServices")) if app_services.CGMainDisplayID() == 0: reason = "gui tests cannot run without OS X window manager" else: class ProcessSerialNumber(Structure): _fields_ = [("highLongOfPSN", c_int), ("lowLongOfPSN", c_int)] psn = ProcessSerialNumber() psn_p = pointer(psn) if ( (app_services.GetCurrentProcess(psn_p) < 0) or (app_services.SetFrontProcess(psn_p) < 0) ): reason = "cannot run without OS X gui process" # check on every platform whether tkinter can actually do anything if not reason: try: from tkinter import Tk root = Tk() root.withdraw() root.update() root.destroy() except Exception as e: err_string = str(e) if len(err_string) > 50: err_string = err_string[:50] + ' [...]' reason = 'Tk unavailable due to {}: {}'.format(type(e).__name__, err_string) _is_gui_available.reason = reason _is_gui_available.result = not reason return _is_gui_available.result def is_resource_enabled(resource): """Test whether a resource is enabled. Known resources are set by regrtest.py. If not running under regrtest.py, all resources are assumed enabled unless use_resources has been set. """ return use_resources is None or resource in use_resources def requires(resource, msg=None): """Raise ResourceDenied if the specified resource is not available.""" if not is_resource_enabled(resource): if msg is None: msg = "Use of the %r resource not enabled" % resource raise ResourceDenied(msg) if resource == 'gui' and not _is_gui_available(): raise ResourceDenied(_is_gui_available.reason) def _requires_unix_version(sysname, min_version): """Decorator raising SkipTest if the OS is `sysname` and the version is less than `min_version`. For example, @_requires_unix_version('FreeBSD', (7, 2)) raises SkipTest if the FreeBSD version is less than 7.2. """ def decorator(func): @functools.wraps(func) def wrapper(*args, **kw): if platform.system() == sysname: version_txt = platform.release().split('-', 1)[0] try: version = tuple(map(int, version_txt.split('.'))) except ValueError: pass else: if version < min_version: min_version_txt = '.'.join(map(str, min_version)) raise unittest.SkipTest( "%s version %s or higher required, not %s" % (sysname, min_version_txt, version_txt)) return func(*args, **kw) wrapper.min_version = min_version return wrapper return decorator def requires_freebsd_version(*min_version): """Decorator raising SkipTest if the OS is FreeBSD and the FreeBSD version is less than `min_version`. For example, @requires_freebsd_version(7, 2) raises SkipTest if the FreeBSD version is less than 7.2. """ return _requires_unix_version('FreeBSD', min_version) def requires_linux_version(*min_version): """Decorator raising SkipTest if the OS is Linux and the Linux version is less than `min_version`. For example, @requires_linux_version(2, 6, 32) raises SkipTest if the Linux version is less than 2.6.32. """ return _requires_unix_version('Linux', min_version) def requires_mac_ver(*min_version): """Decorator raising SkipTest if the OS is Mac OS X and the OS X version if less than min_version. For example, @requires_mac_ver(10, 5) raises SkipTest if the OS X version is lesser than 10.5. """ def decorator(func): @functools.wraps(func) def wrapper(*args, **kw): if sys.platform == 'darwin': version_txt = platform.mac_ver()[0] try: version = tuple(map(int, version_txt.split('.'))) except ValueError: pass else: if version < min_version: min_version_txt = '.'.join(map(str, min_version)) raise unittest.SkipTest( "Mac OS X %s or higher required, not %s" % (min_version_txt, version_txt)) return func(*args, **kw) wrapper.min_version = min_version return wrapper return decorator # Don't use "localhost", since resolving it uses the DNS under recent # Windows versions (see issue #18792). HOST = "127.0.0.1" HOSTv6 = "::1" def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): """Returns an unused port that should be suitable for binding. This is achieved by creating a temporary socket with the same family and type as the 'sock' parameter (default is AF_INET, SOCK_STREAM), and binding it to the specified host address (defaults to 0.0.0.0) with the port set to 0, eliciting an unused ephemeral port from the OS. The temporary socket is then closed and deleted, and the ephemeral port is returned. Either this method or bind_port() should be used for any tests where a server socket needs to be bound to a particular port for the duration of the test. Which one to use depends on whether the calling code is creating a python socket, or if an unused port needs to be provided in a constructor or passed to an external program (i.e. the -accept argument to openssl's s_server mode). Always prefer bind_port() over find_unused_port() where possible. Hard coded ports should *NEVER* be used. As soon as a server socket is bound to a hard coded port, the ability to run multiple instances of the test simultaneously on the same host is compromised, which makes the test a ticking time bomb in a buildbot environment. On Unix buildbots, this may simply manifest as a failed test, which can be recovered from without intervention in most cases, but on Windows, the entire python process can completely and utterly wedge, requiring someone to log in to the buildbot and manually kill the affected process. (This is easy to reproduce on Windows, unfortunately, and can be traced to the SO_REUSEADDR socket option having different semantics on Windows versus Unix/Linux. On Unix, you can't have two AF_INET SOCK_STREAM sockets bind, listen and then accept connections on identical host/ports. An EADDRINUSE OSError will be raised at some point (depending on the platform and the order bind and listen were called on each socket). However, on Windows, if SO_REUSEADDR is set on the sockets, no EADDRINUSE will ever be raised when attempting to bind two identical host/ports. When accept() is called on each socket, the second caller's process will steal the port from the first caller, leaving them both in an awkwardly wedged state where they'll no longer respond to any signals or graceful kills, and must be forcibly killed via OpenProcess()/TerminateProcess(). The solution on Windows is to use the SO_EXCLUSIVEADDRUSE socket option instead of SO_REUSEADDR, which effectively affords the same semantics as SO_REUSEADDR on Unix. Given the propensity of Unix developers in the Open Source world compared to Windows ones, this is a common mistake. A quick look over OpenSSL's 0.9.8g source shows that they use SO_REUSEADDR when openssl.exe is called with the 's_server' option, for example. See http://bugs.python.org/issue2550 for more info. The following site also has a very thorough description about the implications of both REUSEADDR and EXCLUSIVEADDRUSE on Windows: http://msdn2.microsoft.com/en-us/library/ms740621(VS.85).aspx) XXX: although this approach is a vast improvement on previous attempts to elicit unused ports, it rests heavily on the assumption that the ephemeral port returned to us by the OS won't immediately be dished back out to some other process when we close and delete our temporary socket but before our calling code has a chance to bind the returned port. We can deal with this issue if/when we come across it. """ tempsock = socket.socket(family, socktype) port = bind_port(tempsock) tempsock.close() del tempsock return port def bind_port(sock, host=HOST): """Bind the socket to a free port and return the port number. Relies on ephemeral ports in order to ensure we are using an unbound port. This is important as many tests may be running simultaneously, especially in a buildbot environment. This method raises an exception if the sock.family is AF_INET and sock.type is SOCK_STREAM, *and* the socket has SO_REUSEADDR or SO_REUSEPORT set on it. Tests should *never* set these socket options for TCP/IP sockets. The only case for setting these options is testing multicasting via multiple UDP sockets. Additionally, if the SO_EXCLUSIVEADDRUSE socket option is available (i.e. on Windows), it will be set on the socket. This will prevent anyone else from bind()'ing to our host/port for the duration of the test. """ if sock.family == socket.AF_INET and sock.type == socket.SOCK_STREAM: if hasattr(socket, 'SO_REUSEADDR'): if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR) == 1: raise TestFailed("tests should never set the SO_REUSEADDR " \ "socket option on TCP/IP sockets!") if hasattr(socket, 'SO_REUSEPORT'): try: if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1: raise TestFailed("tests should never set the SO_REUSEPORT " \ "socket option on TCP/IP sockets!") except OSError: # Python's socket module was compiled using modern headers # thus defining SO_REUSEPORT but this process is running # under an older kernel that does not support SO_REUSEPORT. pass if hasattr(socket, 'SO_EXCLUSIVEADDRUSE'): sock.setsockopt(socket.SOL_SOCKET, socket.SO_EXCLUSIVEADDRUSE, 1) sock.bind((host, 0)) port = sock.getsockname()[1] return port def bind_unix_socket(sock, addr): """Bind a unix socket, raising SkipTest if PermissionError is raised.""" assert sock.family == socket.AF_UNIX try: sock.bind(addr) except PermissionError: sock.close() raise unittest.SkipTest('cannot bind AF_UNIX sockets') def _is_ipv6_enabled(): """Check whether IPv6 is enabled on this host.""" if socket.has_ipv6: sock = None try: sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) sock.bind((HOSTv6, 0)) return True except OSError: pass finally: if sock: sock.close() return False IPV6_ENABLED = _is_ipv6_enabled() def system_must_validate_cert(f): """Skip the test on TLS certificate validation failures.""" @functools.wraps(f) def dec(*args, **kwargs): try: f(*args, **kwargs) except IOError as e: if "CERTIFICATE_VERIFY_FAILED" in str(e): raise unittest.SkipTest("system does not contain " "necessary certificates") raise return dec # A constant likely larger than the underlying OS pipe buffer size, to # make writes blocking. # Windows limit seems to be around 512 B, and many Unix kernels have a # 64 KiB pipe buffer size or 16 * PAGE_SIZE: take a few megs to be sure. # (see issue #17835 for a discussion of this number). PIPE_MAX_SIZE = 4 * 1024 * 1024 + 1 # A constant likely larger than the underlying OS socket buffer size, to make # writes blocking. # The socket buffer sizes can usually be tuned system-wide (e.g. through sysctl # on Linux), or on a per-socket basis (SO_SNDBUF/SO_RCVBUF). See issue #18643 # for a discussion of this number). SOCK_MAX_SIZE = 16 * 1024 * 1024 + 1 # decorator for skipping tests on non-IEEE 754 platforms requires_IEEE_754 = unittest.skipUnless( float.__getformat__("double").startswith("IEEE"), "test requires IEEE 754 doubles") requires_zlib = unittest.skipUnless(zlib, 'requires zlib') requires_gzip = unittest.skipUnless(gzip, 'requires gzip') requires_bz2 = unittest.skipUnless(bz2, 'requires bz2') requires_lzma = unittest.skipUnless(lzma, 'requires lzma') is_jython = sys.platform.startswith('java') _ANDROID_API_LEVEL = sysconfig.get_config_var('ANDROID_API_LEVEL') is_android = (_ANDROID_API_LEVEL is not None and _ANDROID_API_LEVEL > 0) if sys.platform != 'win32': unix_shell = '/system/bin/sh' if is_android else '/bin/sh' else: unix_shell = None # Filename used for testing (wut) if sys.platform == 'cosmo': TESTFN = os.path.join(os.getenv('TMPDIR', '/tmp'), 'wut') elif os.name == 'java': # Jython disallows @ in module names TESTFN = '$test' else: TESTFN = '@test' # Disambiguate TESTFN for parallel testing, while letting it remain a valid # module name. TESTFN = "{}_{}_tmp".format(TESTFN, os.getpid()) # FS_NONASCII: non-ASCII character encodable by os.fsencode(), # or None if there is no such character. FS_NONASCII = None for character in ( # First try printable and common characters to have a readable filename. # For each character, the encoding list are just example of encodings able # to encode the character (the list is not exhaustive). # U+00E6 (Latin Small Letter Ae): cp1252, iso-8859-1 '\u00E6', # U+0130 (Latin Capital Letter I With Dot Above): cp1254, iso8859_3 '\u0130', # U+0141 (Latin Capital Letter L With Stroke): cp1250, cp1257 '\u0141', # U+03C6 (Greek Small Letter Phi): cp1253 '\u03C6', # U+041A (Cyrillic Capital Letter Ka): cp1251 '\u041A', # U+05D0 (Hebrew Letter Alef): Encodable to cp424 '\u05D0', # U+060C (Arabic Comma): cp864, cp1006, iso8859_6, mac_arabic '\u060C', # U+062A (Arabic Letter Teh): cp720 '\u062A', # U+0E01 (Thai Character Ko Kai): cp874 '\u0E01', # Then try more "special" characters. "special" because they may be # interpreted or displayed differently depending on the exact locale # encoding and the font. # U+00A0 (No-Break Space) '\u00A0', # U+20AC (Euro Sign) '\u20AC', ): try: # If Python is set up to use the legacy 'mbcs' in Windows, # 'replace' error mode is used, and encode() returns b'?' # for characters missing in the ANSI codepage if os.fsdecode(os.fsencode(character)) != character: raise UnicodeError except UnicodeError: pass else: FS_NONASCII = character break # TESTFN_UNICODE is a non-ascii filename TESTFN_UNICODE = TESTFN + "-\xe0\xf2\u0258\u0141\u011f" if sys.platform == 'darwin': # In Mac OS X's VFS API file names are, by definition, canonically # decomposed Unicode, encoded using UTF-8. See QA1173: # http://developer.apple.com/mac/library/qa/qa2001/qa1173.html try: import unicodedata except ImportError: pass TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE) TESTFN_ENCODING = sys.getfilesystemencoding() # TESTFN_UNENCODABLE is a filename (str type) that should *not* be able to be # encoded by the filesystem encoding (in strict mode). It can be None if we # cannot generate such filename. TESTFN_UNENCODABLE = None if os.name == 'nt': # skip win32s (0) or Windows 9x/ME (1) if sys.getwindowsversion().platform >= 2: # Different kinds of characters from various languages to minimize the # probability that the whole name is encodable to MBCS (issue #9819) TESTFN_UNENCODABLE = TESTFN + "-\u5171\u0141\u2661\u0363\uDC80" try: TESTFN_UNENCODABLE.encode(TESTFN_ENCODING) except UnicodeEncodeError: pass else: print('WARNING: The filename %r CAN be encoded by the filesystem encoding (%s). ' 'Unicode filename tests may not be effective' % (TESTFN_UNENCODABLE, TESTFN_ENCODING)) TESTFN_UNENCODABLE = None # Mac OS X denies unencodable filenames (invalid utf-8) elif sys.platform != 'darwin': try: # ascii and utf-8 cannot encode the byte 0xff b'\xff'.decode(TESTFN_ENCODING) except UnicodeDecodeError: # 0xff will be encoded using the surrogate character u+DCFF TESTFN_UNENCODABLE = TESTFN \ + b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape') else: # File system encoding (eg. ISO-8859-* encodings) can encode # the byte 0xff. Skip some unicode filename tests. pass # TESTFN_UNDECODABLE is a filename (bytes type) that should *not* be able to be # decoded from the filesystem encoding (in strict mode). It can be None if we # cannot generate such filename (ex: the latin1 encoding can decode any byte # sequence). On UNIX, TESTFN_UNDECODABLE can be decoded by os.fsdecode() thanks # to the surrogateescape error handler (PEP 383), but not from the filesystem # encoding in strict mode. TESTFN_UNDECODABLE = None for name in ( # b'\xff' is not decodable by os.fsdecode() with code page 932. Windows # accepts it to create a file or a directory, or don't accept to enter to # such directory (when the bytes name is used). So test b'\xe7' first: it is # not decodable from cp932. b'\xe7w\xf0', # undecodable from ASCII, UTF-8 b'\xff', # undecodable from iso8859-3, iso8859-6, iso8859-7, cp424, iso8859-8, cp856 # and cp857 b'\xae\xd5' # undecodable from UTF-8 (UNIX and Mac OS X) b'\xed\xb2\x80', b'\xed\xb4\x80', # undecodable from shift_jis, cp869, cp874, cp932, cp1250, cp1251, cp1252, # cp1253, cp1254, cp1255, cp1257, cp1258 b'\x81\x98', ): try: name.decode(TESTFN_ENCODING) except UnicodeDecodeError: TESTFN_UNDECODABLE = os.fsencode(TESTFN) + name break if FS_NONASCII: TESTFN_NONASCII = TESTFN + '-' + FS_NONASCII else: TESTFN_NONASCII = None # Save the initial cwd SAVEDCWD = os.getcwd() # Set by libregrtest/main.py so we can skip tests that are not # useful for PGO PGO = False @contextlib.contextmanager def temp_dir(path=None, quiet=False): """Return a context manager that creates a temporary directory. Arguments: path: the directory to create temporarily. If omitted or None, defaults to creating a temporary directory using tempfile.mkdtemp. quiet: if False (the default), the context manager raises an exception on error. Otherwise, if the path is specified and cannot be created, only a warning is issued. """ dir_created = False if path is None: path = tempfile.mkdtemp() dir_created = True path = os.path.realpath(path) else: try: os.mkdir(path) dir_created = True except OSError: if not quiet: raise warnings.warn('tests may fail, unable to create temp dir: ' + path, RuntimeWarning, stacklevel=3) if dir_created: pid = os.getpid() try: yield path finally: # In case the process forks, let only the parent remove the # directory. The child has a diffent process id. (bpo-30028) if dir_created and pid == os.getpid(): rmtree(path) @contextlib.contextmanager def change_cwd(path, quiet=False): """Return a context manager that changes the current working directory. Arguments: path: the directory to use as the temporary current working directory. quiet: if False (the default), the context manager raises an exception on error. Otherwise, it issues only a warning and keeps the current working directory the same. """ saved_dir = os.getcwd() try: os.chdir(path) except OSError: if not quiet: raise warnings.warn('tests may fail, unable to change CWD to: ' + path, RuntimeWarning, stacklevel=3) try: yield os.getcwd() finally: os.chdir(saved_dir) @contextlib.contextmanager def temp_cwd(name='tempcwd', quiet=False): """ Context manager that temporarily creates and changes the CWD. The function temporarily changes the current working directory after creating a temporary directory in the current directory with name *name*. If *name* is None, the temporary directory is created using tempfile.mkdtemp. If *quiet* is False (default) and it is not possible to create or change the CWD, an error is raised. If *quiet* is True, only a warning is raised and the original CWD is used. """ with temp_dir(quiet=quiet) as temp_path: with change_cwd(temp_path, quiet=quiet) as cwd_dir: yield cwd_dir if hasattr(os, "umask"): @contextlib.contextmanager def temp_umask(umask): """Context manager that temporarily sets the process umask.""" oldmask = os.umask(umask) try: yield finally: os.umask(oldmask) # TEST_HOME_DIR refers to the top level directory of the "test" package # that contains Python's regression test suite TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__)) TEST_HOME_DIR = os.path.dirname(TEST_SUPPORT_DIR) # TEST_DATA_DIR is used as a target download location for remote resources TEST_DATA_DIR = os.path.join(TEST_HOME_DIR, "data") def findfile(filename, subdir=None): """Try to find a file on sys.path or in the test directory. If it is not found the argument passed to the function is returned (this does not necessarily signal failure; could still be the legitimate path). Setting *subdir* indicates a relative path to use to find the file rather than looking directly in the path directories. """ if os.path.isabs(filename): return filename if subdir is not None: filename = os.path.join(subdir, filename) path = [TEST_HOME_DIR] + sys.path for dn in path: fn = os.path.join(dn, filename) if os.path.exists(fn): return fn return filename def create_empty_file(filename): """Create an empty file. If the file already exists, truncate it.""" fd = os.open(filename, os.O_WRONLY | os.O_CREAT | os.O_TRUNC) os.close(fd) def sortdict(dict): "Like repr(dict), but in sorted order." items = sorted(dict.items()) reprpairs = ["%r: %r" % pair for pair in items] withcommas = ", ".join(reprpairs) return "{%s}" % withcommas def make_bad_fd(): """ Create an invalid file descriptor by opening and closing a file and return its fd. """ file = open(TESTFN, "wb") try: return file.fileno() finally: file.close() unlink(TESTFN) def check_syntax_error(testcase, statement, *, lineno=None, offset=None): with testcase.assertRaises(SyntaxError) as cm: compile(statement, '<test string>', 'exec') err = cm.exception testcase.assertIsNotNone(err.lineno) if lineno is not None: testcase.assertEqual(err.lineno, lineno) testcase.assertIsNotNone(err.offset) if offset is not None: testcase.assertEqual(err.offset, offset) def open_urlresource(url, *args, **kw): import urllib.request, urllib.parse check = kw.pop('check', None) filename = urllib.parse.urlparse(url)[2].split('/')[-1] # '/': it's URL! fn = os.path.join(TEST_DATA_DIR, filename) def check_valid_file(fn): f = open(fn, *args, **kw) if check is None: return f elif check(f): f.seek(0) return f f.close() if os.path.exists(fn): f = check_valid_file(fn) if f is not None: return f unlink(fn) # Verify the requirement before downloading the file requires('urlfetch') if verbose: print('\tfetching %s ...' % url, file=get_original_stdout()) opener = urllib.request.build_opener() if gzip: opener.addheaders.append(('Accept-Encoding', 'gzip')) f = opener.open(url, timeout=15) if gzip and f.headers.get('Content-Encoding') == 'gzip': f = gzip.GzipFile(fileobj=f) try: with open(fn, "wb") as out: s = f.read() while s: out.write(s) s = f.read() finally: f.close() f = check_valid_file(fn) if f is not None: return f raise TestFailed('invalid resource %r' % fn) class WarningsRecorder(object): """Convenience wrapper for the warnings list returned on entry to the warnings.catch_warnings() context manager. """ def __init__(self, warnings_list): self._warnings = warnings_list self._last = 0 def __getattr__(self, attr): if len(self._warnings) > self._last: return getattr(self._warnings[-1], attr) elif attr in warnings.WarningMessage._WARNING_DETAILS: return None raise AttributeError("%r has no attribute %r" % (self, attr)) @property def warnings(self): return self._warnings[self._last:] def reset(self): self._last = len(self._warnings) def _filterwarnings(filters, quiet=False): """Catch the warnings, then check if all the expected warnings have been raised and re-raise unexpected warnings. If 'quiet' is True, only re-raise the unexpected warnings. """ # Clear the warning registry of the calling module # in order to re-raise the warnings. frame = sys._getframe(2) registry = frame.f_globals.get('__warningregistry__') if registry: registry.clear() with warnings.catch_warnings(record=True) as w: # Set filter "always" to record all warnings. Because # test_warnings swap the module, we need to look up in # the sys.modules dictionary. sys.modules['warnings'].simplefilter("always") yield WarningsRecorder(w) # Filter the recorded warnings reraise = list(w) missing = [] for msg, cat in filters: seen = False for w in reraise[:]: warning = w.message # Filter out the matching messages if (re.match(msg, str(warning), re.I) and issubclass(warning.__class__, cat)): seen = True reraise.remove(w) if not seen and not quiet: # This filter caught nothing missing.append((msg, cat.__name__)) if reraise: raise AssertionError("unhandled warning %s" % reraise[0]) if missing: raise AssertionError("filter (%r, %s) did not catch any warning" % missing[0]) @contextlib.contextmanager def check_warnings(*filters, **kwargs): """Context manager to silence warnings. Accept 2-tuples as positional arguments: ("message regexp", WarningCategory) Optional argument: - if 'quiet' is True, it does not fail if a filter catches nothing (default True without argument, default False if some filters are defined) Without argument, it defaults to: check_warnings(("", Warning), quiet=True) """ quiet = kwargs.get('quiet') if not filters: filters = (("", Warning),) # Preserve backward compatibility if quiet is None: quiet = True return _filterwarnings(filters, quiet) @contextlib.contextmanager def check_no_resource_warning(testcase): """Context manager to check that no ResourceWarning is emitted. Usage: with check_no_resource_warning(self): f = open(...) ... del f You must remove the object which may emit ResourceWarning before the end of the context manager. """ with warnings.catch_warnings(record=True) as warns: warnings.filterwarnings('always', category=ResourceWarning) yield gc_collect() testcase.assertEqual(warns, []) class CleanImport(object): """Context manager to force import to return a new module reference. This is useful for testing module-level behaviours, such as the emission of a DeprecationWarning on import. Use like this: with CleanImport("foo"): importlib.import_module("foo") # new reference """ def __init__(self, *module_names): self.original_modules = sys.modules.copy() for module_name in module_names: if module_name in sys.modules: module = sys.modules[module_name] # It is possible that module_name is just an alias for # another module (e.g. stub for modules renamed in 3.x). # In that case, we also need delete the real module to clear # the import cache. if module.__name__ != module_name: del sys.modules[module.__name__] del sys.modules[module_name] def __enter__(self): return self def __exit__(self, *ignore_exc): sys.modules.update(self.original_modules) class EnvironmentVarGuard(collections.abc.MutableMapping): """Class to help protect the environment variable properly. Can be used as a context manager.""" def __init__(self): self._environ = os.environ self._changed = {} def __getitem__(self, envvar): return self._environ[envvar] def __setitem__(self, envvar, value): # Remember the initial value on the first access if envvar not in self._changed: self._changed[envvar] = self._environ.get(envvar) self._environ[envvar] = value def __delitem__(self, envvar): # Remember the initial value on the first access if envvar not in self._changed: self._changed[envvar] = self._environ.get(envvar) if envvar in self._environ: del self._environ[envvar] def keys(self): return self._environ.keys() def __iter__(self): return iter(self._environ) def __len__(self): return len(self._environ) def set(self, envvar, value): self[envvar] = value def unset(self, envvar): del self[envvar] def __enter__(self): return self def __exit__(self, *ignore_exc): for (k, v) in self._changed.items(): if v is None: if k in self._environ: del self._environ[k] else: self._environ[k] = v os.environ = self._environ class DirsOnSysPath(object): """Context manager to temporarily add directories to sys.path. This makes a copy of sys.path, appends any directories given as positional arguments, then reverts sys.path to the copied settings when the context ends. Note that *all* sys.path modifications in the body of the context manager, including replacement of the object, will be reverted at the end of the block. """ def __init__(self, *paths): self.original_value = sys.path[:] self.original_object = sys.path sys.path.extend(paths) def __enter__(self): return self def __exit__(self, *ignore_exc): sys.path = self.original_object sys.path[:] = self.original_value class TransientResource(object): """Raise ResourceDenied if an exception is raised while the context manager is in effect that matches the specified exception and attributes.""" def __init__(self, exc, **kwargs): self.exc = exc self.attrs = kwargs def __enter__(self): return self def __exit__(self, type_=None, value=None, traceback=None): """If type_ is a subclass of self.exc and value has attributes matching self.attrs, raise ResourceDenied. Otherwise let the exception propagate (if any).""" if type_ is not None and issubclass(self.exc, type_): for attr, attr_value in self.attrs.items(): if not hasattr(value, attr): break if getattr(value, attr) != attr_value: break else: raise ResourceDenied("an optional resource is not available") # Context managers that raise ResourceDenied when various issues # with the Internet connection manifest themselves as exceptions. # XXX deprecate these and use transient_internet() instead time_out = TransientResource(OSError, errno=errno.ETIMEDOUT) socket_peer_reset = TransientResource(OSError, errno=errno.ECONNRESET) ioerror_peer_reset = TransientResource(OSError, errno=errno.ECONNRESET) @contextlib.contextmanager def transient_internet(resource_name, *, timeout=30.0, errnos=()): """Return a context manager that raises ResourceDenied when various issues with the Internet connection manifest themselves as exceptions.""" default_errnos = [ ('ECONNREFUSED', 111), ('ECONNRESET', 104), ('EHOSTUNREACH', 113), ('ENETUNREACH', 101), ('ETIMEDOUT', 110), # socket.create_connection() fails randomly with # EADDRNOTAVAIL on Travis CI. ('EADDRNOTAVAIL', 99), ] default_gai_errnos = [ ('EAI_AGAIN', -3), ('EAI_FAIL', -4), ('EAI_NONAME', -2), ('EAI_NODATA', -5), # Encountered when trying to resolve IPv6-only hostnames ('WSANO_DATA', 11004), ] denied = ResourceDenied("Resource %r is not available" % resource_name) captured_errnos = errnos gai_errnos = [] if not captured_errnos: captured_errnos = [getattr(errno, name, num) for (name, num) in default_errnos] gai_errnos = [getattr(socket, name, num) for (name, num) in default_gai_errnos] def filter_error(err): n = getattr(err, 'errno', None) if (isinstance(err, socket.timeout) or (isinstance(err, socket.gaierror) and n in gai_errnos) or (isinstance(err, urllib.error.HTTPError) and 500 <= err.code <= 599) or (isinstance(err, urllib.error.URLError) and (("ConnectionRefusedError" in err.reason) or ("TimeoutError" in err.reason) or ("EOFError" in err.reason))) or n in captured_errnos): if not verbose: sys.stderr.write(denied.args[0] + "\n") raise denied from err old_timeout = socket.getdefaulttimeout() try: if timeout is not None: socket.setdefaulttimeout(timeout) yield except nntplib.NNTPTemporaryError as err: if verbose: sys.stderr.write(denied.args[0] + "\n") raise denied from err except OSError as err: # urllib can wrap original socket errors multiple times (!), we must # unwrap to get at the original error. while True: a = err.args if len(a) >= 1 and isinstance(a[0], OSError): err = a[0] # The error can also be wrapped as args[1]: # except socket.error as msg: # raise OSError('socket error', msg).with_traceback(sys.exc_info()[2]) elif len(a) >= 2 and isinstance(a[1], OSError): err = a[1] else: break filter_error(err) raise # XXX should we catch generic exceptions and look for their # __cause__ or __context__? finally: socket.setdefaulttimeout(old_timeout) @contextlib.contextmanager def captured_output(stream_name): """Return a context manager used by captured_stdout/stdin/stderr that temporarily replaces the sys stream *stream_name* with a StringIO.""" import io orig_stdout = getattr(sys, stream_name) setattr(sys, stream_name, io.StringIO()) try: yield getattr(sys, stream_name) finally: setattr(sys, stream_name, orig_stdout) def captured_stdout(): """Capture the output of sys.stdout: with captured_stdout() as stdout: print("hello") self.assertEqual(stdout.getvalue(), "hello\\n") """ return captured_output("stdout") def captured_stderr(): """Capture the output of sys.stderr: with captured_stderr() as stderr: print("hello", file=sys.stderr) self.assertEqual(stderr.getvalue(), "hello\\n") """ return captured_output("stderr") def captured_stdin(): """Capture the input to sys.stdin: with captured_stdin() as stdin: stdin.write('hello\\n') stdin.seek(0) # call test code that consumes from sys.stdin captured = input() self.assertEqual(captured, "hello") """ return captured_output("stdin") def gc_collect(): """Force as many objects as possible to be collected. In non-CPython implementations of Python, this is needed because timely deallocation is not guaranteed by the garbage collector. (Even in CPython this can be the case in case of reference cycles.) This means that __del__ methods may be called later than expected and weakrefs may remain alive for longer than expected. This function tries its best to force all garbage objects to disappear. """ gc.collect() if is_jython: time.sleep(0.1) gc.collect() gc.collect() @contextlib.contextmanager def disable_gc(): have_gc = gc.isenabled() gc.disable() try: yield finally: if have_gc: gc.enable() def python_is_optimized(): """Find if Python was built with optimizations.""" cflags = sysconfig.get_config_var('PY_CFLAGS') or '' final_opt = "" for opt in cflags.split(): if opt.startswith('-O'): final_opt = opt return final_opt not in ('', '-O0', '-Og') _header = 'nP' _align = '0n' if hasattr(sys, "gettotalrefcount"): _header = '2P' + _header _align = '0P' _vheader = _header + 'n' def calcobjsize(fmt): return struct.calcsize(_header + fmt + _align) def calcvobjsize(fmt): return struct.calcsize(_vheader + fmt + _align) _TPFLAGS_HAVE_GC = 1<<14 _TPFLAGS_HEAPTYPE = 1<<9 def check_sizeof(test, o, size): import _testcapi result = sys.getsizeof(o) # add GC header size if ((type(o) == type) and (o.__flags__ & _TPFLAGS_HEAPTYPE) or\ ((type(o) != type) and (type(o).__flags__ & _TPFLAGS_HAVE_GC))): size += _testcapi.SIZEOF_PYGC_HEAD msg = 'wrong size for %s: got %d, expected %d' \ % (type(o), result, size) test.assertEqual(result, size, msg) #======================================================================= # Decorator for running a function in a different locale, correctly resetting # it afterwards. def run_with_locale(catstr, *locales): def decorator(func): def inner(*args, **kwds): try: import locale category = getattr(locale, catstr) orig_locale = locale.setlocale(category) except AttributeError: # if the test author gives us an invalid category string raise except: # cannot retrieve original locale, so do nothing locale = orig_locale = None else: for loc in locales: try: locale.setlocale(category, loc) break except: pass # now run the function, resetting the locale on exceptions try: return func(*args, **kwds) finally: if locale and orig_locale: locale.setlocale(category, orig_locale) inner.__name__ = func.__name__ inner.__doc__ = func.__doc__ return inner return decorator #======================================================================= # Decorator for running a function in a specific timezone, correctly # resetting it afterwards. def run_with_tz(tz): def decorator(func): def inner(*args, **kwds): try: tzset = time.tzset except AttributeError: raise unittest.SkipTest("tzset required") if 'TZ' in os.environ: orig_tz = os.environ['TZ'] else: orig_tz = None os.environ['TZ'] = tz tzset() # now run the function, resetting the tz on exceptions try: return func(*args, **kwds) finally: if orig_tz is None: del os.environ['TZ'] else: os.environ['TZ'] = orig_tz time.tzset() inner.__name__ = func.__name__ inner.__doc__ = func.__doc__ return inner return decorator #======================================================================= # Big-memory-test support. Separate from 'resources' because memory use # should be configurable. # Some handy shorthands. Note that these are used for byte-limits as well # as size-limits, in the various bigmem tests _1M = 1024*1024 _1G = 1024 * _1M _2G = 2 * _1G _4G = 4 * _1G MAX_Py_ssize_t = sys.maxsize def set_memlimit(limit): global max_memuse global real_max_memuse sizes = { 'k': 1024, 'm': _1M, 'g': _1G, 't': 1024*_1G, } m = re.match(r'(\d+(\.\d+)?) (K|M|G|T)b?$', limit, re.IGNORECASE | re.VERBOSE) if m is None: raise ValueError('Invalid memory limit %r' % (limit,)) memlimit = int(float(m.group(1)) * sizes[m.group(3).lower()]) real_max_memuse = memlimit if memlimit > MAX_Py_ssize_t: memlimit = MAX_Py_ssize_t if memlimit < _2G - 1: raise ValueError('Memory limit %r too low to be useful' % (limit,)) max_memuse = memlimit class _MemoryWatchdog: """An object which periodically watches the process' memory consumption and prints it out. """ def __init__(self): self.procfile = '/proc/{pid}/statm'.format(pid=os.getpid()) self.started = False def start(self): try: f = open(self.procfile, 'r') except OSError as e: warnings.warn('/proc not available for stats: {}'.format(e), RuntimeWarning) sys.stderr.flush() return watchdog_script = findfile("memory_watchdog.py") self.mem_watchdog = subprocess.Popen([sys.executable, watchdog_script], stdin=f, stderr=subprocess.DEVNULL) f.close() self.started = True def stop(self): if self.started: self.mem_watchdog.terminate() self.mem_watchdog.wait() def bigmemtest(size, memuse, dry_run=True): """Decorator for bigmem tests. 'size' is a requested size for the test (in arbitrary, test-interpreted units.) 'memuse' is the number of bytes per unit for the test, or a good estimate of it. For example, a test that needs two byte buffers, of 4 GiB each, could be decorated with @bigmemtest(size=_4G, memuse=2). The 'size' argument is normally passed to the decorated test method as an extra argument. If 'dry_run' is true, the value passed to the test method may be less than the requested value. If 'dry_run' is false, it means the test doesn't support dummy runs when -M is not specified. """ def decorator(f): def wrapper(self): size = wrapper.size memuse = wrapper.memuse if not real_max_memuse: maxsize = 5147 else: maxsize = size if ((real_max_memuse or not dry_run) and real_max_memuse < maxsize * memuse): raise unittest.SkipTest( "not enough memory: %.1fG minimum needed" % (size * memuse / (1024 ** 3))) return f(self, maxsize) # [jart] removed fork bomb # # if real_max_memuse and verbose: # print() # print(" ... expected peak memory use: {peak:.1f}G" # .format(peak=size * memuse / (1024 ** 3))) # watchdog = _MemoryWatchdog() # watchdog.start() # else: # watchdog = None # try: # return f(self, maxsize) # finally: # if watchdog: # watchdog.stop() wrapper.size = size wrapper.memuse = memuse return wrapper return decorator def bigaddrspacetest(f): """Decorator for tests that fill the address space.""" def wrapper(self): if max_memuse < MAX_Py_ssize_t: if MAX_Py_ssize_t >= 2**63 - 1 and max_memuse >= 2**31: raise unittest.SkipTest( "not enough memory: try a 32-bit build instead") else: raise unittest.SkipTest( "not enough memory: %.1fG minimum needed" % (MAX_Py_ssize_t / (1024 ** 3))) else: return f(self) return wrapper #======================================================================= # unittest integration. class BasicTestRunner: def run(self, test): result = unittest.TestResult() test(result) return result def _id(obj): return obj def requires_resource(resource): if resource == 'gui' and not _is_gui_available(): return unittest.skip(_is_gui_available.reason) if is_resource_enabled(resource): return _id else: return unittest.skip("resource {0!r} is not enabled".format(resource)) def requires_android_level(level, reason): if is_android and _ANDROID_API_LEVEL < level: return unittest.skip('%s at Android API level %d' % (reason, _ANDROID_API_LEVEL)) else: return _id def cpython_only(test): """ Decorator for tests only applicable on CPython. """ return impl_detail(cpython=True)(test) def impl_detail(msg=None, **guards): if check_impl_detail(**guards): return _id if msg is None: guardnames, default = _parse_guards(guards) if default: msg = "implementation detail not available on {0}" else: msg = "implementation detail specific to {0}" guardnames = sorted(guardnames.keys()) msg = msg.format(' or '.join(guardnames)) return unittest.skip(msg) _have_mp_queue = False def requires_multiprocessing_queue(test): """Skip decorator for tests that use multiprocessing.Queue.""" global _have_mp_queue if _have_mp_queue is None: import multiprocessing # Without a functioning shared semaphore implementation attempts to # instantiate a Queue will result in an ImportError (issue #3770). try: multiprocessing.Queue() _have_mp_queue = True except ImportError: _have_mp_queue = False msg = "requires a functioning shared semaphore implementation" return test if _have_mp_queue else unittest.skip(msg)(test) def _parse_guards(guards): # Returns a tuple ({platform_name: run_me}, default_value) if not guards: return ({'cpython': True}, False) is_true = list(guards.values())[0] assert list(guards.values()) == [is_true] * len(guards) # all True or all False return (guards, not is_true) # Use the following check to guard CPython's implementation-specific tests -- # or to run them only on the implementation(s) guarded by the arguments. def check_impl_detail(**guards): """This function returns True or False depending on the host platform. Examples: if check_impl_detail(): # only on CPython (default) if check_impl_detail(jython=True): # only on Jython if check_impl_detail(cpython=False): # everywhere except on CPython """ guards, default = _parse_guards(guards) return guards.get(platform.python_implementation().lower(), default) def no_tracing(func): """Decorator to temporarily turn off tracing for the duration of a test.""" if not hasattr(sys, 'gettrace'): return func else: @functools.wraps(func) def wrapper(*args, **kwargs): original_trace = sys.gettrace() try: sys.settrace(None) return func(*args, **kwargs) finally: sys.settrace(original_trace) return wrapper def refcount_test(test): """Decorator for tests which involve reference counting. To start, the decorator does not run the test if is not run by CPython. After that, any trace function is unset during the test to prevent unexpected refcounts caused by the trace function. """ return no_tracing(cpython_only(test)) def _filter_suite(suite, pred): """Recursively filter test cases in a suite based on a predicate.""" newtests = [] for test in suite._tests: if isinstance(test, unittest.TestSuite): _filter_suite(test, pred) newtests.append(test) else: if pred(test): newtests.append(test) suite._tests = newtests def _run_suite(suite): """Run tests from a unittest.TestSuite-derived class.""" runner = get_test_runner(sys.stdout, verbosity=verbose, capture_output=(junit_xml_list is not None)) result = runner.run(suite) if junit_xml_list is not None: junit_xml_list.append(result.get_xml_element()) if not result.testsRun: raise TestDidNotRun if not result.wasSuccessful(): if len(result.errors) == 1 and not result.failures: err = result.errors[0][1] elif len(result.failures) == 1 and not result.errors: err = result.failures[0][1] else: err = "multiple errors occurred" if not verbose: err += "; run in verbose mode for details" raise TestFailed(err) # By default, don't filter tests _match_test_func = None _match_test_patterns = None def match_test(test): # Function used by support.run_unittest() and regrtest --list-cases if _match_test_func is None: return True else: return _match_test_func(test.id()) def _is_full_match_test(pattern): # If a pattern contains at least one dot, it's considered # as a full test identifier. # Example: 'test.test_os.FileTests.test_access'. # # Reject patterns which contain fnmatch patterns: '*', '?', '[...]' # or '[!...]'. For example, reject 'test_access*'. return ('.' in pattern) and (not re.search(r'[?*\[\]]', pattern)) def set_match_tests(patterns): global _match_test_func, _match_test_patterns if patterns == _match_test_patterns: # No change: no need to recompile patterns. return if not patterns: func = None # set_match_tests(None) behaves as set_match_tests(()) patterns = () elif all(map(_is_full_match_test, patterns)): # Simple case: all patterns are full test identifier. # The test.bisect utility only uses such full test identifiers. func = set(patterns).__contains__ else: regex = '|'.join(map(fnmatch.translate, patterns)) # The search *is* case sensitive on purpose: # don't use flags=re.IGNORECASE regex_match = re.compile(regex).match def match_test_regex(test_id): if regex_match(test_id): # The regex matchs the whole identifier like # 'test.test_os.FileTests.test_access' return True else: # Try to match parts of the test identifier. # For example, split 'test.test_os.FileTests.test_access' # into: 'test', 'test_os', 'FileTests' and 'test_access'. return any(map(regex_match, test_id.split("."))) func = match_test_regex # Create a copy since patterns can be mutable and so modified later _match_test_patterns = tuple(patterns) _match_test_func = func def run_unittest(*classes): """Run tests from unittest.TestCase-derived classes.""" valid_types = (unittest.TestSuite, unittest.TestCase) suite = unittest.TestSuite() for cls in classes: if isinstance(cls, str): if cls in sys.modules: suite.addTest(unittest.findTestCases(sys.modules[cls])) else: raise ValueError("str arguments must be keys in sys.modules") elif isinstance(cls, valid_types): suite.addTest(cls) else: suite.addTest(unittest.makeSuite(cls)) _filter_suite(suite, match_test) _run_suite(suite) #======================================================================= # Check for the presence of docstrings. # Rather than trying to enumerate all the cases where docstrings may be # disabled, we just check for that directly def _check_docstrings(): """Just used to check if docstrings are enabled""" MISSING_C_DOCSTRINGS = (cosmo.MODE.startswith('tiny') or (check_impl_detail() and sys.platform != 'win32' and not sysconfig.get_config_var('WITH_DOC_STRINGS'))) HAVE_DOCSTRINGS = (_check_docstrings.__doc__ is not None and not MISSING_C_DOCSTRINGS) requires_docstrings = unittest.skipUnless(HAVE_DOCSTRINGS, "test requires docstrings") #======================================================================= # doctest driver. def run_doctest(module, verbosity=None, optionflags=0): """Run doctest on the given module. Return (#failures, #tests). If optional argument verbosity is not specified (or is None), pass support's belief about verbosity on to doctest. Else doctest's usual behavior is used (it searches sys.argv for -v). """ import doctest if verbosity is None: verbosity = verbose else: verbosity = None f, t = doctest.testmod(module, verbose=verbosity, optionflags=optionflags) if f: raise TestFailed("%d of %d doctests failed" % (f, t)) if verbose: print('doctest (%s) ... %d tests with zero failures' % (module.__name__, t)) return f, t #======================================================================= # Support for saving and restoring the imported modules. def modules_setup(): return sys.modules.copy(), def modules_cleanup(oldmodules): # Encoders/decoders are registered permanently within the internal # codec cache. If we destroy the corresponding modules their # globals will be set to None which will trip up the cached functions. encodings = [(k, v) for k, v in sys.modules.items() if k.startswith('encodings.')] sys.modules.clear() sys.modules.update(encodings) # XXX: This kind of problem can affect more than just encodings. In particular # extension modules (such as _ssl) don't cope with reloading properly. # Really, test modules should be cleaning out the test specific modules they # know they added (ala test_runpy) rather than relying on this function (as # test_importhooks and test_pkg do currently). # Implicitly imported *real* modules should be left alone (see issue 10556). sys.modules.update(oldmodules) #======================================================================= # Threading support to prevent reporting refleaks when running regrtest.py -R # Flag used by saved_test_environment of test.libregrtest.save_env, # to check if a test modified the environment. The flag should be set to False # before running a new test. # # For example, threading_cleanup() sets the flag is the function fails # to cleanup threads. environment_altered = False # NOTE: we use thread._count() rather than threading.enumerate() (or the # moral equivalent thereof) because a threading.Thread object is still alive # until its __bootstrap() method has returned, even after it has been # unregistered from the threading module. # thread._count(), on the other hand, only gets decremented *after* the # __bootstrap() method has returned, which gives us reliable reference counts # at the end of a test run. def threading_setup(): if _thread: return _thread._count(), threading._dangling.copy() else: return 1, () def threading_cleanup(*original_values): if not _thread: return _MAX_COUNT = 100 for count in range(_MAX_COUNT): values = _thread._count(), threading._dangling if values == original_values: break time.sleep(0.01) gc_collect() # XXX print a warning in case of failure? def reap_threads(func): """Use this function when threads are being used. This will ensure that the threads are cleaned up even when the test fails. If threading is unavailable this function does nothing. """ if not _thread: return func @functools.wraps(func) def decorator(*args): key = threading_setup() try: return func(*args) finally: threading_cleanup(*key) return decorator @contextlib.contextmanager def wait_threads_exit(timeout=60.0): """ bpo-31234: Context manager to wait until all threads created in the with statement exit. Use _thread.count() to check if threads exited. Indirectly, wait until threads exit the internal t_bootstrap() C function of the _thread module. threading_setup() and threading_cleanup() are designed to emit a warning if a test leaves running threads in the background. This context manager is designed to cleanup threads started by the _thread.start_new_thread() which doesn't allow to wait for thread exit, whereas thread.Thread has a join() method. """ old_count = _thread._count() try: yield finally: start_time = time.monotonic() deadline = start_time + timeout while True: count = _thread._count() if count <= old_count: break if time.monotonic() > deadline: dt = time.monotonic() - start_time msg = (f"wait_threads() failed to cleanup {count - old_count} " f"threads after {dt:.1f} seconds " f"(count: {count}, old count: {old_count})") raise AssertionError(msg) time.sleep(0.010) gc_collect() def reap_children(): """Use this function at the end of test_main() whenever sub-processes are started. This will help ensure that no extra children (zombies) stick around to hog resources and create problems when looking for refleaks. """ # Reap all our dead child processes so we don't leave zombies around. # These hog resources and might be causing some of the buildbots to die. if hasattr(os, 'waitpid'): any_process = -1 while True: try: # This will raise an exception on Windows. That's ok. pid, status = os.waitpid(any_process, os.WNOHANG) if pid == 0: break print("Warning -- reap_children() reaped child process %s" % pid, file=sys.stderr) except: break @contextlib.contextmanager def start_threads(threads, unlock=None): threads = list(threads) started = [] try: try: for t in threads: t.start() started.append(t) except: if verbose: print("Can't start %d threads, only %d threads started" % (len(threads), len(started))) raise yield finally: try: if unlock: unlock() endtime = starttime = time.time() for timeout in range(1, 16): endtime += 60 for t in started: t.join(max(endtime - time.time(), 0.01)) started = [t for t in started if t.isAlive()] if not started: break if verbose: print('Unable to join %d threads during a period of ' '%d minutes' % (len(started), timeout)) finally: started = [t for t in started if t.isAlive()] if started: faulthandler.dump_traceback(sys.stdout) raise AssertionError('Unable to join %d threads' % len(started)) @contextlib.contextmanager def swap_attr(obj, attr, new_val): """Temporary swap out an attribute with a new object. Usage: with swap_attr(obj, "attr", 5): ... This will set obj.attr to 5 for the duration of the with: block, restoring the old value at the end of the block. If `attr` doesn't exist on `obj`, it will be created and then deleted at the end of the block. The old value (or None if it doesn't exist) will be assigned to the target of the "as" clause, if there is one. """ if hasattr(obj, attr): real_val = getattr(obj, attr) setattr(obj, attr, new_val) try: yield real_val finally: setattr(obj, attr, real_val) else: setattr(obj, attr, new_val) try: yield finally: if hasattr(obj, attr): delattr(obj, attr) @contextlib.contextmanager def swap_item(obj, item, new_val): """Temporary swap out an item with a new object. Usage: with swap_item(obj, "item", 5): ... This will set obj["item"] to 5 for the duration of the with: block, restoring the old value at the end of the block. If `item` doesn't exist on `obj`, it will be created and then deleted at the end of the block. The old value (or None if it doesn't exist) will be assigned to the target of the "as" clause, if there is one. """ if item in obj: real_val = obj[item] obj[item] = new_val try: yield real_val finally: obj[item] = real_val else: obj[item] = new_val try: yield finally: if item in obj: del obj[item] def strip_python_stderr(stderr): """Strip the stderr of a Python process from potential debug output emitted by the interpreter. This will typically be run on the result of the communicate() method of a subprocess.Popen object. """ stderr = re.sub(br"\[\d+ refs, \d+ blocks\]\r?\n?", b"", stderr).strip() return stderr requires_type_collecting = unittest.skipIf(hasattr(sys, 'getcounts'), 'types are immortal if COUNT_ALLOCS is defined') def args_from_interpreter_flags(): """Return a list of command-line arguments reproducing the current settings in sys.flags and sys.warnoptions.""" return subprocess._args_from_interpreter_flags() def optim_args_from_interpreter_flags(): """Return a list of command-line arguments reproducing the current optimization settings in sys.flags.""" return subprocess._optim_args_from_interpreter_flags() #============================================================ # Support for assertions about logging. #============================================================ class TestHandler(logging.handlers.BufferingHandler): def __init__(self, matcher): # BufferingHandler takes a "capacity" argument # so as to know when to flush. As we're overriding # shouldFlush anyway, we can set a capacity of zero. # You can call flush() manually to clear out the # buffer. logging.handlers.BufferingHandler.__init__(self, 0) self.matcher = matcher def shouldFlush(self): return False def emit(self, record): self.format(record) self.buffer.append(record.__dict__) def matches(self, **kwargs): """ Look for a saved dict whose keys/values match the supplied arguments. """ result = False for d in self.buffer: if self.matcher.matches(d, **kwargs): result = True break return result class Matcher(object): _partial_matches = ('msg', 'message') def matches(self, d, **kwargs): """ Try to match a single dict with the supplied arguments. Keys whose values are strings and which are in self._partial_matches will be checked for partial (i.e. substring) matches. You can extend this scheme to (for example) do regular expression matching, etc. """ result = True for k in kwargs: v = kwargs[k] dv = d.get(k) if not self.match_value(k, dv, v): result = False break return result def match_value(self, k, dv, v): """ Try to match a single stored value (dv) with a supplied value (v). """ if type(v) != type(dv): result = False elif type(dv) is not str or k not in self._partial_matches: result = (v == dv) else: result = dv.find(v) >= 0 return result _can_symlink = None def can_symlink(): global _can_symlink if _can_symlink is not None: return _can_symlink symlink_path = TESTFN + "can_symlink" try: os.symlink(TESTFN, symlink_path) can = True except (OSError, NotImplementedError, AttributeError): can = False else: os.remove(symlink_path) _can_symlink = can return can def skip_unless_symlink(test): """Skip decorator for tests that require functional symlink""" ok = can_symlink() msg = "Requires functional symlink implementation" return test if ok else unittest.skip(msg)(test) _can_xattr = None def can_xattr(): global _can_xattr if _can_xattr is not None: return _can_xattr if not hasattr(os, "setxattr"): can = False else: tmp_dir = tempfile.mkdtemp() tmp_fp, tmp_name = tempfile.mkstemp(dir=tmp_dir) try: with open(TESTFN, "wb") as fp: try: # TESTFN & tempfile may use different file systems with # different capabilities os.setxattr(tmp_fp, b"user.test", b"") os.setxattr(tmp_name, b"trusted.foo", b"42") os.setxattr(fp.fileno(), b"user.test", b"") # Kernels < 2.6.39 don't respect setxattr flags. kernel_version = platform.release() m = re.match(r"2.6.(\d{1,2})", kernel_version) can = m is None or int(m.group(1)) >= 39 except OSError: can = False finally: unlink(TESTFN) unlink(tmp_name) rmdir(tmp_dir) _can_xattr = can return can def skip_unless_xattr(test): """Skip decorator for tests that require functional extended attributes""" ok = can_xattr() msg = "no non-broken extended attribute support" return test if ok else unittest.skip(msg)(test) def fs_is_case_insensitive(directory): """Detects if the file system for the specified directory is case-insensitive.""" with tempfile.NamedTemporaryFile(dir=directory) as base: base_path = base.name case_path = base_path.upper() if case_path == base_path: case_path = base_path.lower() try: return os.path.samefile(base_path, case_path) except FileNotFoundError: return False def detect_api_mismatch(ref_api, other_api, *, ignore=()): """Returns the set of items in ref_api not in other_api, except for a defined list of items to be ignored in this check. By default this skips private attributes beginning with '_' but includes all magic methods, i.e. those starting and ending in '__'. """ missing_items = set(dir(ref_api)) - set(dir(other_api)) if ignore: missing_items -= set(ignore) missing_items = set(m for m in missing_items if not m.startswith('_') or m.endswith('__')) return missing_items def check__all__(test_case, module, name_of_module=None, extra=(), blacklist=()): """Assert that the __all__ variable of 'module' contains all public names. The module's public names (its API) are detected automatically based on whether they match the public name convention and were defined in 'module'. The 'name_of_module' argument can specify (as a string or tuple thereof) what module(s) an API could be defined in in order to be detected as a public API. One case for this is when 'module' imports part of its public API from other modules, possibly a C backend (like 'csv' and its '_csv'). The 'extra' argument can be a set of names that wouldn't otherwise be automatically detected as "public", like objects without a proper '__module__' attribute. If provided, it will be added to the automatically detected ones. The 'blacklist' argument can be a set of names that must not be treated as part of the public API even though their names indicate otherwise. Usage: import bar import foo import unittest from test import support class MiscTestCase(unittest.TestCase): def test__all__(self): support.check__all__(self, foo) class OtherTestCase(unittest.TestCase): def test__all__(self): extra = {'BAR_CONST', 'FOO_CONST'} blacklist = {'baz'} # Undocumented name. # bar imports part of its API from _bar. support.check__all__(self, bar, ('bar', '_bar'), extra=extra, blacklist=blacklist) """ if name_of_module is None: name_of_module = (module.__name__, ) elif isinstance(name_of_module, str): name_of_module = (name_of_module, ) expected = set(extra) for name in dir(module): if name.startswith('_') or name in blacklist: continue obj = getattr(module, name) if (getattr(obj, '__module__', None) in name_of_module or (not hasattr(obj, '__module__') and not isinstance(obj, types.ModuleType))): expected.add(name) test_case.assertCountEqual(module.__all__, expected) class SuppressCrashReport: """Try to prevent a crash report from popping up. On Windows, don't display the Windows Error Reporting dialog. On UNIX, disable the creation of coredump file. """ old_value = None old_modes = None def __enter__(self): """On Windows, disable Windows Error Reporting dialogs using SetErrorMode. On UNIX, try to save the previous core file size limit, then set soft limit to 0. """ if sys.platform.startswith('win'): # see http://msdn.microsoft.com/en-us/library/windows/desktop/ms680621.aspx # GetErrorMode is not available on Windows XP and Windows Server 2003, # but SetErrorMode returns the previous value, so we can use that try: import ctypes except ImportError: pass self._k32 = ctypes.windll.kernel32 SEM_NOGPFAULTERRORBOX = 0x02 self.old_value = self._k32.SetErrorMode(SEM_NOGPFAULTERRORBOX) self._k32.SetErrorMode(self.old_value | SEM_NOGPFAULTERRORBOX) # Suppress assert dialogs in debug builds # (see http://bugs.python.org/issue23314) try: import msvcrt msvcrt.CrtSetReportMode except (AttributeError, ImportError): # no msvcrt or a release build pass else: self.old_modes = {} for report_type in [msvcrt.CRT_WARN, msvcrt.CRT_ERROR, msvcrt.CRT_ASSERT]: old_mode = msvcrt.CrtSetReportMode(report_type, msvcrt.CRTDBG_MODE_FILE) old_file = msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR) self.old_modes[report_type] = old_mode, old_file else: if resource is not None: try: self.old_value = resource.getrlimit(resource.RLIMIT_CORE) resource.setrlimit(resource.RLIMIT_CORE, (0, self.old_value[1])) except (ValueError, OSError): pass if sys.platform == 'darwin': # Check if the 'Crash Reporter' on OSX was configured # in 'Developer' mode and warn that it will get triggered # when it is. # # This assumes that this context manager is used in tests # that might trigger the next manager. cmd = ['/usr/bin/defaults', 'read', 'com.apple.CrashReporter', 'DialogType'] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) with proc: stdout = proc.communicate()[0] if stdout.strip() == b'developer': print("this test triggers the Crash Reporter, " "that is intentional", end='', flush=True) return self def __exit__(self, *ignore_exc): """Restore Windows ErrorMode or core file behavior to initial value.""" if self.old_value is None: return if sys.platform.startswith('win'): self._k32.SetErrorMode(self.old_value) if self.old_modes: import msvcrt for report_type, (old_mode, old_file) in self.old_modes.items(): msvcrt.CrtSetReportMode(report_type, old_mode) msvcrt.CrtSetReportFile(report_type, old_file) else: if resource is not None: try: resource.setrlimit(resource.RLIMIT_CORE, self.old_value) except (ValueError, OSError): pass def patch(test_instance, object_to_patch, attr_name, new_value): """Override 'object_to_patch'.'attr_name' with 'new_value'. Also, add a cleanup procedure to 'test_instance' to restore 'object_to_patch' value for 'attr_name'. The 'attr_name' should be a valid attribute for 'object_to_patch'. """ # check that 'attr_name' is a real attribute for 'object_to_patch' # will raise AttributeError if it does not exist getattr(object_to_patch, attr_name) # keep a copy of the old value attr_is_local = False try: old_value = object_to_patch.__dict__[attr_name] except (AttributeError, KeyError): old_value = getattr(object_to_patch, attr_name, None) else: attr_is_local = True # restore the value when the test is done def cleanup(): if attr_is_local: setattr(object_to_patch, attr_name, old_value) else: delattr(object_to_patch, attr_name) test_instance.addCleanup(cleanup) # actually override the attribute setattr(object_to_patch, attr_name, new_value) def run_in_subinterp(code): """ Run code in a subinterpreter. Raise unittest.SkipTest if the tracemalloc module is enabled. """ # Issue #10915, #15751: PyGILState_*() functions don't work with # sub-interpreters, the tracemalloc module uses these functions internally try: import tracemalloc except ImportError: pass else: if tracemalloc.is_tracing(): raise unittest.SkipTest("run_in_subinterp() cannot be used " "if tracemalloc module is tracing " "memory allocations") import _testcapi return _testcapi.run_in_subinterp(code) def check_free_after_iterating(test, iter, cls, args=()): class A(cls): def __del__(self): nonlocal done done = True try: next(it) except StopIteration: pass done = False it = iter(A(*args)) # Issue 26494: Shouldn't crash test.assertRaises(StopIteration, next, it) # The sequence should be deallocated just after the end of iterating gc_collect() test.assertTrue(done) def missing_compiler_executable(cmd_names=[]): """Check if the compiler components used to build the interpreter exist. Check for the existence of the compiler executables whose names are listed in 'cmd_names' or all the compiler executables when 'cmd_names' is empty and return the first missing executable or None when none is found missing. """ # from distutils import ccompiler, sysconfig, spawn compiler = ccompiler.new_compiler() sysconfig.customize_compiler(compiler) for name in compiler.executables: if cmd_names and name not in cmd_names: continue cmd = getattr(compiler, name) if cmd_names: assert cmd is not None, \ "the '%s' executable is not configured" % name elif cmd is None: continue if spawn.find_executable(cmd[0]) is None: return cmd[0] _is_android_emulator = None def setswitchinterval(interval): # Setting a very low gil interval on the Android emulator causes python # to hang (issue #26939). minimum_interval = 1e-5 if is_android and interval < minimum_interval: global _is_android_emulator if _is_android_emulator is None: _is_android_emulator = (subprocess.check_output( ['getprop', 'ro.kernel.qemu']).strip() == b'1') if _is_android_emulator: interval = minimum_interval return sys.setswitchinterval(interval) @contextlib.contextmanager def disable_faulthandler(): # use sys.__stderr__ instead of sys.stderr, since regrtest replaces # sys.stderr with a StringIO which has no file descriptor when a test # is run with -W/--verbose3. fd = sys.__stderr__.fileno() is_enabled = faulthandler.is_enabled() try: faulthandler.disable() yield finally: if is_enabled: faulthandler.enable(file=fd, all_threads=True) def fd_count(): """Count the number of open file descriptors. """ if sys.platform.startswith(('linux', 'freebsd')): try: names = os.listdir("/proc/self/fd") # Substract one because listdir() opens internally a file # descriptor to list the content of the /proc/self/fd/ directory. return len(names) - 1 except FileNotFoundError: pass MAXFD = 256 if hasattr(os, 'sysconf'): try: MAXFD = os.sysconf("SC_OPEN_MAX") except OSError: pass old_modes = None if sys.platform == 'win32': # bpo-25306, bpo-31009: Call CrtSetReportMode() to not kill the process # on invalid file descriptor if Python is compiled in debug mode try: import msvcrt msvcrt.CrtSetReportMode except (AttributeError, ImportError): # no msvcrt or a release build pass else: old_modes = {} for report_type in (msvcrt.CRT_WARN, msvcrt.CRT_ERROR, msvcrt.CRT_ASSERT): old_modes[report_type] = msvcrt.CrtSetReportMode(report_type, 0) try: count = 0 for fd in range(MAXFD): try: # Prefer dup() over fstat(). fstat() can require input/output # whereas dup() doesn't. fd2 = os.dup(fd) except OSError as e: if e.errno != errno.EBADF: raise else: os.close(fd2) count += 1 finally: if old_modes is not None: for report_type in (msvcrt.CRT_WARN, msvcrt.CRT_ERROR, msvcrt.CRT_ASSERT): msvcrt.CrtSetReportMode(report_type, old_modes[report_type]) return count class SaveSignals: """ Save an restore signal handlers. This class is only able to save/restore signal handlers registered by the Python signal module: see bpo-13285 for "external" signal handlers. """ def __init__(self): import signal self.signal = signal self.signals = list(range(1, signal.NSIG)) # SIGKILL and SIGSTOP signals cannot be ignored nor catched for signame in ('SIGKILL', 'SIGSTOP'): try: signum = getattr(signal, signame) except AttributeError: continue self.signals.remove(signum) self.handlers = {} def save(self): for signum in self.signals: handler = self.signal.getsignal(signum) if handler is None: # getsignal() returns None if a signal handler was not # registered by the Python signal module, # and the handler is not SIG_DFL nor SIG_IGN. # # Ignore the signal: we cannot restore the handler. continue self.handlers[signum] = handler def restore(self): for signum, handler in self.handlers.items(): self.signal.signal(signum, handler) class FakePath: """Simple implementing of the path protocol. """ def __init__(self, path): self.path = path def __repr__(self): return f'<FakePath {self.path!r}>' def __fspath__(self): if (isinstance(self.path, BaseException) or isinstance(self.path, type) and issubclass(self.path, BaseException)): raise self.path else: return self.path
100,986
2,895
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/xmltestdata/simple.xml
<!-- comment --> <root> <element key='value'>text</element> <element>text</element>tail <empty-element/> </root>
122
7
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/xmltestdata/simple-ns.xml
<?pi data?> <!-- comment --> <root xmlns='namespace'> <element key='value'>text</element> <element>text</element>tail <empty-element/> </root>
152
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/xmltestdata/test.xml.out
<?xml version="1.0" encoding="iso-8859-1"?> <HTML xmlns:pp="http://www.isogen.com/paul/post-processor"> <TITLE>Introduction to XSL</TITLE> <H1>Introduction to XSL</H1> <HR></HR> <H2>Overview </H2> <UL> <LI>1.Intro</LI> <LI>2.History</LI> <LI>3.XSL Basics</LI> <LI>Lunch</LI> <LI>4.An XML Data Model</LI> <LI>5.XSL Patterns</LI> <LI>6.XSL Templates</LI> <LI>7.XSL Formatting Model </LI> </UL> <HR></HR> <H2>Intro</H2> <UL> <LI>Who am I?</LI> <LI>Who are you?</LI> <LI>Why are we here? </LI> </UL> <HR></HR> <H2>History: XML and SGML</H2> <UL> <LI>XML is a subset of SGML.</LI> <LI>SGML allows the separation of abstract content from formatting.</LI> <LI>Also one of XML's primary virtues (in the doc publishing domain). </LI> </UL> <HR></HR> <H2>History: What are stylesheets?</H2> <UL> <LI>Stylesheets specify the formatting of SGML/XML documents.</LI> <LI>Stylesheets put the "style" back into documents.</LI> <LI>New York Times content+NYT Stylesheet = NYT paper </LI> </UL> <HR></HR> <H2>History: FOSI</H2> <UL> <LI>FOSI: "Formatted Output Specification Instance" <UL> <LI>MIL-STD-28001 </LI> <LI>FOSI's are SGML documents </LI> <LI>A stylesheet for another document </LI> </UL></LI> <LI>Obsolete but implemented... </LI> </UL> µ </HTML>
1,387
115
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/xmltestdata/expat224_utf8_bug.xml
<a b='01234567890123456古人咏雪抽幽思骋妍辞竞险韵偶得一编奇绝辄擅美当时流声后代是以北门之风南山之雅梁园之简黄台之赋至今为作家称述尚矣及至洛阳之卧剡溪之兴灞桥之思亦皆传为故事钱塘沈履德先生隐居西湖两峰间孤高贞洁与雪同调方大雪满天皴肤粟背之际先生乃鹿中豹舄端居闭门或扶童曳杖踏遍六桥三竺时取古人诗讽咏之合唐宋元诸名家集句成诗得二百四十章联络通穿如出一人如呵一气气立于言表格备于篇中略无掇拾补凑之形非胸次包罗壮阔笔底驱走鲍谢欧苏诸公不能为此世称王荆公为集句擅长观其在钟山对雪仅题数篇未见有此噫嘻奇矣哉亦富矣哉予慕先生有袁安之节愧不能为慧可之立乃取新集命工传写使海内同好者知先生为博古传述之士而一新世人之耳目他日必有慕潜德阐幽光而剞劂以传者余实为之执殳矣 弘治戊午仲冬望日慈溪杨子器衵于海虞官舍序毕诗部' />
1,034
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/xmltestdata/test.xml
<?xml version="1.0" encoding="iso-8859-1"?> <HTML xmlns:pp="http://www.isogen.com/paul/post-processor"> <TITLE>Introduction to XSL</TITLE> <H1>Introduction to XSL</H1> <HR/> <H2>Overview </H2> <UL> <LI>1.Intro</LI> <LI>2.History</LI> <LI>3.XSL Basics</LI> <LI>Lunch</LI> <LI>4.An XML Data Model</LI> <LI>5.XSL Patterns</LI> <LI>6.XSL Templates</LI> <LI>7.XSL Formatting Model </LI> </UL> <HR/> <H2>Intro</H2> <UL> <LI>Who am I?</LI> <LI>Who are you?</LI> <LI>Why are we here? </LI> </UL> <HR/> <H2>History: XML and SGML</H2> <UL> <LI>XML is a subset of SGML.</LI> <LI>SGML allows the separation of abstract content from formatting.</LI> <LI>Also one of XML's primary virtues (in the doc publishing domain). </LI> </UL> <HR/> <H2>History: What are stylesheets?</H2> <UL> <LI>Stylesheets specify the formatting of SGML/XML documents.</LI> <LI>Stylesheets put the &quot;style&quot; back into documents.</LI> <LI>New York Times content+NYT Stylesheet = NYT paper </LI> </UL> <HR/> <H2>History: FOSI</H2> <UL> <LI>FOSI: &quot;Formatted Output Specification Instance&quot; <UL> <LI>MIL-STD-28001 </LI> <LI>FOSI's are SGML documents </LI> <LI>A stylesheet for another document </LI> </UL></LI> <LI>Obsolete but implemented... </LI> </UL> µ </HTML>
1,388
116
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/subprocessdata/sigchild_ignore.py
import signal, subprocess, sys, time # On Linux this causes os.waitpid to fail with OSError as the OS has already # reaped our child process. The wait() passing the OSError on to the caller # and causing us to exit with an error is what we are testing against. signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait() # Also ensure poll() handles an errno.ECHILD appropriately. p = subprocess.Popen([sys.executable, '-c', 'print("albatross")']) num_polls = 0 while p.poll() is None: # Waiting for the process to finish. time.sleep(0.01) # Avoid being a CPU busy loop. num_polls += 1 if num_polls > 3000: raise RuntimeError('poll should have returned 0 within 30 seconds')
757
16
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/subprocessdata/qgrep.py
"""When called with a single argument, simulated fgrep with a single argument and no options.""" import sys if __name__ == "__main__": pattern = sys.argv[1] for line in sys.stdin: if pattern in line: sys.stdout.write(line)
253
11
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/subprocessdata/fd_status.py
"""When called as a script, print a comma-separated list of the open file descriptors on stdout. Usage: fd_stats.py: check all file descriptors fd_status.py fd1 fd2 ...: check only specified file descriptors """ import errno import os import stat import sys if __name__ == "__main__": fds = [] if len(sys.argv) == 1: try: _MAXFD = os.sysconf("SC_OPEN_MAX") except: _MAXFD = 256 test_fds = range(0, _MAXFD) else: test_fds = map(int, sys.argv[1:]) for fd in test_fds: try: st = os.fstat(fd) except OSError as e: if e.errno == errno.EBADF: continue raise # Ignore Solaris door files if not stat.S_ISDOOR(st.st_mode): fds.append(fd) print(','.join(map(str, fds)))
835
35
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/subprocessdata/qcat.py
"""When ran as a script, simulates cat with no arguments.""" import sys if __name__ == "__main__": for line in sys.stdin: sys.stdout.write(line)
159
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/subprocessdata/input_reader.py
"""When called as a script, consumes the input""" import sys if __name__ == "__main__": for line in sys.stdin: pass
130
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.ppm
P6 16 16 255 NÀJ†ºHƒ´D~­@x§<qž7h–LмÿÿÿE¯Ay¨>t¢:o›6i”I…·F€±B{ª>u£;p7j–6i”NÄLŠ¿H…¶C}­=t¡9l–6f8l—6i”6i”R‘ÆOÁKˆ»Hƒ´D}­@x¦=s 9m™6i”6i”6i”ÿâUýÝJùÕ>PÃL‰¼H„µE¯Ay¨=t¡:o›6i”6i”6i”2`‡ÿÞKÿÚAýÕ6M‹¾I…·F€°B{ª>u£;pœ7j–6i”5h’2`‡ìÎEÿÚBÿÖ7ÿÓ-J‡¹G²C|«?v¥6i“1EâÃEýÙAÿ×8ÿÓ-ÿÏ#F²D}­@x¦6g‘òánýéjÿæaÿãWÿßMÿÛBÿ×8ÿÓ.ÿÏ$ýËC}®Ay¨=t¡2KõãoÿëlÿçaÿãWÿßMÿÛCÿ×9ÿÓ.ÿÏ$ÿÌóÁ@u£=s¢:pœÿëlÿçbÿãXÿßNÿÛCÿ×9ÿÓ/ÿÏ$ÿÌÿÌšÿçbÿãXÿßNèÇ=ëÅ4ëÂ*ë¾!ë»ë»ƛÿãXÿßNÿÛDÿ×:ÿÓ0ÿÐ%ÿÌýÞNÿÛDÿØ:ÿÔ0ÿÐ&ÿÿÿýËñÐ?úÓ9ýÒ/ÿÐ&ÿÌúÇÀ—
781
4
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.exr
v/1channelschlistIABGRcompressioncompressiondataWindowbox2idisplayWindowbox2ilineOrderlineOrderpixelAspectRatiofloat€?screenWindowCenterv2fscreenWindowWidthfloat€?ËSÛcësûƒ “£+³; à €}9o;<<<À;•8†)":Ö9¦9m9=9õ8µ8l8488è7ˆ77‡6å4¥4…4D44ˆ3ç2€<<<<<<<1†)æ9<}9E99Ý8¥8T8<ø7˜7G7÷6—6Å4<T44È3G3Ç2€<<<<<<<4E-¾9Ž9U99í8µ8¥8,88¸7W77§6—6•4d4$4È3g3ç2Ç2€è79 99=9U9U9<<<…4.&:þ9¶9m9 9µ8…8½8¥8¥8|8T8,8Ø7G7Ç6f6Ç6—6—6å4Å4…444¨3'3Ç23Ç2Ç2€î9<<<<<<<<<<…4<À;8)6::Þ9¦9m9599Í8¥8¥8¥8U5¥4È38l8D88Ø7ˆ777×6—6—6—6;ï:¯:%5õ4µ4…4D44¨3'3Ç2Ç2Ç2<ð;Ð;€<<<<<<<<<<¶944<<o;…0:æ9®9}9E9 9Ý8¥8¥8¥8<8µ44Ç2|8L8$8ø7˜7G7÷6—6—6—66÷:×:¯:5Å4…4T44¨3G3Ç2Ç2Ç2F2<<ð;€<<<<<<<<À;¶9õ4D8<<<¨3ö9¾9†9U99å8µ8¥8•8<8T4$4ç2¦1\8,88¸7W77§6—6‡66v:×:·:Ÿ:Õ4•4d4$4È3g3ç2Ç2§2F2g;<<<€<<<<¶9Æ5Å4…4t44·6À;<<<d4Î9–9]9-98T4T443¦1d0<8 8È7g7—6&2:Ï:¿:Ÿ:~:¥4t444è3Ç2Ç.;ð;<<<€À;<<U9å459À;<<<<<<<À;t4–9m9598ç6§66u5Õ4$43Æ1…0Ç. 8Ø7ˆ7v6;O;7;;ÿ:ß:¿:Ÿ:~:^:d4D44Ç2˜;ð;<<<<<<<ð; €¿:<<¶5ž9<<<<<<<<<:4u9E9 9µ4÷6Ç66u5Õ444'3Æ1…0/‡.Ø7˜7G7F2;_;?;;ÿ:ß:¿:Ÿ:~:f::444¨3/°;<<<<<<<<< ; €÷6À;<µ4<<<<<<<<<<¨7‡299å8Ç6&6†5å444'3æ1…0//…,W7777_;?;;ÿ:ß:¿:Ÿ:~:f:f:Õ84¨3G3<<<<<<<<<<: €($0ˆ3§2<<<U9M9M9M9M9M9˜740&6†5å4¨3‡2E1$0..…,?;;ÿ:>:.::ö9Þ9Þ9Ý8<<<G;_;_;_;_;_;6: € …(Å,…,<<<<<<<4§2†1ˆ/†)†5å4D4G32¥0/;ÿ:ß:¿:Ÿ:‡:f:<<<<<<< €À;<<<<<À;4/…(%å4D4G32Å0<Ç.÷:ß:Ç:§:‡:<^:ð;<<<<<ð;€Å4f:À;<<Ç:¸7g3…,è3'3æ1Å0/F.…,‡:Ÿ:—:‡:f:>:½8;Ø;ð;<<Ø;:€(G/§2$4t4T43È/(
2,635
7
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.webp
RIFF¨WEBPVP8X ALPHÃ'¢¨‘$åzç_çß*™ˆ˜ÿtqà&0âá‹w2ÈÁ\ƒ+0è°xŽxQ5Á O’ j°UÖ¶mF/NÆv<¶íwû¯)®!¢ÿIÑý÷ºDI$:%‘4ómÇÓå ô ¾áƒ·2ž6‚)~Nvûˆž³‘ï™sFè2‚ÛøÌH²÷E0} ý6Œ!2V-¥Ök#¼]ã¥Y՜¤Ùn–uŠ1Šª,P4ú0‚ߺkPR)µ-ÏéT VP8 ¾*4%°t0O… |,ýèþýt ý›Š÷C|œ7öÒ ¯Óÿ5hâî§½ÉoôªÅc®ºŸ—„ßA¢;Ú[äïøËñ½á¯ú?å ìô»f_ÿª)ÙÉlç†æ¬—¹äÆô“#Œ_ݏ9U •Oü9øÿoÒk蟼ƒ˜fm±Õÿvæ±þ]ŠäŸG¿³ú¿þóþ\ÏÁúùýÏÏ‘9 ýšK1,Þ¼Ù{ª¬
432
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.jpg
ÿØÿàJFIFÿÛC       ÿÛC ÿÀ"ÿÄÿÄ$" 12ÿÄÿÄ#!1aáÿÚ ?¦ÒjsÁæԕócä%e¾ºZìiE@±å ²T¥Òʸúò «–=—l“5æ›w׿m§¥WêqâK9×ã"SòiÞÔqJ8´‚èK‰*qiÍ-!;ñï¹t¬î¡ZuŽÕH¬e[…‹…{!)˜g©k”¹IeO¹È…)K*ðzÙò<€~U¾ öb¡@Ìèæš=\·C³×zeX±ÙQ!ˆ¿d¸ÓñÃh)ÀÐþ»<à<T´½Ù{Tæ'ûnߔ`‚b¸R˜(7‰ry`ä2‰oާRŒê ¾x­ÿÙ
543
9
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.gif
GIF89aödë»ë¾!óÁúÇýËÿÌëÂ*ÿÏ#ÿÏ$ÿÐ%ÿÐ&ÿÓ-ýÒ/ÿÓ.ÿÓ/ëÅ4èÇ=ÿÓ0ÿÔ0ýÕ6ÿÖ7úÓ9ÿ×8ÿ×9ÿ×:ùÕ>ÿØ:ìÎEýÙAÿÚAÿÚBÿÛBÿÛCÿÛDýÝJÿÞKÿßMýÞNÿßNÿâUÿãWÿãXÿæaÿçaÿçbòánõãoýéjÿël2`‡6f6g‘5h’6i“6i”7h–7j–9l–8l—9m™:o›:pœ;pœ;p<qž=s =s¢=t¡>t¢>u£?v¥@x¦@x§Ay¨B{ªC|«C}­C}®D}­D~­E¯F€°F€±F²G²Hƒ´H„µH…¶I…·J‡¹J†ºKˆ»L‰¼LмM‹¾LŠ¿NÀOÁPÃR‘Æÿÿÿ!ùe!ÿ ImageMagickgamma=0,¨€e‚eaZRLF@7ƒŒ‚]dRJD=8ŒW‘D>85–e_WLD9298•Œca\UPG@<5§e'#eb_TPJ°5¿1e#ŸWT’@§3ÁÄ eÇKG e‡G3e-/,'& eL’e.0,)&!‚B>eïñåç X‚gÂðo^„=•‘wAB2é$–©ð°À ;
610
2
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.tiff
II*NÀ¯J†ºíHƒ´ÿD~­ÿ@x§ÿ<qž÷7h–’ LмÿÿÿÿÿE¯ÿAy¨ÿ>t¢ÿ:o›ÿ6i”ÿ( I…·ÿF€±ÿB{ªÿ>u£ÿ;pÿ7j–ÿ6i”ÿANÄ~LŠ¿ H…¶¡C}­£=t¡§9l–ª6fª8l—ÿ6i”ÿ6i”ÿHR‘ƽOÁÿKˆ»ÿHƒ´ÿD}­ÿ@x¦ÿ=s ÿ9m™ÿ6i”ÿ6i”ÿ6i”ÿHÿâUÿýÝJ÷ùÕ>‚ PÃÿL‰¼ÿH„µÿE¯ÿAy¨ÿ=t¡ÿ:o›ÿ6i”ÿ6i”ÿ6i”ÿ2`‡¶CÿÞKÿÿÚAÿýÕ6í$M‹¾ÿI…·ÿF€°ÿB{ªÿ>u£ÿ;pœÿ7j–ÿ6i”ÿ5h’÷2`‡¶OìÎEˆÿÚBÿÿÖ7ÿÿÓ-ÿ=J‡¹ÿG²ÿC|«ÿ?v¥ÿ6i“¶1E\LHGAâÃEkýÙA÷ÿ×8ÿÿÓ-ÿÿÏ#ÿFF²÷D}­ÿ@x¦ÿ6g‘ªNòán¦ýéj÷ÿæaÿÿãWÿÿßMÿÿÛBÿÿ×8ÿÿÓ.ÿÿÏ$ÿýË÷GC}®×Ay¨ÿ=t¡ÿ2K[õão³ÿëlÿÿçaÿÿãWÿÿßMÿÿÛCÿÿ×9ÿÿÓ.ÿÿÏ$ÿÿÌÿóÁÂA@u£o=s¢÷:pœÿKÿëlÿÿçbÿÿãXÿÿßNÿÿÛCÿÿ×9ÿÿÓ/ÿÿÏ$ÿÿÌÿÿÌÿšz4!<5ÿçbÿÿãXÿÿßNÿèÇ=ªëÅ4©ëÂ*©ë¾!©ë»©ë»©Æ›yA  ÿãXÿÿßNÿÿÛDÿÿ×:ÿÿÓ0ÿÿÐ%ÿÿÌÿA5, ýÞN÷ÿÛDÿÿØ:ÿÿÔ0ÿÿÐ&ÿÿÿÿÿýË÷@ ñÐ?LúÓ9ÌýÒ/÷ÿÐ&ÿÿÌÿúÇØÀ—{;5BGE8Ú   "€)>?âR ×£ÿÿÿÿ€ázTÿÿÿÿÍÌLÿÿÿÿš™™ÿÿÿÿ€ff&ÿÿÿÿð(\ÿÿÿÿ€ PÿÿÿÿX9Tÿÿÿÿpython.tiff
1,326
6
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.ras
Y¦j• ¯NÀíJ†ºÿHƒ´ÿD~­ÿ@x§÷<qž’7h– ÿLмÿÿÿÿÿE¯ÿAy¨ÿ>t¢ÿ:o›ÿ6i”( ÿI…·ÿF€±ÿB{ªÿ>u£ÿ;pÿ7j–ÿ6i”A~NÄ LŠ¿¡H…¶£C}­§=t¡ª9l–ª6fÿ8l—ÿ6i”ÿ6i”H½R‘ÆÿOÁÿKˆ»ÿHƒ´ÿD}­ÿ@x¦ÿ=s ÿ9m™ÿ6i”ÿ6i”ÿ6i”HÿÿâU÷ýÝJ‚ùÕ> ÿPÃÿL‰¼ÿH„µÿE¯ÿAy¨ÿ=t¡ÿ:o›ÿ6i”ÿ6i”ÿ6i”¶2`‡CÿÿÞKÿÿÚAíýÕ6$ÿM‹¾ÿI…·ÿF€°ÿB{ªÿ>u£ÿ;pœÿ7j–ÿ6i”÷5h’¶2`‡OˆìÎEÿÿÚBÿÿÖ7ÿÿÓ-=ÿJ‡¹ÿG²ÿC|«ÿ?v¥¶6i“\1ELHGAkâÃE÷ýÙAÿÿ×8ÿÿÓ-ÿÿÏ#F÷F²ÿD}­ÿ@x¦ª6g‘N¦òán÷ýéjÿÿæaÿÿãWÿÿßMÿÿÛBÿÿ×8ÿÿÓ.ÿÿÏ$÷ýËG×C}®ÿAy¨ÿ=t¡[2K³õãoÿÿëlÿÿçaÿÿãWÿÿßMÿÿÛCÿÿ×9ÿÿÓ.ÿÿÏ$ÿÿÌÂóÁAo@u£÷=s¢ÿ:pœKÿÿëlÿÿçbÿÿãXÿÿßNÿÿÛCÿÿ×9ÿÿÓ/ÿÿÏ$ÿÿÌÿÿÌzš4!<5ÿÿçbÿÿãXÿÿßNªèÇ=©ëÅ4©ëÂ*©ë¾!©ë»©ë»yƛA  ÿÿãXÿÿßNÿÿÛDÿÿ×:ÿÿÓ0ÿÿÐ%ÿÿÌA5, ÷ýÞNÿÿÛDÿÿØ:ÿÿÔ0ÿÿÐ&ÿÿÿÿ÷ýË@ LñÐ?ÌúÓ9÷ýÒ/ÿÿÐ&ÿÿÌØúÇ{À—;5BGE8
1,056
2
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.xbm
#define python_width 16 #define python_height 16 static char python_bits[] = { 0xDF, 0xFE, 0x8F, 0xFD, 0x5F, 0xFB, 0xAB, 0xFE, 0xB5, 0x8D, 0xDA, 0x8F, 0xA5, 0x86, 0xFA, 0x83, 0x1A, 0x80, 0x0D, 0x80, 0x0D, 0x80, 0x0F, 0xE0, 0x0F, 0xF8, 0x0F, 0xF8, 0x0F, 0xFC, 0xFF, 0xFF, };
282
7
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.bmp
BMŠŠ| ÿÿÿÿBGRs€Âõ(`¸ …ë@33€ff&@ff ™™ < ×$\25BGE8?ÐñL9ÓúÌ/Òý÷&ÐÿÿÌÿÿÇúØ—À{;NÞý÷DÛÿÿ:Øÿÿ0Ôÿÿ&ÐÿÿÿÿÿÿËý÷@  XãÿÿNßÿÿDÛÿÿ:×ÿÿ0Óÿÿ%ÐÿÿÌÿÿA5, !<5bçÿÿXãÿÿNßÿÿ=Çèª4Åë©*Âë©!¾ë©»ë©»ë©›ÆyA £u@o¢s=÷œp:ÿKlëÿÿbçÿÿXãÿÿNßÿÿCÛÿÿ9×ÿÿ/Óÿÿ$ÏÿÿÌÿÿÌÿÿšÂz4®}CרyAÿ¡t=ÿK2[oãõ³lëÿÿaçÿÿWãÿÿMßÿÿCÛÿÿ9×ÿÿ.Óÿÿ$ÏÿÿÌÿÿÁóÂA²F÷­}Dÿ¦x@ÿ‘g6ªNnáò¦jéý÷aæÿÿWãÿÿMßÿÿBÛÿÿ8×ÿÿ.Óÿÿ$ÏÿÿËý÷G¹‡Jÿ²Gÿ«|Cÿ¥v?ÿ“i6¶E1\LHGAEÃâkAÙý÷8×ÿÿ-Óÿÿ#ÏÿÿF¾‹Mÿ·…Iÿ°€Fÿª{Bÿ£u>ÿœp;ÿ–j7ÿ”i6ÿ’h5÷‡`2¶OEÎìˆBÚÿÿ7Öÿÿ-Óÿÿ=ÏPÿ¼‰Lÿµ„Hÿ¯Eÿ¨yAÿ¡t=ÿ›o:ÿ”i6ÿ”i6ÿ”i6ÿ‡`2¶CKÞÿÿAÚÿÿ6Õýí$ƑR½ÁOÿ»ˆKÿ´ƒHÿ­}Dÿ¦x@ÿ s=ÿ™m9ÿ”i6ÿ”i6ÿ”i6ÿHUâÿÿJÝý÷>Õù‚ ďN~¿ŠL ¶…H¡­}C£¡t=§–l9ªf6ª—l8ÿ”i6ÿ”i6ÿH·…Iÿ±€Fÿª{Bÿ£u>ÿp;ÿ–j7ÿ”i6ÿA¼ŠLÿÿÿÿÿ¯Eÿ¨yAÿ¢t>ÿ›o:ÿ”i6ÿ( ÀN¯º†Jí´ƒHÿ­~Dÿ§x@ÿžq<÷–h7’ 
1,162
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.sgi
ÚÿNƒ´ó3u»HÙHy%YŠÁÿ@„Ì\¤è$U†2f—ÑT˜ß(p¸÷1b“ ?s¤á'h¬ò<„Ì>o           ‰5BGE8‡ñúýÿÿúÀ‡ÐÓÒÐÌǗ‡?9/&‰LÌ÷ÿÿØ{;ýÿý‡ÞÛØÔÐÿˇND:0&ÿ÷ÿ„÷@ ÿ‡ãßÛ×ÓÐ̇XND:0%„ ÿƒA5, ÿèëÆŠçãßÇž»»›ŠbXN=4*!„!<5ÿª©yA „@=: ÿÂŽuspëçãßÛ×ÓÏÌÌšŽ£¢œlbXNC9/$„o÷ÿK ÿz4…CA=õ ÿóŽ}yt2ãëçãßÛ×ÓÏÌÁŽ®¨¡KolaWMC9.$…×ÿÿ[³ ÿÂA‡FD@6òýÿýށ}xgáéæãßÛ×ÓÏË޲­¦‘njaWMB8.$‡÷ÿÿªN¦÷ÿ÷G†JGC?6‚âýÿ†‡|vi1„ÃÙ×Óφ¹²«¥“E„EA8-#ÿˆ¶\LHGAk÷ÿFŒMIFB>;7652ìÿŽ‹…€{upjih`ÎÚÖÓ޾·°ª£œ–”’‡EB7-ÿ„÷¶Oˆÿ=‡PLHEA=:6„2ÿÿý‡‰„ytoi„`ÞÚՇüµ¯¨¡›”„‡KA6 ÿ„¶Cÿÿí$ˆROKHD@=96ƒÿýùˆ‘ˆƒ}xsmiƒâÝÕˆÆÁ»´­¦ ™”ƒUJ>½ ÿƒHÿ÷‚ ‹NLHC=96866‹Š…}tlflii‹Ä¿¶­¡–—””ˆ~ ¡£§ªªÿ‚H‡IFB>;76‡…€{upji‡·±ª£–”ÿ‚A‡LÿEA>:6‡Šÿytoi‡¼ÿ¯¨¢›”ÿ‚( ‡NJHD@<7‡†ƒ~xqh‡Àº´­§ž–‚¯íÿ„÷’ 
1,967
28
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.pgm
P5 16 16 255 ƒ}zuoia€ÿvplga|wrmhba…|tld_daa‡„ztokeaaaÞÙ҅€{vplgaaaYÚ×ҁ|wrmhba`YÊ×ÓÐ~xsna.ÀÖÔÐÍxto`ÜäâßÛØÔÐÍÉtpl/ÞæâßÛØÔÐÍÊÀmkhæãßÛØÔÑÍÊʙãßÛÄÃÀ¼¹¹šßÛØÔÑÎÊÚØÕÑÎÿÉÍÐÏÎÊŖ
269
4
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/imghdrdata/python.pbm
P4 16 16 ûñ¿úßÕ­±[ñ¥a_ÁX°°ðððð?ÿÿ
41
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_fail.py
from test.test_json import PyTest, CTest # 2007-10-05 JSONDOCS = [ # http://json.org/JSON_checker/test/fail1.json '"A JSON payload should be an object or array, not a string."', # http://json.org/JSON_checker/test/fail2.json '["Unclosed array"', # http://json.org/JSON_checker/test/fail3.json '{unquoted_key: "keys must be quoted"}', # http://json.org/JSON_checker/test/fail4.json '["extra comma",]', # http://json.org/JSON_checker/test/fail5.json '["double extra comma",,]', # http://json.org/JSON_checker/test/fail6.json '[ , "<-- missing value"]', # http://json.org/JSON_checker/test/fail7.json '["Comma after the close"],', # http://json.org/JSON_checker/test/fail8.json '["Extra close"]]', # http://json.org/JSON_checker/test/fail9.json '{"Extra comma": true,}', # http://json.org/JSON_checker/test/fail10.json '{"Extra value after close": true} "misplaced quoted value"', # http://json.org/JSON_checker/test/fail11.json '{"Illegal expression": 1 + 2}', # http://json.org/JSON_checker/test/fail12.json '{"Illegal invocation": alert()}', # http://json.org/JSON_checker/test/fail13.json '{"Numbers cannot have leading zeroes": 013}', # http://json.org/JSON_checker/test/fail14.json '{"Numbers cannot be hex": 0x14}', # http://json.org/JSON_checker/test/fail15.json '["Illegal backslash escape: \\x15"]', # http://json.org/JSON_checker/test/fail16.json '[\\naked]', # http://json.org/JSON_checker/test/fail17.json '["Illegal backslash escape: \\017"]', # http://json.org/JSON_checker/test/fail18.json '[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]', # http://json.org/JSON_checker/test/fail19.json '{"Missing colon" null}', # http://json.org/JSON_checker/test/fail20.json '{"Double colon":: null}', # http://json.org/JSON_checker/test/fail21.json '{"Comma instead of colon", null}', # http://json.org/JSON_checker/test/fail22.json '["Colon instead of comma": false]', # http://json.org/JSON_checker/test/fail23.json '["Bad value", truth]', # http://json.org/JSON_checker/test/fail24.json "['single quote']", # http://json.org/JSON_checker/test/fail25.json '["\ttab\tcharacter\tin\tstring\t"]', # http://json.org/JSON_checker/test/fail26.json '["tab\\ character\\ in\\ string\\ "]', # http://json.org/JSON_checker/test/fail27.json '["line\nbreak"]', # http://json.org/JSON_checker/test/fail28.json '["line\\\nbreak"]', # http://json.org/JSON_checker/test/fail29.json '[0e]', # http://json.org/JSON_checker/test/fail30.json '[0e+]', # http://json.org/JSON_checker/test/fail31.json '[0e+-1]', # http://json.org/JSON_checker/test/fail32.json '{"Comma instead if closing brace": true,', # http://json.org/JSON_checker/test/fail33.json '["mismatch"}', # http://code.google.com/p/simplejson/issues/detail?id=3 '["A\u001FZ control characters in string"]', ] SKIPS = { 1: "why not have a string payload?", 18: "spec doesn't specify any nesting limitations", } class TestFail: def test_failures(self): for idx, doc in enumerate(JSONDOCS): idx = idx + 1 if idx in SKIPS: self.loads(doc) continue try: self.loads(doc) except self.JSONDecodeError: pass else: self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc)) def test_non_string_keys_dict(self): data = {'a' : 1, (1, 2) : 2} #This is for c encoder self.assertRaises(TypeError, self.dumps, data) #This is for python encoder self.assertRaises(TypeError, self.dumps, data, indent=True) def test_truncated_input(self): test_cases = [ ('', 'Expecting value', 0), ('[', 'Expecting value', 1), ('[42', "Expecting ',' delimiter", 3), ('[42,', 'Expecting value', 4), ('["', 'Unterminated string starting at', 1), ('["spam', 'Unterminated string starting at', 1), ('["spam"', "Expecting ',' delimiter", 7), ('["spam",', 'Expecting value', 8), ('{', 'Expecting property name enclosed in double quotes', 1), ('{"', 'Unterminated string starting at', 1), ('{"spam', 'Unterminated string starting at', 1), ('{"spam"', "Expecting ':' delimiter", 7), ('{"spam":', 'Expecting value', 8), ('{"spam":42', "Expecting ',' delimiter", 10), ('{"spam":42,', 'Expecting property name enclosed in double quotes', 11), ] test_cases += [ ('"', 'Unterminated string starting at', 0), ('"spam', 'Unterminated string starting at', 0), ] for data, msg, idx in test_cases: with self.assertRaises(self.JSONDecodeError) as cm: self.loads(data) err = cm.exception self.assertEqual(err.msg, msg) self.assertEqual(err.pos, idx) self.assertEqual(err.lineno, 1) self.assertEqual(err.colno, idx + 1) self.assertEqual(str(err), '%s: line 1 column %d (char %d)' % (msg, idx + 1, idx)) def test_unexpected_data(self): test_cases = [ ('[,', 'Expecting value', 1), ('{"spam":[}', 'Expecting value', 9), ('[42:', "Expecting ',' delimiter", 3), ('[42 "spam"', "Expecting ',' delimiter", 4), ('[42,]', 'Expecting value', 4), ('{"spam":[42}', "Expecting ',' delimiter", 11), ('["]', 'Unterminated string starting at', 1), ('["spam":', "Expecting ',' delimiter", 7), ('["spam",]', 'Expecting value', 8), ('{:', 'Expecting property name enclosed in double quotes', 1), ('{,', 'Expecting property name enclosed in double quotes', 1), ('{42', 'Expecting property name enclosed in double quotes', 1), ('[{]', 'Expecting property name enclosed in double quotes', 2), ('{"spam",', "Expecting ':' delimiter", 7), ('{"spam"}', "Expecting ':' delimiter", 7), ('[{"spam"]', "Expecting ':' delimiter", 8), ('{"spam":}', 'Expecting value', 8), ('[{"spam":]', 'Expecting value', 9), ('{"spam":42 "ham"', "Expecting ',' delimiter", 11), ('[{"spam":42]', "Expecting ',' delimiter", 11), ('{"spam":42,}', 'Expecting property name enclosed in double quotes', 11), ] for data, msg, idx in test_cases: with self.assertRaises(self.JSONDecodeError) as cm: self.loads(data) err = cm.exception self.assertEqual(err.msg, msg) self.assertEqual(err.pos, idx) self.assertEqual(err.lineno, 1) self.assertEqual(err.colno, idx + 1) self.assertEqual(str(err), '%s: line 1 column %d (char %d)' % (msg, idx + 1, idx)) def test_extra_data(self): test_cases = [ ('[]]', 'Extra data', 2), ('{}}', 'Extra data', 2), ('[],[]', 'Extra data', 2), ('{},{}', 'Extra data', 2), ] test_cases += [ ('42,"spam"', 'Extra data', 2), ('"spam",42', 'Extra data', 6), ] for data, msg, idx in test_cases: with self.assertRaises(self.JSONDecodeError) as cm: self.loads(data) err = cm.exception self.assertEqual(err.msg, msg) self.assertEqual(err.pos, idx) self.assertEqual(err.lineno, 1) self.assertEqual(err.colno, idx + 1) self.assertEqual(str(err), '%s: line 1 column %d (char %d)' % (msg, idx + 1, idx)) def test_linecol(self): test_cases = [ ('!', 1, 1, 0), (' !', 1, 2, 1), ('\n!', 2, 1, 1), ('\n \n\n !', 4, 6, 10), ] for data, line, col, idx in test_cases: with self.assertRaises(self.JSONDecodeError) as cm: self.loads(data) err = cm.exception self.assertEqual(err.msg, 'Expecting value') self.assertEqual(err.pos, idx) self.assertEqual(err.lineno, line) self.assertEqual(err.colno, col) self.assertEqual(str(err), 'Expecting value: line %s column %d (char %d)' % (line, col, idx)) class TestPyFail(TestFail, PyTest): pass class TestCFail(TestFail, CTest): pass
8,884
217
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_dump.py
from io import StringIO from test.test_json import PyTest, CTest from test.support import bigmemtest, _1G class TestDump: def test_dump(self): sio = StringIO() self.json.dump({}, sio) self.assertEqual(sio.getvalue(), '{}') def test_dumps(self): self.assertEqual(self.dumps({}), '{}') def test_encode_truefalse(self): self.assertEqual(self.dumps( {True: False, False: True}, sort_keys=True), '{"false": true, "true": false}') self.assertEqual(self.dumps( {2: 3.0, 4.0: 5, False: 1, 6: True}, sort_keys=True), '{"false": 1, "2": 3.0, "4.0": 5, "6": true}') # Issue 16228: Crash on encoding resized list def test_encode_mutated(self): a = [object()] * 10 def crasher(obj): del a[-1] self.assertEqual(self.dumps(a, default=crasher), '[null, null, null, null, null]') # Issue 24094 def test_encode_evil_dict(self): class D(dict): def keys(self): return L class X: def __hash__(self): del L[0] return 1337 def __lt__(self, o): return 0 L = [X() for i in range(1122)] d = D() d[1337] = "true.dat" self.assertEqual(self.dumps(d, sort_keys=True), '{"1337": "true.dat"}') class TestPyDump(TestDump, PyTest): pass class TestCDump(TestDump, CTest): # The size requirement here is hopefully over-estimated (actual # memory consumption depending on implementation details, and also # system memory management, since this may allocate a lot of # small objects). @bigmemtest(size=_1G, memuse=1) def test_large_list(self, size): N = int(30 * 1024 * 1024 * (size / _1G)) l = [1] * N encoded = self.dumps(l) self.assertEqual(len(encoded), N * 3) self.assertEqual(encoded[:1], "[") self.assertEqual(encoded[-2:], "1]") self.assertEqual(encoded[1:-2], "1, " * (N - 1))
2,085
69
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_scanstring.py
import sys from test.test_json import PyTest, CTest class TestScanstring: def test_scanstring(self): scanstring = self.json.decoder.scanstring self.assertEqual( scanstring('"z\U0001d120x"', 1, True), ('z\U0001d120x', 5)) self.assertEqual( scanstring('"\\u007b"', 1, True), ('{', 8)) self.assertEqual( scanstring('"A JSON payload should be an object or array, not a string."', 1, True), ('A JSON payload should be an object or array, not a string.', 60)) self.assertEqual( scanstring('["Unclosed array"', 2, True), ('Unclosed array', 17)) self.assertEqual( scanstring('["extra comma",]', 2, True), ('extra comma', 14)) self.assertEqual( scanstring('["double extra comma",,]', 2, True), ('double extra comma', 21)) self.assertEqual( scanstring('["Comma after the close"],', 2, True), ('Comma after the close', 24)) self.assertEqual( scanstring('["Extra close"]]', 2, True), ('Extra close', 14)) self.assertEqual( scanstring('{"Extra comma": true,}', 2, True), ('Extra comma', 14)) self.assertEqual( scanstring('{"Extra value after close": true} "misplaced quoted value"', 2, True), ('Extra value after close', 26)) self.assertEqual( scanstring('{"Illegal expression": 1 + 2}', 2, True), ('Illegal expression', 21)) self.assertEqual( scanstring('{"Illegal invocation": alert()}', 2, True), ('Illegal invocation', 21)) self.assertEqual( scanstring('{"Numbers cannot have leading zeroes": 013}', 2, True), ('Numbers cannot have leading zeroes', 37)) self.assertEqual( scanstring('{"Numbers cannot be hex": 0x14}', 2, True), ('Numbers cannot be hex', 24)) self.assertEqual( scanstring('[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]', 21, True), ('Too deep', 30)) self.assertEqual( scanstring('{"Missing colon" null}', 2, True), ('Missing colon', 16)) self.assertEqual( scanstring('{"Double colon":: null}', 2, True), ('Double colon', 15)) self.assertEqual( scanstring('{"Comma instead of colon", null}', 2, True), ('Comma instead of colon', 25)) self.assertEqual( scanstring('["Colon instead of comma": false]', 2, True), ('Colon instead of comma', 25)) self.assertEqual( scanstring('["Bad value", truth]', 2, True), ('Bad value', 12)) def test_surrogates(self): scanstring = self.json.decoder.scanstring def assertScan(given, expect): self.assertEqual(scanstring(given, 1, True), (expect, len(given))) assertScan('"z\\ud834\\u0079x"', 'z\ud834yx') assertScan('"z\\ud834\\udd20x"', 'z\U0001d120x') assertScan('"z\\ud834\\ud834\\udd20x"', 'z\ud834\U0001d120x') assertScan('"z\\ud834x"', 'z\ud834x') assertScan('"z\\ud834\udd20x12345"', 'z\ud834\udd20x12345') assertScan('"z\\udd20x"', 'z\udd20x') assertScan('"z\ud834\udd20x"', 'z\ud834\udd20x') assertScan('"z\ud834\\udd20x"', 'z\ud834\udd20x') assertScan('"z\ud834x"', 'z\ud834x') def test_bad_escapes(self): scanstring = self.json.decoder.scanstring bad_escapes = [ '"\\"', '"\\x"', '"\\u"', '"\\u0"', '"\\u01"', '"\\u012"', '"\\uz012"', '"\\u0z12"', '"\\u01z2"', '"\\u012z"', '"\\u0x12"', '"\\u0X12"', '"\\ud834\\"', '"\\ud834\\u"', '"\\ud834\\ud"', '"\\ud834\\udd"', '"\\ud834\\udd2"', '"\\ud834\\uzdd2"', '"\\ud834\\udzd2"', '"\\ud834\\uddz2"', '"\\ud834\\udd2z"', '"\\ud834\\u0x20"', '"\\ud834\\u0X20"', ] for s in bad_escapes: with self.assertRaises(self.JSONDecodeError, msg=s): scanstring(s, 1, True) def test_overflow(self): with self.assertRaises(OverflowError): self.json.decoder.scanstring(b"xxx", sys.maxsize+1) class TestPyScanstring(TestScanstring, PyTest): pass class TestCScanstring(TestScanstring, CTest): pass
4,655
142
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_unicode.py
import codecs from collections import OrderedDict from test.test_json import PyTest, CTest class TestUnicode: # test_encoding1 and test_encoding2 from 2.x are irrelevant (only str # is supported as input, not bytes). def test_encoding3(self): u = '\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}' j = self.dumps(u) self.assertEqual(j, '"\\u03b1\\u03a9"') def test_encoding4(self): u = '\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}' j = self.dumps([u]) self.assertEqual(j, '["\\u03b1\\u03a9"]') def test_encoding5(self): u = '\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}' j = self.dumps(u, ensure_ascii=False) self.assertEqual(j, '"{0}"'.format(u)) def test_encoding6(self): u = '\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}' j = self.dumps([u], ensure_ascii=False) self.assertEqual(j, '["{0}"]'.format(u)) def test_big_unicode_encode(self): u = '\U0001d120' self.assertEqual(self.dumps(u), '"\\ud834\\udd20"') self.assertEqual(self.dumps(u, ensure_ascii=False), '"\U0001d120"') def test_big_unicode_decode(self): u = 'z\U0001d120x' self.assertEqual(self.loads('"' + u + '"'), u) self.assertEqual(self.loads('"z\\ud834\\udd20x"'), u) def test_unicode_decode(self): for i in range(0, 0xd7ff): u = chr(i) s = '"\\u{0:04x}"'.format(i) self.assertEqual(self.loads(s), u) def test_unicode_preservation(self): self.assertEqual(type(self.loads('""')), str) self.assertEqual(type(self.loads('"a"')), str) self.assertEqual(type(self.loads('["a"]')[0]), str) def test_bytes_encode(self): self.assertRaises(TypeError, self.dumps, b"hi") self.assertRaises(TypeError, self.dumps, [b"hi"]) def test_bytes_decode(self): return for encoding, bom in [ ('utf-8', codecs.BOM_UTF8), ('utf-16be', codecs.BOM_UTF16_BE), ('utf-16le', codecs.BOM_UTF16_LE), ('utf-32be', codecs.BOM_UTF32_BE), ('utf-32le', codecs.BOM_UTF32_LE), ]: data = ["a\xb5\u20ac\U0001d120"] encoded = self.dumps(data).encode(encoding) self.assertEqual(self.loads(bom + encoded), data) self.assertEqual(self.loads(encoded), data) self.assertRaises(UnicodeDecodeError, self.loads, b'["\x80"]') # RFC-7159 and ECMA-404 extend JSON to allow documents that # consist of only a string, which can present a special case # not covered by the encoding detection patterns specified in # RFC-4627 for utf-16-le (XX 00 XX 00). self.assertEqual(self.loads('"\u2600"'.encode('utf-16-le')), '\u2600') # Encoding detection for small (<4) bytes objects # is implemented as a special case. RFC-7159 and ECMA-404 # allow single codepoint JSON documents which are only two # bytes in utf-16 encodings w/o BOM. self.assertEqual(self.loads(b'5\x00'), 5) self.assertEqual(self.loads(b'\x007'), 7) self.assertEqual(self.loads(b'57'), 57) def test_object_pairs_hook_with_unicode(self): s = '{"xkd":1, "kcw":2, "art":3, "hxm":4, "qrt":5, "pad":6, "hoy":7}' p = [("xkd", 1), ("kcw", 2), ("art", 3), ("hxm", 4), ("qrt", 5), ("pad", 6), ("hoy", 7)] self.assertEqual(self.loads(s), eval(s)) self.assertEqual(self.loads(s, object_pairs_hook = lambda x: x), p) od = self.loads(s, object_pairs_hook = OrderedDict) self.assertEqual(od, OrderedDict(p)) self.assertEqual(type(od), OrderedDict) # the object_pairs_hook takes priority over the object_hook self.assertEqual(self.loads(s, object_pairs_hook = OrderedDict, object_hook = lambda x: None), OrderedDict(p)) class TestPyUnicode(TestUnicode, PyTest): pass class TestCUnicode(TestUnicode, CTest): pass
4,144
97
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_speedups.py
from test.test_json import CTest class BadBool: def __bool__(self): 1/0 class TestSpeedups(CTest): def test_scanstring(self): self.assertEqual(self.json.decoder.scanstring.__module__, "_json") self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring) def test_encode_basestring_ascii(self): self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, "_json") self.assertIs(self.json.encoder.encode_basestring_ascii, self.json.encoder.c_encode_basestring_ascii) class TestDecode(CTest): def test_make_scanner(self): self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1) def test_bad_bool_args(self): def test(value): self.json.decoder.JSONDecoder(strict=BadBool()).decode(value) self.assertRaises(ZeroDivisionError, test, '""') self.assertRaises(ZeroDivisionError, test, '{}') class TestEncode(CTest): def test_make_encoder(self): self.assertRaises(TypeError, self.json.encoder.c_make_encoder, (True, False), b"\xCD\x7D\x3D\x4E\x12\x4C\xF9\x79\xD7\x52\xBA\x82\xF2\x27\x4A\x7D\xA0\xCA\x75", None) def test_bad_str_encoder(self): # Issue #31505: There shouldn't be an assertion failure in case # c_make_encoder() receives a bad encoder() argument. def bad_encoder1(*args): return None enc = self.json.encoder.c_make_encoder(None, lambda obj: str(obj), bad_encoder1, None, ': ', ', ', False, False, False) with self.assertRaises(TypeError): enc('spam', 4) with self.assertRaises(TypeError): enc({'spam': 42}, 4) def bad_encoder2(*args): 1/0 enc = self.json.encoder.c_make_encoder(None, lambda obj: str(obj), bad_encoder2, None, ': ', ', ', False, False, False) with self.assertRaises(ZeroDivisionError): enc('spam', 4) def test_bad_bool_args(self): def test(name): self.json.encoder.JSONEncoder(**{name: BadBool()}).encode({'a': 1}) self.assertRaises(ZeroDivisionError, test, 'skipkeys') self.assertRaises(ZeroDivisionError, test, 'ensure_ascii') self.assertRaises(ZeroDivisionError, test, 'check_circular') self.assertRaises(ZeroDivisionError, test, 'allow_nan') self.assertRaises(ZeroDivisionError, test, 'sort_keys') def test_unsortable_keys(self): with self.assertRaises(TypeError): self.json.encoder.JSONEncoder(sort_keys=True).encode({'a': 1, 1: 'a'})
2,826
72
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_recursion.py
from test.test_json import PyTest, CTest import unittest import cosmo class JSONTestObject: pass class TestRecursion: def test_listrecursion(self): x = [] x.append(x) try: self.dumps(x) except ValueError: pass else: self.fail("didn't raise ValueError on list recursion") x = [] y = [x] x.append(y) try: self.dumps(x) except ValueError: pass else: self.fail("didn't raise ValueError on alternating list recursion") y = [] x = [y, y] # ensure that the marker is cleared self.dumps(x) def test_dictrecursion(self): x = {} x["test"] = x try: self.dumps(x) except ValueError: pass else: self.fail("didn't raise ValueError on dict recursion") x = {} y = {"a": x, "b": x} # ensure that the marker is cleared self.dumps(x) def test_defaultrecursion(self): class RecursiveJSONEncoder(self.json.JSONEncoder): recurse = False def default(self, o): if o is JSONTestObject: if self.recurse: return [JSONTestObject] else: return 'JSONTestObject' return pyjson.JSONEncoder.default(o) enc = RecursiveJSONEncoder() self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"') enc.recurse = True try: enc.encode(JSONTestObject) except ValueError: pass else: self.fail("didn't raise ValueError on default recursion") def test_highly_nested_objects_decoding(self): # test that loading highly-nested objects doesn't segfault when C # accelerations are used. See #12017 with self.assertRaises((RecursionError, MemoryError)): self.loads('{"a":' * 100000 + '1' + '}' * 100000) with self.assertRaises((RecursionError, MemoryError)): self.loads('{"a":' * 100000 + '[1]' + '}' * 100000) with self.assertRaises((RecursionError, MemoryError)): self.loads('[' * 100000 + '1' + ']' * 100000) def test_highly_nested_objects_encoding(self): # See #12051 l, d = [], {} for x in range(100000): l, d = [l], {'k':d} with self.assertRaises((RecursionError, MemoryError)): self.dumps(l) with self.assertRaises((RecursionError, MemoryError)): self.dumps(d) def test_endless_recursion(self): # See #12051 class EndlessJSONEncoder(self.json.JSONEncoder): def default(self, o): """If check_circular is False, this will keep adding another list.""" return [o] with self.assertRaises((RecursionError, MemoryError)): EndlessJSONEncoder(check_circular=False).encode(5j) class TestPyRecursion(TestRecursion, PyTest): pass class TestCRecursion(TestRecursion, CTest): pass
3,137
103
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_decode.py
import decimal from io import StringIO, BytesIO from collections import OrderedDict from test.test_json import PyTest, CTest class TestDecode: def test_decimal(self): rval = self.loads('1.1', parse_float=decimal.Decimal) self.assertTrue(isinstance(rval, decimal.Decimal)) self.assertEqual(rval, decimal.Decimal('1.1')) def test_float(self): rval = self.loads('1', parse_int=float) self.assertTrue(isinstance(rval, float)) self.assertEqual(rval, 1.0) def test_empty_objects(self): self.assertEqual(self.loads('{}'), {}) self.assertEqual(self.loads('[]'), []) self.assertEqual(self.loads('""'), "") def test_object_pairs_hook(self): s = '{"xkd":1, "kcw":2, "art":3, "hxm":4, "qrt":5, "pad":6, "hoy":7}' p = [("xkd", 1), ("kcw", 2), ("art", 3), ("hxm", 4), ("qrt", 5), ("pad", 6), ("hoy", 7)] self.assertEqual(self.loads(s), eval(s)) self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p) self.assertEqual(self.json.load(StringIO(s), object_pairs_hook=lambda x: x), p) od = self.loads(s, object_pairs_hook=OrderedDict) self.assertEqual(od, OrderedDict(p)) self.assertEqual(type(od), OrderedDict) # the object_pairs_hook takes priority over the object_hook self.assertEqual(self.loads(s, object_pairs_hook=OrderedDict, object_hook=lambda x: None), OrderedDict(p)) # check that empty object literals work (see #17368) self.assertEqual(self.loads('{}', object_pairs_hook=OrderedDict), OrderedDict()) self.assertEqual(self.loads('{"empty": {}}', object_pairs_hook=OrderedDict), OrderedDict([('empty', OrderedDict())])) def test_decoder_optimizations(self): # Several optimizations were made that skip over calls to # the whitespace regex, so this test is designed to try and # exercise the uncommon cases. The array cases are already covered. rval = self.loads('{ "key" : "value" , "k":"v" }') self.assertEqual(rval, {"key":"value", "k":"v"}) def check_keys_reuse(self, source, loads): rval = loads(source) (a, b), (c, d) = sorted(rval[0]), sorted(rval[1]) self.assertIs(a, c) self.assertIs(b, d) def test_keys_reuse(self): s = '[{"a_key": 1, "b_\xe9": 2}, {"a_key": 3, "b_\xe9": 4}]' self.check_keys_reuse(s, self.loads) decoder = self.json.decoder.JSONDecoder() self.check_keys_reuse(s, decoder.decode) self.assertFalse(decoder.memo) def test_extra_data(self): s = '[1, 2, 3]5' msg = 'Extra data' self.assertRaisesRegex(self.JSONDecodeError, msg, self.loads, s) def test_invalid_escape(self): s = '["abc\\y"]' msg = 'escape' self.assertRaisesRegex(self.JSONDecodeError, msg, self.loads, s) def test_invalid_input_type(self): msg = 'the JSON object must be str' for value in [1, 3.14, [], {}, None]: self.assertRaisesRegex(TypeError, msg, self.loads, value) def test_string_with_utf8_bom(self): return # see #18958 bom_json = "[1,2,3]".encode('utf-8-sig').decode('utf-8') with self.assertRaises(self.JSONDecodeError) as cm: self.loads(bom_json) self.assertIn('BOM', str(cm.exception)) with self.assertRaises(self.JSONDecodeError) as cm: self.json.load(StringIO(bom_json)) self.assertIn('BOM', str(cm.exception)) # make sure that the BOM is not detected in the middle of a string bom_in_str = '"{}"'.format(''.encode('utf-8-sig').decode('utf-8')) self.assertEqual(self.loads(bom_in_str), '\ufeff') self.assertEqual(self.json.load(StringIO(bom_in_str)), '\ufeff') def test_negative_index(self): d = self.json.JSONDecoder() self.assertRaises(ValueError, d.raw_decode, 'a'*42, -50000) class TestPyDecode(TestDecode, PyTest): pass class TestCDecode(TestDecode, CTest): pass
4,243
101
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_separators.py
import textwrap from test.test_json import PyTest, CTest class TestSeparators: def test_separators(self): h = [['blorpie'], ['whoops'], [], 'd-shtaeou', 'd-nthiouh', 'i-vhbjkhnth', {'nifty': 87}, {'field': 'yes', 'morefield': False} ] expect = textwrap.dedent("""\ [ [ "blorpie" ] , [ "whoops" ] , [] , "d-shtaeou" , "d-nthiouh" , "i-vhbjkhnth" , { "nifty" : 87 } , { "field" : "yes" , "morefield" : false } ]""") d1 = self.dumps(h) d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : ')) h1 = self.loads(d1) h2 = self.loads(d2) self.assertEqual(h1, h) self.assertEqual(h2, h) self.assertEqual(d2, expect) def test_illegal_separators(self): h = {1: 2, 3: 4} self.assertRaises(TypeError, self.dumps, h, separators=(b', ', ': ')) self.assertRaises(TypeError, self.dumps, h, separators=(', ', b': ')) self.assertRaises(TypeError, self.dumps, h, separators=(b', ', b': ')) class TestPySeparators(TestSeparators, PyTest): pass class TestCSeparators(TestSeparators, CTest): pass
1,319
51
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/__main__.py
import unittest from test.test_json import load_tests unittest.main()
71
5
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_encode_basestring_ascii.py
from collections import OrderedDict from test.test_json import PyTest, CTest from test.support import bigaddrspacetest CASES = [ ('/\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\x08\x0c\n\r\t`1~!@#$%^&*()_+-=[]{}|;:\',./<>?', '"/\\\\\\"\\ucafe\\ubabe\\uab98\\ufcde\\ubcda\\uef4a\\b\\f\\n\\r\\t`1~!@#$%^&*()_+-=[]{}|;:\',./<>?"'), ('\u0123\u4567\u89ab\ucdef\uabcd\uef4a', '"\\u0123\\u4567\\u89ab\\ucdef\\uabcd\\uef4a"'), ('controls', '"controls"'), ('\x08\x0c\n\r\t', '"\\b\\f\\n\\r\\t"'), ('{"object with 1 member":["array with 1 element"]}', '"{\\"object with 1 member\\":[\\"array with 1 element\\"]}"'), (' s p a c e d ', '" s p a c e d "'), ('\U0001d120', '"\\ud834\\udd20"'), ('\u03b1\u03a9', '"\\u03b1\\u03a9"'), ("`1~!@#$%^&*()_+-={':[,]}|;.</>?", '"`1~!@#$%^&*()_+-={\':[,]}|;.</>?"'), ('\x08\x0c\n\r\t', '"\\b\\f\\n\\r\\t"'), ('\u0123\u4567\u89ab\ucdef\uabcd\uef4a', '"\\u0123\\u4567\\u89ab\\ucdef\\uabcd\\uef4a"'), ] class TestEncodeBasestringAscii: def test_encode_basestring_ascii(self): fname = self.json.encoder.encode_basestring_ascii.__name__ for input_string, expect in CASES: result = self.json.encoder.encode_basestring_ascii(input_string) self.assertEqual(result, expect, '{0!r} != {1!r} for {2}({3!r})'.format( result, expect, fname, input_string)) def test_ordered_dict(self): # See issue 6105 items = [('one', 1), ('two', 2), ('three', 3), ('four', 4), ('five', 5)] s = self.dumps(OrderedDict(items)) self.assertEqual(s, '{"one": 1, "two": 2, "three": 3, "four": 4, "five": 5}') def test_sorted_dict(self): items = [('one', 1), ('two', 2), ('three', 3), ('four', 4), ('five', 5)] s = self.dumps(dict(items), sort_keys=True) self.assertEqual(s, '{"five": 5, "four": 4, "one": 1, "three": 3, "two": 2}') class TestPyEncodeBasestringAscii(TestEncodeBasestringAscii, PyTest): pass class TestCEncodeBasestringAscii(TestEncodeBasestringAscii, CTest): @bigaddrspacetest def test_overflow(self): size = (2**32)//6 + 1 s = "\x00"*size with self.assertRaises(OverflowError): self.json.encoder.encode_basestring_ascii(s)
2,266
49
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_pass3.py
from test.test_json import PyTest, CTest # from http://json.org/JSON_checker/test/pass3.json JSON = r''' { "JSON Test Pattern pass3": { "The outermost value": "must be an object or array.", "In this test": "It is an object." } } ''' class TestPass3: def test_parse(self): # test in/out equivalence and parsing res = self.loads(JSON) out = self.dumps(res) self.assertEqual(res, self.loads(out)) class TestPyPass3(TestPass3, PyTest): pass class TestCPass3(TestPass3, CTest): pass
544
25
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_default.py
from test.test_json import PyTest, CTest class TestDefault: def test_default(self): self.assertEqual( self.dumps(type, default=repr), self.dumps(repr(type))) class TestPyDefault(TestDefault, PyTest): pass class TestCDefault(TestDefault, CTest): pass
290
13
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_float.py
import math from test.test_json import PyTest, CTest class TestFloat: def test_floats(self): for num in [1617161771.7650001, math.pi, math.pi**100, math.pi**-100, 3.1]: self.assertEqual(float(self.dumps(num)), num) self.assertEqual(self.loads(self.dumps(num)), num) def test_ints(self): for num in [1, 1<<32, 1<<64]: self.assertEqual(self.dumps(num), str(num)) self.assertEqual(int(self.dumps(num)), num) def test_out_of_range(self): self.assertEqual(self.loads('[23456789012E666]'), [float('inf')]) self.assertEqual(self.loads('[-23456789012E666]'), [float('-inf')]) def test_allow_nan(self): for val in (float('inf'), float('-inf'), float('nan')): out = self.dumps([val]) if val == val: # inf self.assertEqual(self.loads(out), [val]) else: # nan res = self.loads(out) self.assertEqual(len(res), 1) self.assertNotEqual(res[0], res[0]) self.assertRaises(ValueError, self.dumps, [val], allow_nan=False) class TestPyFloat(TestFloat, PyTest): pass class TestCFloat(TestFloat, CTest): pass
1,211
34
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_enum.py
from enum import Enum, IntEnum from math import isnan from test.test_json import PyTest, CTest SMALL = 1 BIG = 1<<32 HUGE = 1<<64 REALLY_HUGE = 1<<96 class BigNum(IntEnum): small = SMALL big = BIG huge = HUGE really_huge = REALLY_HUGE E = 2.718281 PI = 3.141593 TAU = 2 * PI class FloatNum(float, Enum): e = E pi = PI tau = TAU INF = float('inf') NEG_INF = float('-inf') NAN = float('nan') class WierdNum(float, Enum): inf = INF neg_inf = NEG_INF nan = NAN class TestEnum: def test_floats(self): for enum in FloatNum: self.assertEqual(self.dumps(enum), repr(enum.value)) self.assertEqual(float(self.dumps(enum)), enum) self.assertEqual(self.loads(self.dumps(enum)), enum) def test_weird_floats(self): for enum, expected in zip(WierdNum, ('Infinity', '-Infinity', 'NaN')): self.assertEqual(self.dumps(enum), expected) if not isnan(enum): self.assertEqual(float(self.dumps(enum)), enum) self.assertEqual(self.loads(self.dumps(enum)), enum) else: self.assertTrue(isnan(float(self.dumps(enum)))) self.assertTrue(isnan(self.loads(self.dumps(enum)))) def test_ints(self): for enum in BigNum: self.assertEqual(self.dumps(enum), str(enum.value)) self.assertEqual(int(self.dumps(enum)), enum) self.assertEqual(self.loads(self.dumps(enum)), enum) def test_list(self): self.assertEqual(self.dumps(list(BigNum)), str([SMALL, BIG, HUGE, REALLY_HUGE])) self.assertEqual(self.loads(self.dumps(list(BigNum))), list(BigNum)) self.assertEqual(self.dumps(list(FloatNum)), str([E, PI, TAU])) self.assertEqual(self.loads(self.dumps(list(FloatNum))), list(FloatNum)) self.assertEqual(self.dumps(list(WierdNum)), '[Infinity, -Infinity, NaN]') self.assertEqual(self.loads(self.dumps(list(WierdNum)))[:2], list(WierdNum)[:2]) self.assertTrue(isnan(self.loads(self.dumps(list(WierdNum)))[2])) def test_dict_keys(self): s, b, h, r = BigNum e, p, t = FloatNum i, j, n = WierdNum d = { s:'tiny', b:'large', h:'larger', r:'largest', e:"Euler's number", p:'pi', t:'tau', i:'Infinity', j:'-Infinity', n:'NaN', } nd = self.loads(self.dumps(d)) self.assertEqual(nd[str(SMALL)], 'tiny') self.assertEqual(nd[str(BIG)], 'large') self.assertEqual(nd[str(HUGE)], 'larger') self.assertEqual(nd[str(REALLY_HUGE)], 'largest') self.assertEqual(nd[repr(E)], "Euler's number") self.assertEqual(nd[repr(PI)], 'pi') self.assertEqual(nd[repr(TAU)], 'tau') self.assertEqual(nd['Infinity'], 'Infinity') self.assertEqual(nd['-Infinity'], '-Infinity') self.assertEqual(nd['NaN'], 'NaN') def test_dict_values(self): d = dict( tiny=BigNum.small, large=BigNum.big, larger=BigNum.huge, largest=BigNum.really_huge, e=FloatNum.e, pi=FloatNum.pi, tau=FloatNum.tau, i=WierdNum.inf, j=WierdNum.neg_inf, n=WierdNum.nan, ) nd = self.loads(self.dumps(d)) self.assertEqual(nd['tiny'], SMALL) self.assertEqual(nd['large'], BIG) self.assertEqual(nd['larger'], HUGE) self.assertEqual(nd['largest'], REALLY_HUGE) self.assertEqual(nd['e'], E) self.assertEqual(nd['pi'], PI) self.assertEqual(nd['tau'], TAU) self.assertEqual(nd['i'], INF) self.assertEqual(nd['j'], NEG_INF) self.assertTrue(isnan(nd['n'])) class TestPyEnum(TestEnum, PyTest): pass class TestCEnum(TestEnum, CTest): pass
4,034
121
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_pass1.py
from test.test_json import PyTest, CTest # from http://json.org/JSON_checker/test/pass1.json JSON = r''' [ "JSON Test Pattern pass1", {"object with 1 member":["array with 1 element"]}, {}, [], -42, true, false, null, { "integer": 1234567890, "real": -9876.543210, "e": 0.123456789e-12, "E": 1.234567890E+34, "": 23456789012E66, "zero": 0, "one": 1, "space": " ", "quote": "\"", "backslash": "\\", "controls": "\b\f\n\r\t", "slash": "/ & \/", "alpha": "abcdefghijklmnopqrstuvwyz", "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", "digit": "0123456789", "0123456789": "digit", "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?", "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", "true": true, "false": false, "null": null, "array":[ ], "object":{ }, "address": "50 St. James Street", "url": "http://www.JSON.org/", "comment": "// /* <!-- --", "# -- --> */": " ", " s p a c e d " :[1,2 , 3 , 4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7], "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}", "quotes": "&#34; \u0022 %22 0x22 034 &#x22;", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" : "A key can be any string" }, 0.5 ,98.6 , 99.44 , 1066, 1e1, 0.1e1, 1e-1, 1e00,2e+00,2e-00 ,"rosebud"] ''' class TestPass1: def test_parse(self): # test in/out equivalence and parsing res = self.loads(JSON) out = self.dumps(res) self.assertEqual(res, self.loads(out)) class TestPyPass1(TestPass1, PyTest): pass class TestCPass1(TestPass1, CTest): pass
1,837
76
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_indent.py
import textwrap from io import StringIO from test.test_json import PyTest, CTest class TestIndent: def test_indent(self): h = [['blorpie'], ['whoops'], [], 'd-shtaeou', 'd-nthiouh', 'i-vhbjkhnth', {'nifty': 87}, {'field': 'yes', 'morefield': False} ] expect = textwrap.dedent("""\ [ \t[ \t\t"blorpie" \t], \t[ \t\t"whoops" \t], \t[], \t"d-shtaeou", \t"d-nthiouh", \t"i-vhbjkhnth", \t{ \t\t"nifty": 87 \t}, \t{ \t\t"field": "yes", \t\t"morefield": false \t} ]""") d1 = self.dumps(h) d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': ')) d3 = self.dumps(h, indent='\t', sort_keys=True, separators=(',', ': ')) d4 = self.dumps(h, indent=2, sort_keys=True) d5 = self.dumps(h, indent='\t', sort_keys=True) h1 = self.loads(d1) h2 = self.loads(d2) h3 = self.loads(d3) self.assertEqual(h1, h) self.assertEqual(h2, h) self.assertEqual(h3, h) self.assertEqual(d2, expect.expandtabs(2)) self.assertEqual(d3, expect) self.assertEqual(d4, d2) self.assertEqual(d5, d3) def test_indent0(self): h = {3: 1} def check(indent, expected): d1 = self.dumps(h, indent=indent) self.assertEqual(d1, expected) sio = StringIO() self.json.dump(h, sio, indent=indent) self.assertEqual(sio.getvalue(), expected) # indent=0 should emit newlines check(0, '{\n"3": 1\n}') # indent=None is more compact check(None, '{"3": 1}') class TestPyIndent(TestIndent, PyTest): pass class TestCIndent(TestIndent, CTest): pass
1,824
68
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_tool.py
import os import sys import textwrap import unittest from subprocess import Popen, PIPE from test import support from test.support.script_helper import assert_python_ok if __name__ == "PYOBJ.COM": import json.tool class TestTool(unittest.TestCase): data = """ [["blorpie"],[ "whoops" ] , [ ],\t"d-shtaeou",\r"d-nthiouh", "i-vhbjkhnth", {"nifty":87}, {"morefield" :\tfalse,"field" :"yes"} ] """ expect_without_sort_keys = textwrap.dedent("""\ [ [ "blorpie" ], [ "whoops" ], [], "d-shtaeou", "d-nthiouh", "i-vhbjkhnth", { "nifty": 87 }, { "field": "yes", "morefield": false } ] """) expect = textwrap.dedent("""\ [ [ "blorpie" ], [ "whoops" ], [], "d-shtaeou", "d-nthiouh", "i-vhbjkhnth", { "nifty": 87 }, { "morefield": false, "field": "yes" } ] """) def test_stdin_stdout(self): args = sys.executable, '-m', 'json.tool' with Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE) as proc: out, err = proc.communicate(self.data.encode()) self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) self.assertEqual(err, b'') def _create_infile(self): infile = support.TESTFN with open(infile, "w") as fp: self.addCleanup(os.remove, infile) fp.write(self.data) return infile def test_infile_stdout(self): infile = self._create_infile() rc, out, err = assert_python_ok('-m', 'json.tool', infile) self.assertEqual(rc, 0) self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) self.assertEqual(err, b'') def test_infile_outfile(self): infile = self._create_infile() outfile = support.TESTFN + '.out' rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) self.addCleanup(os.remove, outfile) with open(outfile, "r") as fp: self.assertEqual(fp.read(), self.expect) self.assertEqual(rc, 0) self.assertEqual(out, b'') self.assertEqual(err, b'') def test_help_flag(self): rc, out, err = assert_python_ok('-m', 'json.tool', '-h') self.assertEqual(rc, 0) self.assertTrue(out.startswith(b'usage: ')) self.assertEqual(err, b'') def test_sort_keys_flag(self): infile = self._create_infile() rc, out, err = assert_python_ok('-m', 'json.tool', '--sort-keys', infile) self.assertEqual(rc, 0) self.assertEqual(out.splitlines(), self.expect_without_sort_keys.encode().splitlines()) self.assertEqual(err, b'')
2,987
110
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/test_pass2.py
from test.test_json import PyTest, CTest # from http://json.org/JSON_checker/test/pass2.json JSON = r''' [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] ''' class TestPass2: def test_parse(self): # test in/out equivalence and parsing res = self.loads(JSON) out = self.dumps(res) self.assertEqual(res, self.loads(out)) class TestPyPass2(TestPass2, PyTest): pass class TestCPass2(TestPass2, CTest): pass
448
19
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/test_json/__init__.py
import os import json import doctest import unittest from test import support # import json with and without accelerations cjson = support.import_fresh_module('json', fresh=['_json']) pyjson = support.import_fresh_module('json', blocked=['_json']) # JSONDecodeError is cached inside the _json module cjson.JSONDecodeError = cjson.decoder.JSONDecodeError = json.JSONDecodeError # create two base classes that will be used by the other tests @unittest.skipIf(cjson, '_json is available, no need for pure-python tests') class PyTest(unittest.TestCase): json = pyjson loads = staticmethod(pyjson.loads) dumps = staticmethod(pyjson.dumps) JSONDecodeError = staticmethod(pyjson.JSONDecodeError) @unittest.skipUnless(cjson, 'requires _json') class CTest(unittest.TestCase): if cjson is not None: json = cjson loads = staticmethod(cjson.loads) dumps = staticmethod(cjson.dumps) JSONDecodeError = staticmethod(cjson.JSONDecodeError) # test PyTest and CTest checking if the functions come from the right module class TestPyTest(PyTest): def test_pyjson(self): self.assertEqual(self.json.scanner.make_scanner.__module__, 'json.scanner') self.assertEqual(self.json.decoder.scanstring.__module__, 'json.decoder') self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, 'json.encoder') class TestCTest(CTest): def test_cjson(self): self.assertEqual(self.json.scanner.make_scanner.__module__, '_json') self.assertEqual(self.json.decoder.scanstring.__module__, '_json') self.assertEqual(self.json.encoder.c_make_encoder.__module__, '_json') self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, '_json') def load_tests(loader, _, pattern): suite = unittest.TestSuite() for mod in (json, json.encoder, json.decoder): suite.addTest(doctest.DocTestSuite(mod)) suite.addTest(TestPyTest('test_pyjson')) suite.addTest(TestCTest('test_cjson')) pkg_dir = os.path.dirname(__file__) return support.load_package_tests(pkg_dir, loader, suite, pattern)
2,213
58
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/shift_jis-utf8.txt
Python の開発は、1990 年ごろから開始されています。 開発者の Guido van Rossum は教育用のプログラミング言語「ABC」の開発に参加していましたが、ABC は実用上の目的にはあまり適していませんでした。 このため、Guido はより実用的なプログラミング言語の開発を開始し、英国 BBS 放送のコメディ番組「モンティ パイソン」のファンである Guido はこの言語を「Python」と名づけました。 このような背景から生まれた Python の言語設計は、「シンプル」で「習得が容易」という目標に重点が置かれています。 多くのスクリプト系言語ではユーザの目先の利便性を優先して色々な機能を言語要素として取り入れる場合が多いのですが、Python ではそういった小細工が追加されることはあまりありません。 言語自体の機能は最小限に押さえ、必要な機能は拡張モジュールとして追加する、というのが Python のポリシーです。
1,094
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/gb2312.txt
Python£¨ÅÉÉ­£©ÓïÑÔÊÇÒ»ÖÖ¹¦ÄÜÇ¿´ó¶øÍêÉÆµÄͨÓÃÐͼÆËã»ú³ÌÐòÉè¼ÆÓïÑÔ£¬ ÒѾ­¾ßÓÐÊ®¶àÄêµÄ·¢Õ¹ÀúÊ·£¬³ÉÊìÇÒÎȶ¨¡£ÕâÖÖÓïÑÔ¾ßÓзdz£¼ò½Ý¶øÇåÎú µÄÓï·¨ÌØµã£¬ÊʺÏÍê³É¸÷Öָ߲ãÈÎÎñ£¬¼¸ºõ¿ÉÒÔÔÚËùÓеIJÙ×÷ϵͳÖÐ ÔËÐС£ÕâÖÖÓïÑÔ¼òµ¥¶øÇ¿´ó£¬Êʺϸ÷ÖÖÈËʿѧϰʹÓá£Ä¿Ç°£¬»ùÓÚÕâ ÖÖÓïÑÔµÄÏà¹Ø¼¼ÊõÕýÔÚ·ÉËٵķ¢Õ¹£¬Óû§ÊýÁ¿¼±¾çÀ©´ó£¬Ïà¹ØµÄ×ÊÔ´·Ç³£¶à¡£
324
7
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/big5-utf8.txt
如何在 Python 中使用既有的 C library?  在資訊科技快速發展的今天, 開發及測試軟體的速度是不容忽視的 課題. 為加快開發及測試的速度, 我們便常希望能利用一些已開發好的 library, 並有一個 fast prototyping 的 programming language 可 供使用. 目前有許許多多的 library 是以 C 寫成, 而 Python 是一個 fast prototyping 的 programming language. 故我們希望能將既有的 C library 拿到 Python 的環境中測試及整合. 其中最主要也是我們所 要討論的問題就是:
564
10
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/gb18030-utf8.txt
Python(派森)语言是一种功能强大而完善的通用型计算机程序设计语言, 已经具有十多年的发展历史,成熟且稳定。这种语言具有非常简捷而清晰 的语法特点,适合完成各种高层任务,几乎可以在所有的操作系统中 运行。这种语言简单而强大,适合各种人士学习使用。目前,基于这 种语言的相关技术正在飞速的发展,用户数量急剧扩大,相关的资源非常多。 如何在 Python 中使用既有的 C library?  在資訊科技快速發展的今天, 開發及測試軟體的速度是不容忽視的 課題. 為加快開發及測試的速度, 我們便常希望能利用一些已開發好的 library, 並有一個 fast prototyping 的 programming language 可 供使用. 目前有許許多多的 library 是以 C 寫成, 而 Python 是一個 fast prototyping 的 programming language. 故我們希望能將既有的 C library 拿到 Python 的環境中測試及整合. 其中最主要也是我們所 要討論的問題就是: 파이썬은 강력한 기능을 지닌 범용 컴퓨터 프로그래밍 언어다.
1,127
16
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/gbk-utf8.txt
Python(派森)语言是一种功能强大而完善的通用型计算机程序设计语言, 已经具有十多年的发展历史,成熟且稳定。这种语言具有非常简捷而清晰 的语法特点,适合完成各种高层任务,几乎可以在所有的操作系统中 运行。这种语言简单而强大,适合各种人士学习使用。目前,基于这 种语言的相关技术正在飞速的发展,用户数量急剧扩大,相关的资源非常多。 如何在 Python 中使用既有的 C library?  在資訊科技快速發展的今天, 開發及測試軟體的速度是不容忽視的 課題. 為加快開發及測試的速度, 我們便常希望能利用一些已開發好的 library, 並有一個 fast prototyping 的 programming language 可 供使用. 目前有許許多多的 library 是以 C 寫成, 而 Python 是一個 fast prototyping 的 programming language. 故我們希望能將既有的 C library 拿到 Python 的環境中測試及整合. 其中最主要也是我們所 要討論的問題就是:
1,043
15
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/euc_jp-utf8.txt
Python の開発は、1990 年ごろから開始されています。 開発者の Guido van Rossum は教育用のプログラミング言語「ABC」の開発に参加していましたが、ABC は実用上の目的にはあまり適していませんでした。 このため、Guido はより実用的なプログラミング言語の開発を開始し、英国 BBS 放送のコメディ番組「モンティ パイソン」のファンである Guido はこの言語を「Python」と名づけました。 このような背景から生まれた Python の言語設計は、「シンプル」で「習得が容易」という目標に重点が置かれています。 多くのスクリプト系言語ではユーザの目先の利便性を優先して色々な機能を言語要素として取り入れる場合が多いのですが、Python ではそういった小細工が追加されることはあまりありません。 言語自体の機能は最小限に押さえ、必要な機能は拡張モジュールとして追加する、というのが Python のポリシーです。
1,094
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/euc_kr.txt
¡Ý ÆÄÀ̽ã(Python)Àº ¹è¿ì±â ½±°í, °­·ÂÇÑ ÇÁ·Î±×·¡¹Ö ¾ð¾îÀÔ´Ï´Ù. ÆÄÀ̽ãÀº È¿À²ÀûÀÎ °í¼öÁØ µ¥ÀÌÅÍ ±¸Á¶¿Í °£´ÜÇÏÁö¸¸ È¿À²ÀûÀÎ °´Ã¼ÁöÇâÇÁ·Î±×·¡¹ÖÀ» Áö¿øÇÕ´Ï´Ù. ÆÄÀ̽ãÀÇ ¿ì¾Æ(éÐäº)ÇÑ ¹®¹ý°ú µ¿Àû ŸÀÌÇÎ, ±×¸®°í ÀÎÅÍÇÁ¸®ÆÃ ȯ°æÀº ÆÄÀ̽ãÀ» ½ºÅ©¸³ÆÃ°ú ¿©·¯ ºÐ¾ß¿¡¼­¿Í ´ëºÎºÐÀÇ Ç÷§Æû¿¡¼­ÀÇ ºü¸¥ ¾ÖÇø®ÄÉÀÌ¼Ç °³¹ßÀ» ÇÒ ¼ö ÀÖ´Â ÀÌ»óÀûÀÎ ¾ð¾î·Î ¸¸µé¾îÁÝ´Ï´Ù. ¡Ùù°¡³¡: ³¯¾Æ¶ó ¤Ô¤¶¤Ð¤Ô¤Ô¤¶¤Ð¤Ô¾±~ ¤Ô¤¤¤Ò¤·Å­! ¤Ô¤¨¤Ñ¤·±Ý¾øÀÌ Àü¤Ô¤¾¤È¤²´Ï´Ù. ¤Ô¤²¤Î¤ª. ±×·±°Å ¤Ô¤·¤Ñ¤´´Ù.
456
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/euc_jisx0213.txt
Python ¤Î³«È¯¤Ï¡¢1990 ǯ¤´¤í¤«¤é³«»Ï¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ³«È¯¼Ô¤Î Guido van Rossum ¤Ï¶µ°éÍÑ¤Î¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¡ÖABC¡×¤Î³«È¯¤Ë»²²Ã¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢ABC ¤Ï¼ÂÍѾå¤ÎÌÜŪ¤Ë¤Ï¤¢¤Þ¤êŬ¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¤³¤Î¤¿¤á¡¢Guido ¤Ï¤è¤ê¼ÂÍÑŪ¤Ê¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤Î³«È¯¤ò³«»Ï¤·¡¢±Ñ¹ñ BBS ÊüÁ÷¤Î¥³¥á¥Ç¥£ÈÖÁȡ֥â¥ó¥Æ¥£ ¥Ñ¥¤¥½¥ó¡×¤Î¥Õ¥¡¥ó¤Ç¤¢¤ë Guido ¤Ï¤³¤Î¸À¸ì¤ò¡ÖPython¡×¤È̾¤Å¤±¤Þ¤·¤¿¡£ ¤³¤Î¤è¤¦¤ÊÇØ·Ê¤«¤éÀ¸¤Þ¤ì¤¿ Python ¤Î¸À¸ìÀ߷פϡ¢¡Ö¥·¥ó¥×¥ë¡×¤Ç¡Ö½¬ÆÀ¤¬ÍưספȤ¤¤¦ÌÜɸ¤Ë½ÅÅÀ¤¬ÃÖ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ¿¤¯¤Î¥¹¥¯¥ê¥×¥È·Ï¸À¸ì¤Ç¤Ï¥æ¡¼¥¶¤ÎÌÜÀè¤ÎÍøÊØÀ­¤òÍ¥À褷¤Æ¿§¡¹¤Êµ¡Ç½¤ò¸À¸ìÍ×ÁǤȤ·¤Æ¼è¤êÆþ¤ì¤ë¾ì¹ç¤¬Â¿¤¤¤Î¤Ç¤¹¤¬¡¢Python ¤Ç¤Ï¤½¤¦¤¤¤Ã¤¿¾®ºÙ¹©¤¬Äɲ䵤ì¤ë¤³¤È¤Ï¤¢¤Þ¤ê¤¢¤ê¤Þ¤»¤ó¡£ ¸À¸ì¼«ÂΤε¡Ç½¤ÏºÇ¾®¸Â¤Ë²¡¤µ¤¨¡¢É¬Íפʵ¡Ç½¤Ï³ÈÄ¥¥â¥¸¥å¡¼¥ë¤È¤·¤ÆÄɲ乤롢¤È¤¤¤¦¤Î¤¬ Python ¤Î¥Ý¥ê¥·¡¼¤Ç¤¹¡£ ¥Î¤÷ ¥þ ¥È¥­¯¬¯Ú ÏãþØ þԏþèüÖ
793
9
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/hz-utf8.txt
This sentence is in ASCII. The next sentence is in GB.己所不欲,勿施於人。Bye.
89
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/shift_jisx0213-utf8.txt
Python の開発は、1990 年ごろから開始されています。 開発者の Guido van Rossum は教育用のプログラミング言語「ABC」の開発に参加していましたが、ABC は実用上の目的にはあまり適していませんでした。 このため、Guido はより実用的なプログラミング言語の開発を開始し、英国 BBS 放送のコメディ番組「モンティ パイソン」のファンである Guido はこの言語を「Python」と名づけました。 このような背景から生まれた Python の言語設計は、「シンプル」で「習得が容易」という目標に重点が置かれています。 多くのスクリプト系言語ではユーザの目先の利便性を優先して色々な機能を言語要素として取り入れる場合が多いのですが、Python ではそういった小細工が追加されることはあまりありません。 言語自体の機能は最小限に押さえ、必要な機能は拡張モジュールとして追加する、というのが Python のポリシーです。 ノか゚ ト゚ トキ喝塀 𡚴𪎌 麀齁𩛰
1,144
9
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/hz.txt
This sentence is in ASCII. The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.
83
3
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/iso2022_jp.txt
Python $B$N3+H/$O!"(B1990 $BG/$4$m$+$i3+;O$5$l$F$$$^$9!#(B $B3+H/<T$N(B Guido van Rossum $B$O650iMQ$N%W%m%0%i%_%s%08@8l!V(BABC$B!W$N3+H/$K;22C$7$F$$$^$7$?$,!"(BABC $B$O<BMQ>e$NL\E*$K$O$"$^$jE,$7$F$$$^$;$s$G$7$?!#(B $B$3$N$?$a!"(BGuido $B$O$h$j<BMQE*$J%W%m%0%i%_%s%08@8l$N3+H/$r3+;O$7!"1Q9q(B BBS $BJ|Aw$N%3%a%G%#HVAH!V%b%s%F%#(B $B%Q%$%=%s!W$N%U%!%s$G$"$k(B Guido $B$O$3$N8@8l$r!V(BPython$B!W$HL>$E$1$^$7$?!#(B $B$3$N$h$&$JGX7J$+$i@8$^$l$?(B Python $B$N8@8l@_7W$O!"!V%7%s%W%k!W$G!V=,F@$,MF0W!W$H$$$&L\I8$K=EE@$,CV$+$l$F$$$^$9!#(B $BB?$/$N%9%/%j%W%H7O8@8l$G$O%f!<%6$NL\@h$NMxJX@-$rM%@h$7$F?'!9$J5!G=$r8@8lMWAG$H$7$F<h$jF~$l$k>l9g$,B?$$$N$G$9$,!"(BPython $B$G$O$=$&$$$C$?>.:Y9)$,DI2C$5$l$k$3$H$O$"$^$j$"$j$^$;$s!#(B $B8@8l<+BN$N5!G=$O:G>.8B$K2!$5$(!"I,MW$J5!G=$O3HD%%b%8%e!<%k$H$7$FDI2C$9$k!"$H$$$&$N$,(B Python $B$N%]%j%7!<$G$9!#(B
868
8
jart/cosmopolitan
false
cosmopolitan/third_party/python/Lib/test/cjkencodings/johab-utf8.txt
똠방각하 펲시콜라 ㉯㉯납!! 因九月패믤릔궈 ⓡⓖ훀¿¿¿ 긍뒙 ⓔ뎨 ㉯. . 亞영ⓔ능횹 . . . . 서울뤄 뎐학乙 家훀 ! ! !ㅠ.ㅠ 흐흐흐 ㄱㄱㄱ☆ㅠ_ㅠ 어릨 탸콰긐 뎌응 칑九들乙 ㉯드긐 설릌 家훀 . . . . 굴애쉌 ⓔ궈 ⓡ릘㉱긐 因仁川女中까즼 와쒀훀 ! ! 亞영ⓔ 家능궈 ☆上관 없능궈능 亞능뒈훀 글애듴 ⓡ려듀九 싀풔숴훀 어릨 因仁川女中싁⑨들앜!! ㉯㉯납♡ ⌒⌒*
478
10
jart/cosmopolitan
false