Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +27 -0
- deepseek/bin/x86_64-conda-linux-gnu-ld +3 -0
- deepseek/lib/libasan.so +3 -0
- deepseek/lib/libasan.so.6 +3 -0
- deepseek/lib/libatomic.so.1 +3 -0
- deepseek/lib/libbz2.so +3 -0
- deepseek/lib/libbz2.so.1.0 +3 -0
- deepseek/lib/libbz2.so.1.0.8 +3 -0
- deepseek/lib/libform.a +3 -0
- deepseek/lib/libformw.a +3 -0
- deepseek/lib/libgcc_s.so.1 +3 -0
- deepseek/lib/libgomp.so.1.0.0 +3 -0
- deepseek/lib/libitm.so +3 -0
- deepseek/lib/libitm.so.1.0.0 +3 -0
- deepseek/lib/libncursesw.so.6 +3 -0
- deepseek/lib/libssl.a +3 -0
- deepseek/lib/libstdc++.so +3 -0
- deepseek/lib/libstdc++.so.6 +3 -0
- deepseek/lib/libstdc++.so.6.0.29 +3 -0
- deepseek/lib/libtsan.so +3 -0
- deepseek/lib/libtsan.so.0 +3 -0
- deepseek/lib/libubsan.so +3 -0
- deepseek/lib/libubsan.so.1.0.0 +3 -0
- deepseek/lib/libz.so.1 +3 -0
- deepseek/lib/python3.10/doctest.py +0 -0
- deepseek/lib/python3.10/fnmatch.py +199 -0
- deepseek/lib/python3.10/hashlib.py +269 -0
- deepseek/lib/python3.10/imghdr.py +168 -0
- deepseek/lib/python3.10/pdb.py +1750 -0
- deepseek/lib/python3.10/pty.py +187 -0
- deepseek/lib/python3.10/random.py +930 -0
- deepseek/lib/python3.10/runpy.py +321 -0
- deepseek/lib/python3.10/this.py +28 -0
- deepseek/lib/tcl8.6/encoding/gb2312.enc +1397 -0
- deepseek/lib/tcl8.6/msgs/ar_in.msg +6 -0
- deepseek/lib/tcl8.6/msgs/ar_jo.msg +39 -0
- deepseek/lib/tcl8.6/msgs/be.msg +52 -0
- deepseek/lib/tcl8.6/msgs/bn.msg +49 -0
- deepseek/lib/tcl8.6/msgs/ca.msg +50 -0
- deepseek/lib/tcl8.6/msgs/da.msg +52 -0
- deepseek/lib/tcl8.6/msgs/de_at.msg +35 -0
- deepseek/lib/tcl8.6/msgs/en_ca.msg +7 -0
- deepseek/lib/tcl8.6/msgs/en_gb.msg +7 -0
- deepseek/lib/tcl8.6/msgs/en_hk.msg +8 -0
- deepseek/lib/tcl8.6/msgs/en_ie.msg +7 -0
- deepseek/lib/tcl8.6/msgs/en_nz.msg +7 -0
- deepseek/lib/tcl8.6/msgs/en_ph.msg +8 -0
- deepseek/lib/tcl8.6/msgs/en_sg.msg +6 -0
- deepseek/lib/tcl8.6/msgs/en_zw.msg +6 -0
- deepseek/lib/tcl8.6/msgs/es.msg +52 -0
.gitattributes
CHANGED
|
@@ -396,3 +396,30 @@ deepseek/lib/liblzma.so filter=lfs diff=lfs merge=lfs -text
|
|
| 396 |
deepseek/lib/libbz2.a filter=lfs diff=lfs merge=lfs -text
|
| 397 |
deepseek/lib/libasan.so.6.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 398 |
deepseek/lib/libatomic.so.1.2.0 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
deepseek/lib/libbz2.a filter=lfs diff=lfs merge=lfs -text
|
| 397 |
deepseek/lib/libasan.so.6.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 398 |
deepseek/lib/libatomic.so.1.2.0 filter=lfs diff=lfs merge=lfs -text
|
| 399 |
+
deepseek/lib/libasan.so.6 filter=lfs diff=lfs merge=lfs -text
|
| 400 |
+
deepseek/lib/libssl.a filter=lfs diff=lfs merge=lfs -text
|
| 401 |
+
deepseek/lib/libstdc++.so.6 filter=lfs diff=lfs merge=lfs -text
|
| 402 |
+
deepseek/lib/libz.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 403 |
+
deepseek/lib/libitm.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 404 |
+
deepseek/lib/libformw.a filter=lfs diff=lfs merge=lfs -text
|
| 405 |
+
deepseek/lib/libatomic.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 406 |
+
deepseek/lib/libtsan.so.0 filter=lfs diff=lfs merge=lfs -text
|
| 407 |
+
deepseek/lib/libubsan.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 408 |
+
deepseek/lib/libbz2.so.1.0.8 filter=lfs diff=lfs merge=lfs -text
|
| 409 |
+
deepseek/bin/x86_64-conda-linux-gnu-ld filter=lfs diff=lfs merge=lfs -text
|
| 410 |
+
deepseek/lib/libasan.so filter=lfs diff=lfs merge=lfs -text
|
| 411 |
+
deepseek/lib/libbz2.so filter=lfs diff=lfs merge=lfs -text
|
| 412 |
+
deepseek/lib/libgcc_s.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 413 |
+
deepseek/lib/libncursesw.so.6 filter=lfs diff=lfs merge=lfs -text
|
| 414 |
+
deepseek/lib/libtsan.so filter=lfs diff=lfs merge=lfs -text
|
| 415 |
+
deepseek/lib/libform.a filter=lfs diff=lfs merge=lfs -text
|
| 416 |
+
deepseek/lib/libstdc++.so filter=lfs diff=lfs merge=lfs -text
|
| 417 |
+
evalkit_tf437/lib/python3.10/site-packages/matplotlib/_image.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 418 |
+
deepseek/lib/libubsan.so filter=lfs diff=lfs merge=lfs -text
|
| 419 |
+
deepseek/lib/libbz2.so.1.0 filter=lfs diff=lfs merge=lfs -text
|
| 420 |
+
evalkit_tf437/lib/python3.10/site-packages/opencv_python.libs/libswscale-2c3c8be7.so.6.7.100 filter=lfs diff=lfs merge=lfs -text
|
| 421 |
+
evalkit_tf437/lib/python3.10/site-packages/scipy/sparse/linalg/_propack/_spropack.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 422 |
+
deepseek/lib/libstdc++.so.6.0.29 filter=lfs diff=lfs merge=lfs -text
|
| 423 |
+
deepseek/lib/libitm.so filter=lfs diff=lfs merge=lfs -text
|
| 424 |
+
evalkit_tf437/lib/python3.10/site-packages/scipy/spatial/_voronoi.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 425 |
+
deepseek/lib/libgomp.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
deepseek/bin/x86_64-conda-linux-gnu-ld
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaaab6b3200c6f71e5f2970b01a074c958d5af546e5f43c011192307f69d9cac
|
| 3 |
+
size 2195376
|
deepseek/lib/libasan.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e
|
| 3 |
+
size 7575272
|
deepseek/lib/libasan.so.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e
|
| 3 |
+
size 7575272
|
deepseek/lib/libatomic.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92
|
| 3 |
+
size 143648
|
deepseek/lib/libbz2.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
deepseek/lib/libbz2.so.1.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
deepseek/lib/libbz2.so.1.0.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
deepseek/lib/libform.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e38c05b95a8311e56f3f585bf38e66c9af44a8d6085d39648a770d611a6ebeeb
|
| 3 |
+
size 185212
|
deepseek/lib/libformw.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e38c05b95a8311e56f3f585bf38e66c9af44a8d6085d39648a770d611a6ebeeb
|
| 3 |
+
size 185212
|
deepseek/lib/libgcc_s.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d912bad5e511194c15b506fe7eafe4454bc2dc4073a0fdebc60e86af59a0f2bc
|
| 3 |
+
size 475272
|
deepseek/lib/libgomp.so.1.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854
|
| 3 |
+
size 1265616
|
deepseek/lib/libitm.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1
|
| 3 |
+
size 1018904
|
deepseek/lib/libitm.so.1.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1
|
| 3 |
+
size 1018904
|
deepseek/lib/libncursesw.so.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fa4e5e93804d78660b0eef727cdb4211209e1742e4ad3669348022668d90962
|
| 3 |
+
size 271304
|
deepseek/lib/libssl.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bde7e75743326c4950f4fce031eb50c28d882690e2bccd4f03d0141fa25d380c
|
| 3 |
+
size 1452794
|
deepseek/lib/libstdc++.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4
|
| 3 |
+
size 17981480
|
deepseek/lib/libstdc++.so.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4
|
| 3 |
+
size 17981480
|
deepseek/lib/libstdc++.so.6.0.29
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4
|
| 3 |
+
size 17981480
|
deepseek/lib/libtsan.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb
|
| 3 |
+
size 7298936
|
deepseek/lib/libtsan.so.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb
|
| 3 |
+
size 7298936
|
deepseek/lib/libubsan.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9
|
| 3 |
+
size 2525984
|
deepseek/lib/libubsan.so.1.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9
|
| 3 |
+
size 2525984
|
deepseek/lib/libz.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b0e682a9dc7fd4895a6783288f851b793dc89633f28714027974fa4d66f3914
|
| 3 |
+
size 124744
|
deepseek/lib/python3.10/doctest.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
deepseek/lib/python3.10/fnmatch.py
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Filename matching with shell patterns.
|
| 2 |
+
|
| 3 |
+
fnmatch(FILENAME, PATTERN) matches according to the local convention.
|
| 4 |
+
fnmatchcase(FILENAME, PATTERN) always takes case in account.
|
| 5 |
+
|
| 6 |
+
The functions operate by translating the pattern into a regular
|
| 7 |
+
expression. They cache the compiled regular expressions for speed.
|
| 8 |
+
|
| 9 |
+
The function translate(PATTERN) returns a regular expression
|
| 10 |
+
corresponding to PATTERN. (It does not compile it.)
|
| 11 |
+
"""
|
| 12 |
+
import os
|
| 13 |
+
import posixpath
|
| 14 |
+
import re
|
| 15 |
+
import functools
|
| 16 |
+
|
| 17 |
+
__all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]
|
| 18 |
+
|
| 19 |
+
# Build a thread-safe incrementing counter to help create unique regexp group
|
| 20 |
+
# names across calls.
|
| 21 |
+
from itertools import count
|
| 22 |
+
_nextgroupnum = count().__next__
|
| 23 |
+
del count
|
| 24 |
+
|
| 25 |
+
def fnmatch(name, pat):
|
| 26 |
+
"""Test whether FILENAME matches PATTERN.
|
| 27 |
+
|
| 28 |
+
Patterns are Unix shell style:
|
| 29 |
+
|
| 30 |
+
* matches everything
|
| 31 |
+
? matches any single character
|
| 32 |
+
[seq] matches any character in seq
|
| 33 |
+
[!seq] matches any char not in seq
|
| 34 |
+
|
| 35 |
+
An initial period in FILENAME is not special.
|
| 36 |
+
Both FILENAME and PATTERN are first case-normalized
|
| 37 |
+
if the operating system requires it.
|
| 38 |
+
If you don't want this, use fnmatchcase(FILENAME, PATTERN).
|
| 39 |
+
"""
|
| 40 |
+
name = os.path.normcase(name)
|
| 41 |
+
pat = os.path.normcase(pat)
|
| 42 |
+
return fnmatchcase(name, pat)
|
| 43 |
+
|
| 44 |
+
@functools.lru_cache(maxsize=256, typed=True)
|
| 45 |
+
def _compile_pattern(pat):
|
| 46 |
+
if isinstance(pat, bytes):
|
| 47 |
+
pat_str = str(pat, 'ISO-8859-1')
|
| 48 |
+
res_str = translate(pat_str)
|
| 49 |
+
res = bytes(res_str, 'ISO-8859-1')
|
| 50 |
+
else:
|
| 51 |
+
res = translate(pat)
|
| 52 |
+
return re.compile(res).match
|
| 53 |
+
|
| 54 |
+
def filter(names, pat):
|
| 55 |
+
"""Construct a list from those elements of the iterable NAMES that match PAT."""
|
| 56 |
+
result = []
|
| 57 |
+
pat = os.path.normcase(pat)
|
| 58 |
+
match = _compile_pattern(pat)
|
| 59 |
+
if os.path is posixpath:
|
| 60 |
+
# normcase on posix is NOP. Optimize it away from the loop.
|
| 61 |
+
for name in names:
|
| 62 |
+
if match(name):
|
| 63 |
+
result.append(name)
|
| 64 |
+
else:
|
| 65 |
+
for name in names:
|
| 66 |
+
if match(os.path.normcase(name)):
|
| 67 |
+
result.append(name)
|
| 68 |
+
return result
|
| 69 |
+
|
| 70 |
+
def fnmatchcase(name, pat):
|
| 71 |
+
"""Test whether FILENAME matches PATTERN, including case.
|
| 72 |
+
|
| 73 |
+
This is a version of fnmatch() which doesn't case-normalize
|
| 74 |
+
its arguments.
|
| 75 |
+
"""
|
| 76 |
+
match = _compile_pattern(pat)
|
| 77 |
+
return match(name) is not None
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
def translate(pat):
|
| 81 |
+
"""Translate a shell PATTERN to a regular expression.
|
| 82 |
+
|
| 83 |
+
There is no way to quote meta-characters.
|
| 84 |
+
"""
|
| 85 |
+
|
| 86 |
+
STAR = object()
|
| 87 |
+
res = []
|
| 88 |
+
add = res.append
|
| 89 |
+
i, n = 0, len(pat)
|
| 90 |
+
while i < n:
|
| 91 |
+
c = pat[i]
|
| 92 |
+
i = i+1
|
| 93 |
+
if c == '*':
|
| 94 |
+
# compress consecutive `*` into one
|
| 95 |
+
if (not res) or res[-1] is not STAR:
|
| 96 |
+
add(STAR)
|
| 97 |
+
elif c == '?':
|
| 98 |
+
add('.')
|
| 99 |
+
elif c == '[':
|
| 100 |
+
j = i
|
| 101 |
+
if j < n and pat[j] == '!':
|
| 102 |
+
j = j+1
|
| 103 |
+
if j < n and pat[j] == ']':
|
| 104 |
+
j = j+1
|
| 105 |
+
while j < n and pat[j] != ']':
|
| 106 |
+
j = j+1
|
| 107 |
+
if j >= n:
|
| 108 |
+
add('\\[')
|
| 109 |
+
else:
|
| 110 |
+
stuff = pat[i:j]
|
| 111 |
+
if '-' not in stuff:
|
| 112 |
+
stuff = stuff.replace('\\', r'\\')
|
| 113 |
+
else:
|
| 114 |
+
chunks = []
|
| 115 |
+
k = i+2 if pat[i] == '!' else i+1
|
| 116 |
+
while True:
|
| 117 |
+
k = pat.find('-', k, j)
|
| 118 |
+
if k < 0:
|
| 119 |
+
break
|
| 120 |
+
chunks.append(pat[i:k])
|
| 121 |
+
i = k+1
|
| 122 |
+
k = k+3
|
| 123 |
+
chunk = pat[i:j]
|
| 124 |
+
if chunk:
|
| 125 |
+
chunks.append(chunk)
|
| 126 |
+
else:
|
| 127 |
+
chunks[-1] += '-'
|
| 128 |
+
# Remove empty ranges -- invalid in RE.
|
| 129 |
+
for k in range(len(chunks)-1, 0, -1):
|
| 130 |
+
if chunks[k-1][-1] > chunks[k][0]:
|
| 131 |
+
chunks[k-1] = chunks[k-1][:-1] + chunks[k][1:]
|
| 132 |
+
del chunks[k]
|
| 133 |
+
# Escape backslashes and hyphens for set difference (--).
|
| 134 |
+
# Hyphens that create ranges shouldn't be escaped.
|
| 135 |
+
stuff = '-'.join(s.replace('\\', r'\\').replace('-', r'\-')
|
| 136 |
+
for s in chunks)
|
| 137 |
+
# Escape set operations (&&, ~~ and ||).
|
| 138 |
+
stuff = re.sub(r'([&~|])', r'\\\1', stuff)
|
| 139 |
+
i = j+1
|
| 140 |
+
if not stuff:
|
| 141 |
+
# Empty range: never match.
|
| 142 |
+
add('(?!)')
|
| 143 |
+
elif stuff == '!':
|
| 144 |
+
# Negated empty range: match any character.
|
| 145 |
+
add('.')
|
| 146 |
+
else:
|
| 147 |
+
if stuff[0] == '!':
|
| 148 |
+
stuff = '^' + stuff[1:]
|
| 149 |
+
elif stuff[0] in ('^', '['):
|
| 150 |
+
stuff = '\\' + stuff
|
| 151 |
+
add(f'[{stuff}]')
|
| 152 |
+
else:
|
| 153 |
+
add(re.escape(c))
|
| 154 |
+
assert i == n
|
| 155 |
+
|
| 156 |
+
# Deal with STARs.
|
| 157 |
+
inp = res
|
| 158 |
+
res = []
|
| 159 |
+
add = res.append
|
| 160 |
+
i, n = 0, len(inp)
|
| 161 |
+
# Fixed pieces at the start?
|
| 162 |
+
while i < n and inp[i] is not STAR:
|
| 163 |
+
add(inp[i])
|
| 164 |
+
i += 1
|
| 165 |
+
# Now deal with STAR fixed STAR fixed ...
|
| 166 |
+
# For an interior `STAR fixed` pairing, we want to do a minimal
|
| 167 |
+
# .*? match followed by `fixed`, with no possibility of backtracking.
|
| 168 |
+
# We can't spell that directly, but can trick it into working by matching
|
| 169 |
+
# .*?fixed
|
| 170 |
+
# in a lookahead assertion, save the matched part in a group, then
|
| 171 |
+
# consume that group via a backreference. If the overall match fails,
|
| 172 |
+
# the lookahead assertion won't try alternatives. So the translation is:
|
| 173 |
+
# (?=(?P<name>.*?fixed))(?P=name)
|
| 174 |
+
# Group names are created as needed: g0, g1, g2, ...
|
| 175 |
+
# The numbers are obtained from _nextgroupnum() to ensure they're unique
|
| 176 |
+
# across calls and across threads. This is because people rely on the
|
| 177 |
+
# undocumented ability to join multiple translate() results together via
|
| 178 |
+
# "|" to build large regexps matching "one of many" shell patterns.
|
| 179 |
+
while i < n:
|
| 180 |
+
assert inp[i] is STAR
|
| 181 |
+
i += 1
|
| 182 |
+
if i == n:
|
| 183 |
+
add(".*")
|
| 184 |
+
break
|
| 185 |
+
assert inp[i] is not STAR
|
| 186 |
+
fixed = []
|
| 187 |
+
while i < n and inp[i] is not STAR:
|
| 188 |
+
fixed.append(inp[i])
|
| 189 |
+
i += 1
|
| 190 |
+
fixed = "".join(fixed)
|
| 191 |
+
if i == n:
|
| 192 |
+
add(".*")
|
| 193 |
+
add(fixed)
|
| 194 |
+
else:
|
| 195 |
+
groupnum = _nextgroupnum()
|
| 196 |
+
add(f"(?=(?P<g{groupnum}>.*?{fixed}))(?P=g{groupnum})")
|
| 197 |
+
assert i == n
|
| 198 |
+
res = "".join(res)
|
| 199 |
+
return fr'(?s:{res})\Z'
|
deepseek/lib/python3.10/hashlib.py
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#. Copyright (C) 2005-2010 Gregory P. Smith (greg@krypto.org)
|
| 2 |
+
# Licensed to PSF under a Contributor Agreement.
|
| 3 |
+
#
|
| 4 |
+
|
| 5 |
+
__doc__ = """hashlib module - A common interface to many hash functions.
|
| 6 |
+
|
| 7 |
+
new(name, data=b'', **kwargs) - returns a new hash object implementing the
|
| 8 |
+
given hash function; initializing the hash
|
| 9 |
+
using the given binary data.
|
| 10 |
+
|
| 11 |
+
Named constructor functions are also available, these are faster
|
| 12 |
+
than using new(name):
|
| 13 |
+
|
| 14 |
+
md5(), sha1(), sha224(), sha256(), sha384(), sha512(), blake2b(), blake2s(),
|
| 15 |
+
sha3_224, sha3_256, sha3_384, sha3_512, shake_128, and shake_256.
|
| 16 |
+
|
| 17 |
+
More algorithms may be available on your platform but the above are guaranteed
|
| 18 |
+
to exist. See the algorithms_guaranteed and algorithms_available attributes
|
| 19 |
+
to find out what algorithm names can be passed to new().
|
| 20 |
+
|
| 21 |
+
NOTE: If you want the adler32 or crc32 hash functions they are available in
|
| 22 |
+
the zlib module.
|
| 23 |
+
|
| 24 |
+
Choose your hash function wisely. Some have known collision weaknesses.
|
| 25 |
+
sha384 and sha512 will be slow on 32 bit platforms.
|
| 26 |
+
|
| 27 |
+
Hash objects have these methods:
|
| 28 |
+
- update(data): Update the hash object with the bytes in data. Repeated calls
|
| 29 |
+
are equivalent to a single call with the concatenation of all
|
| 30 |
+
the arguments.
|
| 31 |
+
- digest(): Return the digest of the bytes passed to the update() method
|
| 32 |
+
so far as a bytes object.
|
| 33 |
+
- hexdigest(): Like digest() except the digest is returned as a string
|
| 34 |
+
of double length, containing only hexadecimal digits.
|
| 35 |
+
- copy(): Return a copy (clone) of the hash object. This can be used to
|
| 36 |
+
efficiently compute the digests of datas that share a common
|
| 37 |
+
initial substring.
|
| 38 |
+
|
| 39 |
+
For example, to obtain the digest of the byte string 'Nobody inspects the
|
| 40 |
+
spammish repetition':
|
| 41 |
+
|
| 42 |
+
>>> import hashlib
|
| 43 |
+
>>> m = hashlib.md5()
|
| 44 |
+
>>> m.update(b"Nobody inspects")
|
| 45 |
+
>>> m.update(b" the spammish repetition")
|
| 46 |
+
>>> m.digest()
|
| 47 |
+
b'\\xbbd\\x9c\\x83\\xdd\\x1e\\xa5\\xc9\\xd9\\xde\\xc9\\xa1\\x8d\\xf0\\xff\\xe9'
|
| 48 |
+
|
| 49 |
+
More condensed:
|
| 50 |
+
|
| 51 |
+
>>> hashlib.sha224(b"Nobody inspects the spammish repetition").hexdigest()
|
| 52 |
+
'a4337bc45a8fc544c03f52dc550cd6e1e87021bc896588bd79e901e2'
|
| 53 |
+
|
| 54 |
+
"""
|
| 55 |
+
|
| 56 |
+
# This tuple and __get_builtin_constructor() must be modified if a new
|
| 57 |
+
# always available algorithm is added.
|
| 58 |
+
__always_supported = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512',
|
| 59 |
+
'blake2b', 'blake2s',
|
| 60 |
+
'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512',
|
| 61 |
+
'shake_128', 'shake_256')
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
algorithms_guaranteed = set(__always_supported)
|
| 65 |
+
algorithms_available = set(__always_supported)
|
| 66 |
+
|
| 67 |
+
__all__ = __always_supported + ('new', 'algorithms_guaranteed',
|
| 68 |
+
'algorithms_available', 'pbkdf2_hmac')
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
__builtin_constructor_cache = {}
|
| 72 |
+
|
| 73 |
+
# Prefer our blake2 implementation
|
| 74 |
+
# OpenSSL 1.1.0 comes with a limited implementation of blake2b/s. The OpenSSL
|
| 75 |
+
# implementations neither support keyed blake2 (blake2 MAC) nor advanced
|
| 76 |
+
# features like salt, personalization, or tree hashing. OpenSSL hash-only
|
| 77 |
+
# variants are available as 'blake2b512' and 'blake2s256', though.
|
| 78 |
+
__block_openssl_constructor = {
|
| 79 |
+
'blake2b', 'blake2s',
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
def __get_builtin_constructor(name):
|
| 83 |
+
cache = __builtin_constructor_cache
|
| 84 |
+
constructor = cache.get(name)
|
| 85 |
+
if constructor is not None:
|
| 86 |
+
return constructor
|
| 87 |
+
try:
|
| 88 |
+
if name in {'SHA1', 'sha1'}:
|
| 89 |
+
import _sha1
|
| 90 |
+
cache['SHA1'] = cache['sha1'] = _sha1.sha1
|
| 91 |
+
elif name in {'MD5', 'md5'}:
|
| 92 |
+
import _md5
|
| 93 |
+
cache['MD5'] = cache['md5'] = _md5.md5
|
| 94 |
+
elif name in {'SHA256', 'sha256', 'SHA224', 'sha224'}:
|
| 95 |
+
import _sha256
|
| 96 |
+
cache['SHA224'] = cache['sha224'] = _sha256.sha224
|
| 97 |
+
cache['SHA256'] = cache['sha256'] = _sha256.sha256
|
| 98 |
+
elif name in {'SHA512', 'sha512', 'SHA384', 'sha384'}:
|
| 99 |
+
import _sha512
|
| 100 |
+
cache['SHA384'] = cache['sha384'] = _sha512.sha384
|
| 101 |
+
cache['SHA512'] = cache['sha512'] = _sha512.sha512
|
| 102 |
+
elif name in {'blake2b', 'blake2s'}:
|
| 103 |
+
import _blake2
|
| 104 |
+
cache['blake2b'] = _blake2.blake2b
|
| 105 |
+
cache['blake2s'] = _blake2.blake2s
|
| 106 |
+
elif name in {'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512'}:
|
| 107 |
+
import _sha3
|
| 108 |
+
cache['sha3_224'] = _sha3.sha3_224
|
| 109 |
+
cache['sha3_256'] = _sha3.sha3_256
|
| 110 |
+
cache['sha3_384'] = _sha3.sha3_384
|
| 111 |
+
cache['sha3_512'] = _sha3.sha3_512
|
| 112 |
+
elif name in {'shake_128', 'shake_256'}:
|
| 113 |
+
import _sha3
|
| 114 |
+
cache['shake_128'] = _sha3.shake_128
|
| 115 |
+
cache['shake_256'] = _sha3.shake_256
|
| 116 |
+
except ImportError:
|
| 117 |
+
pass # no extension module, this hash is unsupported.
|
| 118 |
+
|
| 119 |
+
constructor = cache.get(name)
|
| 120 |
+
if constructor is not None:
|
| 121 |
+
return constructor
|
| 122 |
+
|
| 123 |
+
raise ValueError('unsupported hash type ' + name)
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
def __get_openssl_constructor(name):
|
| 127 |
+
if name in __block_openssl_constructor:
|
| 128 |
+
# Prefer our builtin blake2 implementation.
|
| 129 |
+
return __get_builtin_constructor(name)
|
| 130 |
+
try:
|
| 131 |
+
# MD5, SHA1, and SHA2 are in all supported OpenSSL versions
|
| 132 |
+
# SHA3/shake are available in OpenSSL 1.1.1+
|
| 133 |
+
f = getattr(_hashlib, 'openssl_' + name)
|
| 134 |
+
# Allow the C module to raise ValueError. The function will be
|
| 135 |
+
# defined but the hash not actually available. Don't fall back to
|
| 136 |
+
# builtin if the current security policy blocks a digest, bpo#40695.
|
| 137 |
+
f(usedforsecurity=False)
|
| 138 |
+
# Use the C function directly (very fast)
|
| 139 |
+
return f
|
| 140 |
+
except (AttributeError, ValueError):
|
| 141 |
+
return __get_builtin_constructor(name)
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def __py_new(name, data=b'', **kwargs):
|
| 145 |
+
"""new(name, data=b'', **kwargs) - Return a new hashing object using the
|
| 146 |
+
named algorithm; optionally initialized with data (which must be
|
| 147 |
+
a bytes-like object).
|
| 148 |
+
"""
|
| 149 |
+
return __get_builtin_constructor(name)(data, **kwargs)
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
def __hash_new(name, data=b'', **kwargs):
|
| 153 |
+
"""new(name, data=b'') - Return a new hashing object using the named algorithm;
|
| 154 |
+
optionally initialized with data (which must be a bytes-like object).
|
| 155 |
+
"""
|
| 156 |
+
if name in __block_openssl_constructor:
|
| 157 |
+
# Prefer our builtin blake2 implementation.
|
| 158 |
+
return __get_builtin_constructor(name)(data, **kwargs)
|
| 159 |
+
try:
|
| 160 |
+
return _hashlib.new(name, data, **kwargs)
|
| 161 |
+
except ValueError:
|
| 162 |
+
# If the _hashlib module (OpenSSL) doesn't support the named
|
| 163 |
+
# hash, try using our builtin implementations.
|
| 164 |
+
# This allows for SHA224/256 and SHA384/512 support even though
|
| 165 |
+
# the OpenSSL library prior to 0.9.8 doesn't provide them.
|
| 166 |
+
return __get_builtin_constructor(name)(data)
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
try:
|
| 170 |
+
import _hashlib
|
| 171 |
+
new = __hash_new
|
| 172 |
+
__get_hash = __get_openssl_constructor
|
| 173 |
+
algorithms_available = algorithms_available.union(
|
| 174 |
+
_hashlib.openssl_md_meth_names)
|
| 175 |
+
except ImportError:
|
| 176 |
+
_hashlib = None
|
| 177 |
+
new = __py_new
|
| 178 |
+
__get_hash = __get_builtin_constructor
|
| 179 |
+
|
| 180 |
+
try:
|
| 181 |
+
# OpenSSL's PKCS5_PBKDF2_HMAC requires OpenSSL 1.0+ with HMAC and SHA
|
| 182 |
+
from _hashlib import pbkdf2_hmac
|
| 183 |
+
except ImportError:
|
| 184 |
+
from warnings import warn as _warn
|
| 185 |
+
_trans_5C = bytes((x ^ 0x5C) for x in range(256))
|
| 186 |
+
_trans_36 = bytes((x ^ 0x36) for x in range(256))
|
| 187 |
+
|
| 188 |
+
def pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None):
|
| 189 |
+
"""Password based key derivation function 2 (PKCS #5 v2.0)
|
| 190 |
+
|
| 191 |
+
This Python implementations based on the hmac module about as fast
|
| 192 |
+
as OpenSSL's PKCS5_PBKDF2_HMAC for short passwords and much faster
|
| 193 |
+
for long passwords.
|
| 194 |
+
"""
|
| 195 |
+
_warn(
|
| 196 |
+
"Python implementation of pbkdf2_hmac() is deprecated.",
|
| 197 |
+
category=DeprecationWarning,
|
| 198 |
+
stacklevel=2
|
| 199 |
+
)
|
| 200 |
+
if not isinstance(hash_name, str):
|
| 201 |
+
raise TypeError(hash_name)
|
| 202 |
+
|
| 203 |
+
if not isinstance(password, (bytes, bytearray)):
|
| 204 |
+
password = bytes(memoryview(password))
|
| 205 |
+
if not isinstance(salt, (bytes, bytearray)):
|
| 206 |
+
salt = bytes(memoryview(salt))
|
| 207 |
+
|
| 208 |
+
# Fast inline HMAC implementation
|
| 209 |
+
inner = new(hash_name)
|
| 210 |
+
outer = new(hash_name)
|
| 211 |
+
blocksize = getattr(inner, 'block_size', 64)
|
| 212 |
+
if len(password) > blocksize:
|
| 213 |
+
password = new(hash_name, password).digest()
|
| 214 |
+
password = password + b'\x00' * (blocksize - len(password))
|
| 215 |
+
inner.update(password.translate(_trans_36))
|
| 216 |
+
outer.update(password.translate(_trans_5C))
|
| 217 |
+
|
| 218 |
+
def prf(msg, inner=inner, outer=outer):
|
| 219 |
+
# PBKDF2_HMAC uses the password as key. We can re-use the same
|
| 220 |
+
# digest objects and just update copies to skip initialization.
|
| 221 |
+
icpy = inner.copy()
|
| 222 |
+
ocpy = outer.copy()
|
| 223 |
+
icpy.update(msg)
|
| 224 |
+
ocpy.update(icpy.digest())
|
| 225 |
+
return ocpy.digest()
|
| 226 |
+
|
| 227 |
+
if iterations < 1:
|
| 228 |
+
raise ValueError(iterations)
|
| 229 |
+
if dklen is None:
|
| 230 |
+
dklen = outer.digest_size
|
| 231 |
+
if dklen < 1:
|
| 232 |
+
raise ValueError(dklen)
|
| 233 |
+
|
| 234 |
+
dkey = b''
|
| 235 |
+
loop = 1
|
| 236 |
+
from_bytes = int.from_bytes
|
| 237 |
+
while len(dkey) < dklen:
|
| 238 |
+
prev = prf(salt + loop.to_bytes(4, 'big'))
|
| 239 |
+
# endianness doesn't matter here as long to / from use the same
|
| 240 |
+
rkey = int.from_bytes(prev, 'big')
|
| 241 |
+
for i in range(iterations - 1):
|
| 242 |
+
prev = prf(prev)
|
| 243 |
+
# rkey = rkey ^ prev
|
| 244 |
+
rkey ^= from_bytes(prev, 'big')
|
| 245 |
+
loop += 1
|
| 246 |
+
dkey += rkey.to_bytes(inner.digest_size, 'big')
|
| 247 |
+
|
| 248 |
+
return dkey[:dklen]
|
| 249 |
+
|
| 250 |
+
try:
|
| 251 |
+
# OpenSSL's scrypt requires OpenSSL 1.1+
|
| 252 |
+
from _hashlib import scrypt
|
| 253 |
+
except ImportError:
|
| 254 |
+
pass
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
for __func_name in __always_supported:
|
| 258 |
+
# try them all, some may not work due to the OpenSSL
|
| 259 |
+
# version not supporting that algorithm.
|
| 260 |
+
try:
|
| 261 |
+
globals()[__func_name] = __get_hash(__func_name)
|
| 262 |
+
except ValueError:
|
| 263 |
+
import logging
|
| 264 |
+
logging.exception('code for hash %s was not found.', __func_name)
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
# Cleanup locals()
|
| 268 |
+
del __always_supported, __func_name, __get_hash
|
| 269 |
+
del __py_new, __hash_new, __get_openssl_constructor
|
deepseek/lib/python3.10/imghdr.py
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Recognize image file formats based on their first few bytes."""
|
| 2 |
+
|
| 3 |
+
from os import PathLike
|
| 4 |
+
|
| 5 |
+
__all__ = ["what"]
|
| 6 |
+
|
| 7 |
+
#-------------------------#
|
| 8 |
+
# Recognize image headers #
|
| 9 |
+
#-------------------------#
|
| 10 |
+
|
| 11 |
+
def what(file, h=None):
|
| 12 |
+
f = None
|
| 13 |
+
try:
|
| 14 |
+
if h is None:
|
| 15 |
+
if isinstance(file, (str, PathLike)):
|
| 16 |
+
f = open(file, 'rb')
|
| 17 |
+
h = f.read(32)
|
| 18 |
+
else:
|
| 19 |
+
location = file.tell()
|
| 20 |
+
h = file.read(32)
|
| 21 |
+
file.seek(location)
|
| 22 |
+
for tf in tests:
|
| 23 |
+
res = tf(h, f)
|
| 24 |
+
if res:
|
| 25 |
+
return res
|
| 26 |
+
finally:
|
| 27 |
+
if f: f.close()
|
| 28 |
+
return None
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
#---------------------------------#
|
| 32 |
+
# Subroutines per image file type #
|
| 33 |
+
#---------------------------------#
|
| 34 |
+
|
| 35 |
+
tests = []
|
| 36 |
+
|
| 37 |
+
def test_jpeg(h, f):
|
| 38 |
+
"""JPEG data in JFIF or Exif format"""
|
| 39 |
+
if h[6:10] in (b'JFIF', b'Exif'):
|
| 40 |
+
return 'jpeg'
|
| 41 |
+
|
| 42 |
+
tests.append(test_jpeg)
|
| 43 |
+
|
| 44 |
+
def test_png(h, f):
|
| 45 |
+
if h.startswith(b'\211PNG\r\n\032\n'):
|
| 46 |
+
return 'png'
|
| 47 |
+
|
| 48 |
+
tests.append(test_png)
|
| 49 |
+
|
| 50 |
+
def test_gif(h, f):
|
| 51 |
+
"""GIF ('87 and '89 variants)"""
|
| 52 |
+
if h[:6] in (b'GIF87a', b'GIF89a'):
|
| 53 |
+
return 'gif'
|
| 54 |
+
|
| 55 |
+
tests.append(test_gif)
|
| 56 |
+
|
| 57 |
+
def test_tiff(h, f):
|
| 58 |
+
"""TIFF (can be in Motorola or Intel byte order)"""
|
| 59 |
+
if h[:2] in (b'MM', b'II'):
|
| 60 |
+
return 'tiff'
|
| 61 |
+
|
| 62 |
+
tests.append(test_tiff)
|
| 63 |
+
|
| 64 |
+
def test_rgb(h, f):
|
| 65 |
+
"""SGI image library"""
|
| 66 |
+
if h.startswith(b'\001\332'):
|
| 67 |
+
return 'rgb'
|
| 68 |
+
|
| 69 |
+
tests.append(test_rgb)
|
| 70 |
+
|
| 71 |
+
def test_pbm(h, f):
|
| 72 |
+
"""PBM (portable bitmap)"""
|
| 73 |
+
if len(h) >= 3 and \
|
| 74 |
+
h[0] == ord(b'P') and h[1] in b'14' and h[2] in b' \t\n\r':
|
| 75 |
+
return 'pbm'
|
| 76 |
+
|
| 77 |
+
tests.append(test_pbm)
|
| 78 |
+
|
| 79 |
+
def test_pgm(h, f):
|
| 80 |
+
"""PGM (portable graymap)"""
|
| 81 |
+
if len(h) >= 3 and \
|
| 82 |
+
h[0] == ord(b'P') and h[1] in b'25' and h[2] in b' \t\n\r':
|
| 83 |
+
return 'pgm'
|
| 84 |
+
|
| 85 |
+
tests.append(test_pgm)
|
| 86 |
+
|
| 87 |
+
def test_ppm(h, f):
|
| 88 |
+
"""PPM (portable pixmap)"""
|
| 89 |
+
if len(h) >= 3 and \
|
| 90 |
+
h[0] == ord(b'P') and h[1] in b'36' and h[2] in b' \t\n\r':
|
| 91 |
+
return 'ppm'
|
| 92 |
+
|
| 93 |
+
tests.append(test_ppm)
|
| 94 |
+
|
| 95 |
+
def test_rast(h, f):
|
| 96 |
+
"""Sun raster file"""
|
| 97 |
+
if h.startswith(b'\x59\xA6\x6A\x95'):
|
| 98 |
+
return 'rast'
|
| 99 |
+
|
| 100 |
+
tests.append(test_rast)
|
| 101 |
+
|
| 102 |
+
def test_xbm(h, f):
|
| 103 |
+
"""X bitmap (X10 or X11)"""
|
| 104 |
+
if h.startswith(b'#define '):
|
| 105 |
+
return 'xbm'
|
| 106 |
+
|
| 107 |
+
tests.append(test_xbm)
|
| 108 |
+
|
| 109 |
+
def test_bmp(h, f):
|
| 110 |
+
if h.startswith(b'BM'):
|
| 111 |
+
return 'bmp'
|
| 112 |
+
|
| 113 |
+
tests.append(test_bmp)
|
| 114 |
+
|
| 115 |
+
def test_webp(h, f):
|
| 116 |
+
if h.startswith(b'RIFF') and h[8:12] == b'WEBP':
|
| 117 |
+
return 'webp'
|
| 118 |
+
|
| 119 |
+
tests.append(test_webp)
|
| 120 |
+
|
| 121 |
+
def test_exr(h, f):
|
| 122 |
+
if h.startswith(b'\x76\x2f\x31\x01'):
|
| 123 |
+
return 'exr'
|
| 124 |
+
|
| 125 |
+
tests.append(test_exr)
|
| 126 |
+
|
| 127 |
+
#--------------------#
|
| 128 |
+
# Small test program #
|
| 129 |
+
#--------------------#
|
| 130 |
+
|
| 131 |
+
def test():
|
| 132 |
+
import sys
|
| 133 |
+
recursive = 0
|
| 134 |
+
if sys.argv[1:] and sys.argv[1] == '-r':
|
| 135 |
+
del sys.argv[1:2]
|
| 136 |
+
recursive = 1
|
| 137 |
+
try:
|
| 138 |
+
if sys.argv[1:]:
|
| 139 |
+
testall(sys.argv[1:], recursive, 1)
|
| 140 |
+
else:
|
| 141 |
+
testall(['.'], recursive, 1)
|
| 142 |
+
except KeyboardInterrupt:
|
| 143 |
+
sys.stderr.write('\n[Interrupted]\n')
|
| 144 |
+
sys.exit(1)
|
| 145 |
+
|
| 146 |
+
def testall(list, recursive, toplevel):
|
| 147 |
+
import sys
|
| 148 |
+
import os
|
| 149 |
+
for filename in list:
|
| 150 |
+
if os.path.isdir(filename):
|
| 151 |
+
print(filename + '/:', end=' ')
|
| 152 |
+
if recursive or toplevel:
|
| 153 |
+
print('recursing down:')
|
| 154 |
+
import glob
|
| 155 |
+
names = glob.glob(os.path.join(glob.escape(filename), '*'))
|
| 156 |
+
testall(names, recursive, 0)
|
| 157 |
+
else:
|
| 158 |
+
print('*** directory (use -r) ***')
|
| 159 |
+
else:
|
| 160 |
+
print(filename + ':', end=' ')
|
| 161 |
+
sys.stdout.flush()
|
| 162 |
+
try:
|
| 163 |
+
print(what(filename))
|
| 164 |
+
except OSError:
|
| 165 |
+
print('*** not found ***')
|
| 166 |
+
|
| 167 |
+
if __name__ == '__main__':
|
| 168 |
+
test()
|
deepseek/lib/python3.10/pdb.py
ADDED
|
@@ -0,0 +1,1750 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
|
| 3 |
+
"""
|
| 4 |
+
The Python Debugger Pdb
|
| 5 |
+
=======================
|
| 6 |
+
|
| 7 |
+
To use the debugger in its simplest form:
|
| 8 |
+
|
| 9 |
+
>>> import pdb
|
| 10 |
+
>>> pdb.run('<a statement>')
|
| 11 |
+
|
| 12 |
+
The debugger's prompt is '(Pdb) '. This will stop in the first
|
| 13 |
+
function call in <a statement>.
|
| 14 |
+
|
| 15 |
+
Alternatively, if a statement terminated with an unhandled exception,
|
| 16 |
+
you can use pdb's post-mortem facility to inspect the contents of the
|
| 17 |
+
traceback:
|
| 18 |
+
|
| 19 |
+
>>> <a statement>
|
| 20 |
+
<exception traceback>
|
| 21 |
+
>>> import pdb
|
| 22 |
+
>>> pdb.pm()
|
| 23 |
+
|
| 24 |
+
The commands recognized by the debugger are listed in the next
|
| 25 |
+
section. Most can be abbreviated as indicated; e.g., h(elp) means
|
| 26 |
+
that 'help' can be typed as 'h' or 'help' (but not as 'he' or 'hel',
|
| 27 |
+
nor as 'H' or 'Help' or 'HELP'). Optional arguments are enclosed in
|
| 28 |
+
square brackets. Alternatives in the command syntax are separated
|
| 29 |
+
by a vertical bar (|).
|
| 30 |
+
|
| 31 |
+
A blank line repeats the previous command literally, except for
|
| 32 |
+
'list', where it lists the next 11 lines.
|
| 33 |
+
|
| 34 |
+
Commands that the debugger doesn't recognize are assumed to be Python
|
| 35 |
+
statements and are executed in the context of the program being
|
| 36 |
+
debugged. Python statements can also be prefixed with an exclamation
|
| 37 |
+
point ('!'). This is a powerful way to inspect the program being
|
| 38 |
+
debugged; it is even possible to change variables or call functions.
|
| 39 |
+
When an exception occurs in such a statement, the exception name is
|
| 40 |
+
printed but the debugger's state is not changed.
|
| 41 |
+
|
| 42 |
+
The debugger supports aliases, which can save typing. And aliases can
|
| 43 |
+
have parameters (see the alias help entry) which allows one a certain
|
| 44 |
+
level of adaptability to the context under examination.
|
| 45 |
+
|
| 46 |
+
Multiple commands may be entered on a single line, separated by the
|
| 47 |
+
pair ';;'. No intelligence is applied to separating the commands; the
|
| 48 |
+
input is split at the first ';;', even if it is in the middle of a
|
| 49 |
+
quoted string.
|
| 50 |
+
|
| 51 |
+
If a file ".pdbrc" exists in your home directory or in the current
|
| 52 |
+
directory, it is read in and executed as if it had been typed at the
|
| 53 |
+
debugger prompt. This is particularly useful for aliases. If both
|
| 54 |
+
files exist, the one in the home directory is read first and aliases
|
| 55 |
+
defined there can be overridden by the local file. This behavior can be
|
| 56 |
+
disabled by passing the "readrc=False" argument to the Pdb constructor.
|
| 57 |
+
|
| 58 |
+
Aside from aliases, the debugger is not directly programmable; but it
|
| 59 |
+
is implemented as a class from which you can derive your own debugger
|
| 60 |
+
class, which you can make as fancy as you like.
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
Debugger commands
|
| 64 |
+
=================
|
| 65 |
+
|
| 66 |
+
"""
|
| 67 |
+
# NOTE: the actual command documentation is collected from docstrings of the
|
| 68 |
+
# commands and is appended to __doc__ after the class has been defined.
|
| 69 |
+
|
| 70 |
+
import os
|
| 71 |
+
import io
|
| 72 |
+
import re
|
| 73 |
+
import sys
|
| 74 |
+
import cmd
|
| 75 |
+
import bdb
|
| 76 |
+
import dis
|
| 77 |
+
import code
|
| 78 |
+
import glob
|
| 79 |
+
import pprint
|
| 80 |
+
import signal
|
| 81 |
+
import inspect
|
| 82 |
+
import tokenize
|
| 83 |
+
import traceback
|
| 84 |
+
import linecache
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
class Restart(Exception):
|
| 88 |
+
"""Causes a debugger to be restarted for the debugged python program."""
|
| 89 |
+
pass
|
| 90 |
+
|
| 91 |
+
__all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace",
|
| 92 |
+
"post_mortem", "help"]
|
| 93 |
+
|
| 94 |
+
def find_function(funcname, filename):
|
| 95 |
+
cre = re.compile(r'def\s+%s\s*[(]' % re.escape(funcname))
|
| 96 |
+
try:
|
| 97 |
+
fp = tokenize.open(filename)
|
| 98 |
+
except OSError:
|
| 99 |
+
return None
|
| 100 |
+
# consumer of this info expects the first line to be 1
|
| 101 |
+
with fp:
|
| 102 |
+
for lineno, line in enumerate(fp, start=1):
|
| 103 |
+
if cre.match(line):
|
| 104 |
+
return funcname, filename, lineno
|
| 105 |
+
return None
|
| 106 |
+
|
| 107 |
+
def lasti2lineno(code, lasti):
|
| 108 |
+
linestarts = list(dis.findlinestarts(code))
|
| 109 |
+
linestarts.reverse()
|
| 110 |
+
for i, lineno in linestarts:
|
| 111 |
+
if lasti >= i:
|
| 112 |
+
return lineno
|
| 113 |
+
return 0
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
class _rstr(str):
|
| 117 |
+
"""String that doesn't quote its repr."""
|
| 118 |
+
def __repr__(self):
|
| 119 |
+
return self
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
# Interaction prompt line will separate file and call info from code
|
| 123 |
+
# text using value of line_prefix string. A newline and arrow may
|
| 124 |
+
# be to your liking. You can set it once pdb is imported using the
|
| 125 |
+
# command "pdb.line_prefix = '\n% '".
|
| 126 |
+
# line_prefix = ': ' # Use this to get the old situation back
|
| 127 |
+
line_prefix = '\n-> ' # Probably a better default
|
| 128 |
+
|
| 129 |
+
class Pdb(bdb.Bdb, cmd.Cmd):
|
| 130 |
+
|
| 131 |
+
_previous_sigint_handler = None
|
| 132 |
+
|
| 133 |
+
def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None,
|
| 134 |
+
nosigint=False, readrc=True):
|
| 135 |
+
bdb.Bdb.__init__(self, skip=skip)
|
| 136 |
+
cmd.Cmd.__init__(self, completekey, stdin, stdout)
|
| 137 |
+
sys.audit("pdb.Pdb")
|
| 138 |
+
if stdout:
|
| 139 |
+
self.use_rawinput = 0
|
| 140 |
+
self.prompt = '(Pdb) '
|
| 141 |
+
self.aliases = {}
|
| 142 |
+
self.displaying = {}
|
| 143 |
+
self.mainpyfile = ''
|
| 144 |
+
self._wait_for_mainpyfile = False
|
| 145 |
+
self.tb_lineno = {}
|
| 146 |
+
# Try to load readline if it exists
|
| 147 |
+
try:
|
| 148 |
+
import readline
|
| 149 |
+
# remove some common file name delimiters
|
| 150 |
+
readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?')
|
| 151 |
+
except ImportError:
|
| 152 |
+
pass
|
| 153 |
+
self.allow_kbdint = False
|
| 154 |
+
self.nosigint = nosigint
|
| 155 |
+
|
| 156 |
+
# Read ~/.pdbrc and ./.pdbrc
|
| 157 |
+
self.rcLines = []
|
| 158 |
+
if readrc:
|
| 159 |
+
try:
|
| 160 |
+
with open(os.path.expanduser('~/.pdbrc')) as rcFile:
|
| 161 |
+
self.rcLines.extend(rcFile)
|
| 162 |
+
except OSError:
|
| 163 |
+
pass
|
| 164 |
+
try:
|
| 165 |
+
with open(".pdbrc") as rcFile:
|
| 166 |
+
self.rcLines.extend(rcFile)
|
| 167 |
+
except OSError:
|
| 168 |
+
pass
|
| 169 |
+
|
| 170 |
+
self.commands = {} # associates a command list to breakpoint numbers
|
| 171 |
+
self.commands_doprompt = {} # for each bp num, tells if the prompt
|
| 172 |
+
# must be disp. after execing the cmd list
|
| 173 |
+
self.commands_silent = {} # for each bp num, tells if the stack trace
|
| 174 |
+
# must be disp. after execing the cmd list
|
| 175 |
+
self.commands_defining = False # True while in the process of defining
|
| 176 |
+
# a command list
|
| 177 |
+
self.commands_bnum = None # The breakpoint number for which we are
|
| 178 |
+
# defining a list
|
| 179 |
+
|
| 180 |
+
def sigint_handler(self, signum, frame):
|
| 181 |
+
if self.allow_kbdint:
|
| 182 |
+
raise KeyboardInterrupt
|
| 183 |
+
self.message("\nProgram interrupted. (Use 'cont' to resume).")
|
| 184 |
+
self.set_step()
|
| 185 |
+
self.set_trace(frame)
|
| 186 |
+
|
| 187 |
+
def reset(self):
|
| 188 |
+
bdb.Bdb.reset(self)
|
| 189 |
+
self.forget()
|
| 190 |
+
|
| 191 |
+
def forget(self):
|
| 192 |
+
self.lineno = None
|
| 193 |
+
self.stack = []
|
| 194 |
+
self.curindex = 0
|
| 195 |
+
self.curframe = None
|
| 196 |
+
self.tb_lineno.clear()
|
| 197 |
+
|
| 198 |
+
def setup(self, f, tb):
|
| 199 |
+
self.forget()
|
| 200 |
+
self.stack, self.curindex = self.get_stack(f, tb)
|
| 201 |
+
while tb:
|
| 202 |
+
# when setting up post-mortem debugging with a traceback, save all
|
| 203 |
+
# the original line numbers to be displayed along the current line
|
| 204 |
+
# numbers (which can be different, e.g. due to finally clauses)
|
| 205 |
+
lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
|
| 206 |
+
self.tb_lineno[tb.tb_frame] = lineno
|
| 207 |
+
tb = tb.tb_next
|
| 208 |
+
self.curframe = self.stack[self.curindex][0]
|
| 209 |
+
# The f_locals dictionary is updated from the actual frame
|
| 210 |
+
# locals whenever the .f_locals accessor is called, so we
|
| 211 |
+
# cache it here to ensure that modifications are not overwritten.
|
| 212 |
+
self.curframe_locals = self.curframe.f_locals
|
| 213 |
+
return self.execRcLines()
|
| 214 |
+
|
| 215 |
+
# Can be executed earlier than 'setup' if desired
|
| 216 |
+
def execRcLines(self):
|
| 217 |
+
if not self.rcLines:
|
| 218 |
+
return
|
| 219 |
+
# local copy because of recursion
|
| 220 |
+
rcLines = self.rcLines
|
| 221 |
+
rcLines.reverse()
|
| 222 |
+
# execute every line only once
|
| 223 |
+
self.rcLines = []
|
| 224 |
+
while rcLines:
|
| 225 |
+
line = rcLines.pop().strip()
|
| 226 |
+
if line and line[0] != '#':
|
| 227 |
+
if self.onecmd(line):
|
| 228 |
+
# if onecmd returns True, the command wants to exit
|
| 229 |
+
# from the interaction, save leftover rc lines
|
| 230 |
+
# to execute before next interaction
|
| 231 |
+
self.rcLines += reversed(rcLines)
|
| 232 |
+
return True
|
| 233 |
+
|
| 234 |
+
# Override Bdb methods
|
| 235 |
+
|
| 236 |
+
def user_call(self, frame, argument_list):
|
| 237 |
+
"""This method is called when there is the remote possibility
|
| 238 |
+
that we ever need to stop in this function."""
|
| 239 |
+
if self._wait_for_mainpyfile:
|
| 240 |
+
return
|
| 241 |
+
if self.stop_here(frame):
|
| 242 |
+
self.message('--Call--')
|
| 243 |
+
self.interaction(frame, None)
|
| 244 |
+
|
| 245 |
+
def user_line(self, frame):
|
| 246 |
+
"""This function is called when we stop or break at this line."""
|
| 247 |
+
if self._wait_for_mainpyfile:
|
| 248 |
+
if (self.mainpyfile != self.canonic(frame.f_code.co_filename)
|
| 249 |
+
or frame.f_lineno <= 0):
|
| 250 |
+
return
|
| 251 |
+
self._wait_for_mainpyfile = False
|
| 252 |
+
if self.bp_commands(frame):
|
| 253 |
+
self.interaction(frame, None)
|
| 254 |
+
|
| 255 |
+
def bp_commands(self, frame):
|
| 256 |
+
"""Call every command that was set for the current active breakpoint
|
| 257 |
+
(if there is one).
|
| 258 |
+
|
| 259 |
+
Returns True if the normal interaction function must be called,
|
| 260 |
+
False otherwise."""
|
| 261 |
+
# self.currentbp is set in bdb in Bdb.break_here if a breakpoint was hit
|
| 262 |
+
if getattr(self, "currentbp", False) and \
|
| 263 |
+
self.currentbp in self.commands:
|
| 264 |
+
currentbp = self.currentbp
|
| 265 |
+
self.currentbp = 0
|
| 266 |
+
lastcmd_back = self.lastcmd
|
| 267 |
+
self.setup(frame, None)
|
| 268 |
+
for line in self.commands[currentbp]:
|
| 269 |
+
self.onecmd(line)
|
| 270 |
+
self.lastcmd = lastcmd_back
|
| 271 |
+
if not self.commands_silent[currentbp]:
|
| 272 |
+
self.print_stack_entry(self.stack[self.curindex])
|
| 273 |
+
if self.commands_doprompt[currentbp]:
|
| 274 |
+
self._cmdloop()
|
| 275 |
+
self.forget()
|
| 276 |
+
return
|
| 277 |
+
return 1
|
| 278 |
+
|
| 279 |
+
def user_return(self, frame, return_value):
|
| 280 |
+
"""This function is called when a return trap is set here."""
|
| 281 |
+
if self._wait_for_mainpyfile:
|
| 282 |
+
return
|
| 283 |
+
frame.f_locals['__return__'] = return_value
|
| 284 |
+
self.message('--Return--')
|
| 285 |
+
self.interaction(frame, None)
|
| 286 |
+
|
| 287 |
+
def user_exception(self, frame, exc_info):
|
| 288 |
+
"""This function is called if an exception occurs,
|
| 289 |
+
but only if we are to stop at or just below this level."""
|
| 290 |
+
if self._wait_for_mainpyfile:
|
| 291 |
+
return
|
| 292 |
+
exc_type, exc_value, exc_traceback = exc_info
|
| 293 |
+
frame.f_locals['__exception__'] = exc_type, exc_value
|
| 294 |
+
|
| 295 |
+
# An 'Internal StopIteration' exception is an exception debug event
|
| 296 |
+
# issued by the interpreter when handling a subgenerator run with
|
| 297 |
+
# 'yield from' or a generator controlled by a for loop. No exception has
|
| 298 |
+
# actually occurred in this case. The debugger uses this debug event to
|
| 299 |
+
# stop when the debuggee is returning from such generators.
|
| 300 |
+
prefix = 'Internal ' if (not exc_traceback
|
| 301 |
+
and exc_type is StopIteration) else ''
|
| 302 |
+
self.message('%s%s' % (prefix,
|
| 303 |
+
traceback.format_exception_only(exc_type, exc_value)[-1].strip()))
|
| 304 |
+
self.interaction(frame, exc_traceback)
|
| 305 |
+
|
| 306 |
+
# General interaction function
|
| 307 |
+
def _cmdloop(self):
|
| 308 |
+
while True:
|
| 309 |
+
try:
|
| 310 |
+
# keyboard interrupts allow for an easy way to cancel
|
| 311 |
+
# the current command, so allow them during interactive input
|
| 312 |
+
self.allow_kbdint = True
|
| 313 |
+
self.cmdloop()
|
| 314 |
+
self.allow_kbdint = False
|
| 315 |
+
break
|
| 316 |
+
except KeyboardInterrupt:
|
| 317 |
+
self.message('--KeyboardInterrupt--')
|
| 318 |
+
|
| 319 |
+
# Called before loop, handles display expressions
|
| 320 |
+
def preloop(self):
|
| 321 |
+
displaying = self.displaying.get(self.curframe)
|
| 322 |
+
if displaying:
|
| 323 |
+
for expr, oldvalue in displaying.items():
|
| 324 |
+
newvalue = self._getval_except(expr)
|
| 325 |
+
# check for identity first; this prevents custom __eq__ to
|
| 326 |
+
# be called at every loop, and also prevents instances whose
|
| 327 |
+
# fields are changed to be displayed
|
| 328 |
+
if newvalue is not oldvalue and newvalue != oldvalue:
|
| 329 |
+
displaying[expr] = newvalue
|
| 330 |
+
self.message('display %s: %r [old: %r]' %
|
| 331 |
+
(expr, newvalue, oldvalue))
|
| 332 |
+
|
| 333 |
+
def interaction(self, frame, traceback):
|
| 334 |
+
# Restore the previous signal handler at the Pdb prompt.
|
| 335 |
+
if Pdb._previous_sigint_handler:
|
| 336 |
+
try:
|
| 337 |
+
signal.signal(signal.SIGINT, Pdb._previous_sigint_handler)
|
| 338 |
+
except ValueError: # ValueError: signal only works in main thread
|
| 339 |
+
pass
|
| 340 |
+
else:
|
| 341 |
+
Pdb._previous_sigint_handler = None
|
| 342 |
+
if self.setup(frame, traceback):
|
| 343 |
+
# no interaction desired at this time (happens if .pdbrc contains
|
| 344 |
+
# a command like "continue")
|
| 345 |
+
self.forget()
|
| 346 |
+
return
|
| 347 |
+
self.print_stack_entry(self.stack[self.curindex])
|
| 348 |
+
self._cmdloop()
|
| 349 |
+
self.forget()
|
| 350 |
+
|
| 351 |
+
def displayhook(self, obj):
|
| 352 |
+
"""Custom displayhook for the exec in default(), which prevents
|
| 353 |
+
assignment of the _ variable in the builtins.
|
| 354 |
+
"""
|
| 355 |
+
# reproduce the behavior of the standard displayhook, not printing None
|
| 356 |
+
if obj is not None:
|
| 357 |
+
self.message(repr(obj))
|
| 358 |
+
|
| 359 |
+
def default(self, line):
|
| 360 |
+
if line[:1] == '!': line = line[1:]
|
| 361 |
+
locals = self.curframe_locals
|
| 362 |
+
globals = self.curframe.f_globals
|
| 363 |
+
try:
|
| 364 |
+
code = compile(line + '\n', '<stdin>', 'single')
|
| 365 |
+
save_stdout = sys.stdout
|
| 366 |
+
save_stdin = sys.stdin
|
| 367 |
+
save_displayhook = sys.displayhook
|
| 368 |
+
try:
|
| 369 |
+
sys.stdin = self.stdin
|
| 370 |
+
sys.stdout = self.stdout
|
| 371 |
+
sys.displayhook = self.displayhook
|
| 372 |
+
exec(code, globals, locals)
|
| 373 |
+
finally:
|
| 374 |
+
sys.stdout = save_stdout
|
| 375 |
+
sys.stdin = save_stdin
|
| 376 |
+
sys.displayhook = save_displayhook
|
| 377 |
+
except:
|
| 378 |
+
self._error_exc()
|
| 379 |
+
|
| 380 |
+
def precmd(self, line):
|
| 381 |
+
"""Handle alias expansion and ';;' separator."""
|
| 382 |
+
if not line.strip():
|
| 383 |
+
return line
|
| 384 |
+
args = line.split()
|
| 385 |
+
while args[0] in self.aliases:
|
| 386 |
+
line = self.aliases[args[0]]
|
| 387 |
+
ii = 1
|
| 388 |
+
for tmpArg in args[1:]:
|
| 389 |
+
line = line.replace("%" + str(ii),
|
| 390 |
+
tmpArg)
|
| 391 |
+
ii += 1
|
| 392 |
+
line = line.replace("%*", ' '.join(args[1:]))
|
| 393 |
+
args = line.split()
|
| 394 |
+
# split into ';;' separated commands
|
| 395 |
+
# unless it's an alias command
|
| 396 |
+
if args[0] != 'alias':
|
| 397 |
+
marker = line.find(';;')
|
| 398 |
+
if marker >= 0:
|
| 399 |
+
# queue up everything after marker
|
| 400 |
+
next = line[marker+2:].lstrip()
|
| 401 |
+
self.cmdqueue.append(next)
|
| 402 |
+
line = line[:marker].rstrip()
|
| 403 |
+
return line
|
| 404 |
+
|
| 405 |
+
def onecmd(self, line):
|
| 406 |
+
"""Interpret the argument as though it had been typed in response
|
| 407 |
+
to the prompt.
|
| 408 |
+
|
| 409 |
+
Checks whether this line is typed at the normal prompt or in
|
| 410 |
+
a breakpoint command list definition.
|
| 411 |
+
"""
|
| 412 |
+
if not self.commands_defining:
|
| 413 |
+
return cmd.Cmd.onecmd(self, line)
|
| 414 |
+
else:
|
| 415 |
+
return self.handle_command_def(line)
|
| 416 |
+
|
| 417 |
+
def handle_command_def(self, line):
|
| 418 |
+
"""Handles one command line during command list definition."""
|
| 419 |
+
cmd, arg, line = self.parseline(line)
|
| 420 |
+
if not cmd:
|
| 421 |
+
return
|
| 422 |
+
if cmd == 'silent':
|
| 423 |
+
self.commands_silent[self.commands_bnum] = True
|
| 424 |
+
return # continue to handle other cmd def in the cmd list
|
| 425 |
+
elif cmd == 'end':
|
| 426 |
+
self.cmdqueue = []
|
| 427 |
+
return 1 # end of cmd list
|
| 428 |
+
cmdlist = self.commands[self.commands_bnum]
|
| 429 |
+
if arg:
|
| 430 |
+
cmdlist.append(cmd+' '+arg)
|
| 431 |
+
else:
|
| 432 |
+
cmdlist.append(cmd)
|
| 433 |
+
# Determine if we must stop
|
| 434 |
+
try:
|
| 435 |
+
func = getattr(self, 'do_' + cmd)
|
| 436 |
+
except AttributeError:
|
| 437 |
+
func = self.default
|
| 438 |
+
# one of the resuming commands
|
| 439 |
+
if func.__name__ in self.commands_resuming:
|
| 440 |
+
self.commands_doprompt[self.commands_bnum] = False
|
| 441 |
+
self.cmdqueue = []
|
| 442 |
+
return 1
|
| 443 |
+
return
|
| 444 |
+
|
| 445 |
+
# interface abstraction functions
|
| 446 |
+
|
| 447 |
+
def message(self, msg):
|
| 448 |
+
print(msg, file=self.stdout)
|
| 449 |
+
|
| 450 |
+
def error(self, msg):
|
| 451 |
+
print('***', msg, file=self.stdout)
|
| 452 |
+
|
| 453 |
+
# Generic completion functions. Individual complete_foo methods can be
|
| 454 |
+
# assigned below to one of these functions.
|
| 455 |
+
|
| 456 |
+
def _complete_location(self, text, line, begidx, endidx):
|
| 457 |
+
# Complete a file/module/function location for break/tbreak/clear.
|
| 458 |
+
if line.strip().endswith((':', ',')):
|
| 459 |
+
# Here comes a line number or a condition which we can't complete.
|
| 460 |
+
return []
|
| 461 |
+
# First, try to find matching functions (i.e. expressions).
|
| 462 |
+
try:
|
| 463 |
+
ret = self._complete_expression(text, line, begidx, endidx)
|
| 464 |
+
except Exception:
|
| 465 |
+
ret = []
|
| 466 |
+
# Then, try to complete file names as well.
|
| 467 |
+
globs = glob.glob(glob.escape(text) + '*')
|
| 468 |
+
for fn in globs:
|
| 469 |
+
if os.path.isdir(fn):
|
| 470 |
+
ret.append(fn + '/')
|
| 471 |
+
elif os.path.isfile(fn) and fn.lower().endswith(('.py', '.pyw')):
|
| 472 |
+
ret.append(fn + ':')
|
| 473 |
+
return ret
|
| 474 |
+
|
| 475 |
+
def _complete_bpnumber(self, text, line, begidx, endidx):
|
| 476 |
+
# Complete a breakpoint number. (This would be more helpful if we could
|
| 477 |
+
# display additional info along with the completions, such as file/line
|
| 478 |
+
# of the breakpoint.)
|
| 479 |
+
return [str(i) for i, bp in enumerate(bdb.Breakpoint.bpbynumber)
|
| 480 |
+
if bp is not None and str(i).startswith(text)]
|
| 481 |
+
|
| 482 |
+
def _complete_expression(self, text, line, begidx, endidx):
|
| 483 |
+
# Complete an arbitrary expression.
|
| 484 |
+
if not self.curframe:
|
| 485 |
+
return []
|
| 486 |
+
# Collect globals and locals. It is usually not really sensible to also
|
| 487 |
+
# complete builtins, and they clutter the namespace quite heavily, so we
|
| 488 |
+
# leave them out.
|
| 489 |
+
ns = {**self.curframe.f_globals, **self.curframe_locals}
|
| 490 |
+
if '.' in text:
|
| 491 |
+
# Walk an attribute chain up to the last part, similar to what
|
| 492 |
+
# rlcompleter does. This will bail if any of the parts are not
|
| 493 |
+
# simple attribute access, which is what we want.
|
| 494 |
+
dotted = text.split('.')
|
| 495 |
+
try:
|
| 496 |
+
obj = ns[dotted[0]]
|
| 497 |
+
for part in dotted[1:-1]:
|
| 498 |
+
obj = getattr(obj, part)
|
| 499 |
+
except (KeyError, AttributeError):
|
| 500 |
+
return []
|
| 501 |
+
prefix = '.'.join(dotted[:-1]) + '.'
|
| 502 |
+
return [prefix + n for n in dir(obj) if n.startswith(dotted[-1])]
|
| 503 |
+
else:
|
| 504 |
+
# Complete a simple name.
|
| 505 |
+
return [n for n in ns.keys() if n.startswith(text)]
|
| 506 |
+
|
| 507 |
+
# Command definitions, called by cmdloop()
|
| 508 |
+
# The argument is the remaining string on the command line
|
| 509 |
+
# Return true to exit from the command loop
|
| 510 |
+
|
| 511 |
+
def do_commands(self, arg):
|
| 512 |
+
"""commands [bpnumber]
|
| 513 |
+
(com) ...
|
| 514 |
+
(com) end
|
| 515 |
+
(Pdb)
|
| 516 |
+
|
| 517 |
+
Specify a list of commands for breakpoint number bpnumber.
|
| 518 |
+
The commands themselves are entered on the following lines.
|
| 519 |
+
Type a line containing just 'end' to terminate the commands.
|
| 520 |
+
The commands are executed when the breakpoint is hit.
|
| 521 |
+
|
| 522 |
+
To remove all commands from a breakpoint, type commands and
|
| 523 |
+
follow it immediately with end; that is, give no commands.
|
| 524 |
+
|
| 525 |
+
With no bpnumber argument, commands refers to the last
|
| 526 |
+
breakpoint set.
|
| 527 |
+
|
| 528 |
+
You can use breakpoint commands to start your program up
|
| 529 |
+
again. Simply use the continue command, or step, or any other
|
| 530 |
+
command that resumes execution.
|
| 531 |
+
|
| 532 |
+
Specifying any command resuming execution (currently continue,
|
| 533 |
+
step, next, return, jump, quit and their abbreviations)
|
| 534 |
+
terminates the command list (as if that command was
|
| 535 |
+
immediately followed by end). This is because any time you
|
| 536 |
+
resume execution (even with a simple next or step), you may
|
| 537 |
+
encounter another breakpoint -- which could have its own
|
| 538 |
+
command list, leading to ambiguities about which list to
|
| 539 |
+
execute.
|
| 540 |
+
|
| 541 |
+
If you use the 'silent' command in the command list, the usual
|
| 542 |
+
message about stopping at a breakpoint is not printed. This
|
| 543 |
+
may be desirable for breakpoints that are to print a specific
|
| 544 |
+
message and then continue. If none of the other commands
|
| 545 |
+
print anything, you will see no sign that the breakpoint was
|
| 546 |
+
reached.
|
| 547 |
+
"""
|
| 548 |
+
if not arg:
|
| 549 |
+
bnum = len(bdb.Breakpoint.bpbynumber) - 1
|
| 550 |
+
else:
|
| 551 |
+
try:
|
| 552 |
+
bnum = int(arg)
|
| 553 |
+
except:
|
| 554 |
+
self.error("Usage: commands [bnum]\n ...\n end")
|
| 555 |
+
return
|
| 556 |
+
self.commands_bnum = bnum
|
| 557 |
+
# Save old definitions for the case of a keyboard interrupt.
|
| 558 |
+
if bnum in self.commands:
|
| 559 |
+
old_command_defs = (self.commands[bnum],
|
| 560 |
+
self.commands_doprompt[bnum],
|
| 561 |
+
self.commands_silent[bnum])
|
| 562 |
+
else:
|
| 563 |
+
old_command_defs = None
|
| 564 |
+
self.commands[bnum] = []
|
| 565 |
+
self.commands_doprompt[bnum] = True
|
| 566 |
+
self.commands_silent[bnum] = False
|
| 567 |
+
|
| 568 |
+
prompt_back = self.prompt
|
| 569 |
+
self.prompt = '(com) '
|
| 570 |
+
self.commands_defining = True
|
| 571 |
+
try:
|
| 572 |
+
self.cmdloop()
|
| 573 |
+
except KeyboardInterrupt:
|
| 574 |
+
# Restore old definitions.
|
| 575 |
+
if old_command_defs:
|
| 576 |
+
self.commands[bnum] = old_command_defs[0]
|
| 577 |
+
self.commands_doprompt[bnum] = old_command_defs[1]
|
| 578 |
+
self.commands_silent[bnum] = old_command_defs[2]
|
| 579 |
+
else:
|
| 580 |
+
del self.commands[bnum]
|
| 581 |
+
del self.commands_doprompt[bnum]
|
| 582 |
+
del self.commands_silent[bnum]
|
| 583 |
+
self.error('command definition aborted, old commands restored')
|
| 584 |
+
finally:
|
| 585 |
+
self.commands_defining = False
|
| 586 |
+
self.prompt = prompt_back
|
| 587 |
+
|
| 588 |
+
complete_commands = _complete_bpnumber
|
| 589 |
+
|
| 590 |
+
def do_break(self, arg, temporary = 0):
|
| 591 |
+
"""b(reak) [ ([filename:]lineno | function) [, condition] ]
|
| 592 |
+
Without argument, list all breaks.
|
| 593 |
+
|
| 594 |
+
With a line number argument, set a break at this line in the
|
| 595 |
+
current file. With a function name, set a break at the first
|
| 596 |
+
executable line of that function. If a second argument is
|
| 597 |
+
present, it is a string specifying an expression which must
|
| 598 |
+
evaluate to true before the breakpoint is honored.
|
| 599 |
+
|
| 600 |
+
The line number may be prefixed with a filename and a colon,
|
| 601 |
+
to specify a breakpoint in another file (probably one that
|
| 602 |
+
hasn't been loaded yet). The file is searched for on
|
| 603 |
+
sys.path; the .py suffix may be omitted.
|
| 604 |
+
"""
|
| 605 |
+
if not arg:
|
| 606 |
+
if self.breaks: # There's at least one
|
| 607 |
+
self.message("Num Type Disp Enb Where")
|
| 608 |
+
for bp in bdb.Breakpoint.bpbynumber:
|
| 609 |
+
if bp:
|
| 610 |
+
self.message(bp.bpformat())
|
| 611 |
+
return
|
| 612 |
+
# parse arguments; comma has lowest precedence
|
| 613 |
+
# and cannot occur in filename
|
| 614 |
+
filename = None
|
| 615 |
+
lineno = None
|
| 616 |
+
cond = None
|
| 617 |
+
comma = arg.find(',')
|
| 618 |
+
if comma > 0:
|
| 619 |
+
# parse stuff after comma: "condition"
|
| 620 |
+
cond = arg[comma+1:].lstrip()
|
| 621 |
+
arg = arg[:comma].rstrip()
|
| 622 |
+
# parse stuff before comma: [filename:]lineno | function
|
| 623 |
+
colon = arg.rfind(':')
|
| 624 |
+
funcname = None
|
| 625 |
+
if colon >= 0:
|
| 626 |
+
filename = arg[:colon].rstrip()
|
| 627 |
+
f = self.lookupmodule(filename)
|
| 628 |
+
if not f:
|
| 629 |
+
self.error('%r not found from sys.path' % filename)
|
| 630 |
+
return
|
| 631 |
+
else:
|
| 632 |
+
filename = f
|
| 633 |
+
arg = arg[colon+1:].lstrip()
|
| 634 |
+
try:
|
| 635 |
+
lineno = int(arg)
|
| 636 |
+
except ValueError:
|
| 637 |
+
self.error('Bad lineno: %s' % arg)
|
| 638 |
+
return
|
| 639 |
+
else:
|
| 640 |
+
# no colon; can be lineno or function
|
| 641 |
+
try:
|
| 642 |
+
lineno = int(arg)
|
| 643 |
+
except ValueError:
|
| 644 |
+
try:
|
| 645 |
+
func = eval(arg,
|
| 646 |
+
self.curframe.f_globals,
|
| 647 |
+
self.curframe_locals)
|
| 648 |
+
except:
|
| 649 |
+
func = arg
|
| 650 |
+
try:
|
| 651 |
+
if hasattr(func, '__func__'):
|
| 652 |
+
func = func.__func__
|
| 653 |
+
code = func.__code__
|
| 654 |
+
#use co_name to identify the bkpt (function names
|
| 655 |
+
#could be aliased, but co_name is invariant)
|
| 656 |
+
funcname = code.co_name
|
| 657 |
+
lineno = code.co_firstlineno
|
| 658 |
+
filename = code.co_filename
|
| 659 |
+
except:
|
| 660 |
+
# last thing to try
|
| 661 |
+
(ok, filename, ln) = self.lineinfo(arg)
|
| 662 |
+
if not ok:
|
| 663 |
+
self.error('The specified object %r is not a function '
|
| 664 |
+
'or was not found along sys.path.' % arg)
|
| 665 |
+
return
|
| 666 |
+
funcname = ok # ok contains a function name
|
| 667 |
+
lineno = int(ln)
|
| 668 |
+
if not filename:
|
| 669 |
+
filename = self.defaultFile()
|
| 670 |
+
# Check for reasonable breakpoint
|
| 671 |
+
line = self.checkline(filename, lineno)
|
| 672 |
+
if line:
|
| 673 |
+
# now set the break point
|
| 674 |
+
err = self.set_break(filename, line, temporary, cond, funcname)
|
| 675 |
+
if err:
|
| 676 |
+
self.error(err)
|
| 677 |
+
else:
|
| 678 |
+
bp = self.get_breaks(filename, line)[-1]
|
| 679 |
+
self.message("Breakpoint %d at %s:%d" %
|
| 680 |
+
(bp.number, bp.file, bp.line))
|
| 681 |
+
|
| 682 |
+
# To be overridden in derived debuggers
|
| 683 |
+
def defaultFile(self):
|
| 684 |
+
"""Produce a reasonable default."""
|
| 685 |
+
filename = self.curframe.f_code.co_filename
|
| 686 |
+
if filename == '<string>' and self.mainpyfile:
|
| 687 |
+
filename = self.mainpyfile
|
| 688 |
+
return filename
|
| 689 |
+
|
| 690 |
+
do_b = do_break
|
| 691 |
+
|
| 692 |
+
complete_break = _complete_location
|
| 693 |
+
complete_b = _complete_location
|
| 694 |
+
|
| 695 |
+
def do_tbreak(self, arg):
|
| 696 |
+
"""tbreak [ ([filename:]lineno | function) [, condition] ]
|
| 697 |
+
Same arguments as break, but sets a temporary breakpoint: it
|
| 698 |
+
is automatically deleted when first hit.
|
| 699 |
+
"""
|
| 700 |
+
self.do_break(arg, 1)
|
| 701 |
+
|
| 702 |
+
complete_tbreak = _complete_location
|
| 703 |
+
|
| 704 |
+
def lineinfo(self, identifier):
|
| 705 |
+
failed = (None, None, None)
|
| 706 |
+
# Input is identifier, may be in single quotes
|
| 707 |
+
idstring = identifier.split("'")
|
| 708 |
+
if len(idstring) == 1:
|
| 709 |
+
# not in single quotes
|
| 710 |
+
id = idstring[0].strip()
|
| 711 |
+
elif len(idstring) == 3:
|
| 712 |
+
# quoted
|
| 713 |
+
id = idstring[1].strip()
|
| 714 |
+
else:
|
| 715 |
+
return failed
|
| 716 |
+
if id == '': return failed
|
| 717 |
+
parts = id.split('.')
|
| 718 |
+
# Protection for derived debuggers
|
| 719 |
+
if parts[0] == 'self':
|
| 720 |
+
del parts[0]
|
| 721 |
+
if len(parts) == 0:
|
| 722 |
+
return failed
|
| 723 |
+
# Best first guess at file to look at
|
| 724 |
+
fname = self.defaultFile()
|
| 725 |
+
if len(parts) == 1:
|
| 726 |
+
item = parts[0]
|
| 727 |
+
else:
|
| 728 |
+
# More than one part.
|
| 729 |
+
# First is module, second is method/class
|
| 730 |
+
f = self.lookupmodule(parts[0])
|
| 731 |
+
if f:
|
| 732 |
+
fname = f
|
| 733 |
+
item = parts[1]
|
| 734 |
+
answer = find_function(item, fname)
|
| 735 |
+
return answer or failed
|
| 736 |
+
|
| 737 |
+
def checkline(self, filename, lineno):
|
| 738 |
+
"""Check whether specified line seems to be executable.
|
| 739 |
+
|
| 740 |
+
Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank
|
| 741 |
+
line or EOF). Warning: testing is not comprehensive.
|
| 742 |
+
"""
|
| 743 |
+
# this method should be callable before starting debugging, so default
|
| 744 |
+
# to "no globals" if there is no current frame
|
| 745 |
+
frame = getattr(self, 'curframe', None)
|
| 746 |
+
globs = frame.f_globals if frame else None
|
| 747 |
+
line = linecache.getline(filename, lineno, globs)
|
| 748 |
+
if not line:
|
| 749 |
+
self.message('End of file')
|
| 750 |
+
return 0
|
| 751 |
+
line = line.strip()
|
| 752 |
+
# Don't allow setting breakpoint at a blank line
|
| 753 |
+
if (not line or (line[0] == '#') or
|
| 754 |
+
(line[:3] == '"""') or line[:3] == "'''"):
|
| 755 |
+
self.error('Blank or comment')
|
| 756 |
+
return 0
|
| 757 |
+
return lineno
|
| 758 |
+
|
| 759 |
+
def do_enable(self, arg):
|
| 760 |
+
"""enable bpnumber [bpnumber ...]
|
| 761 |
+
Enables the breakpoints given as a space separated list of
|
| 762 |
+
breakpoint numbers.
|
| 763 |
+
"""
|
| 764 |
+
args = arg.split()
|
| 765 |
+
for i in args:
|
| 766 |
+
try:
|
| 767 |
+
bp = self.get_bpbynumber(i)
|
| 768 |
+
except ValueError as err:
|
| 769 |
+
self.error(err)
|
| 770 |
+
else:
|
| 771 |
+
bp.enable()
|
| 772 |
+
self.message('Enabled %s' % bp)
|
| 773 |
+
|
| 774 |
+
complete_enable = _complete_bpnumber
|
| 775 |
+
|
| 776 |
+
def do_disable(self, arg):
|
| 777 |
+
"""disable bpnumber [bpnumber ...]
|
| 778 |
+
Disables the breakpoints given as a space separated list of
|
| 779 |
+
breakpoint numbers. Disabling a breakpoint means it cannot
|
| 780 |
+
cause the program to stop execution, but unlike clearing a
|
| 781 |
+
breakpoint, it remains in the list of breakpoints and can be
|
| 782 |
+
(re-)enabled.
|
| 783 |
+
"""
|
| 784 |
+
args = arg.split()
|
| 785 |
+
for i in args:
|
| 786 |
+
try:
|
| 787 |
+
bp = self.get_bpbynumber(i)
|
| 788 |
+
except ValueError as err:
|
| 789 |
+
self.error(err)
|
| 790 |
+
else:
|
| 791 |
+
bp.disable()
|
| 792 |
+
self.message('Disabled %s' % bp)
|
| 793 |
+
|
| 794 |
+
complete_disable = _complete_bpnumber
|
| 795 |
+
|
| 796 |
+
def do_condition(self, arg):
|
| 797 |
+
"""condition bpnumber [condition]
|
| 798 |
+
Set a new condition for the breakpoint, an expression which
|
| 799 |
+
must evaluate to true before the breakpoint is honored. If
|
| 800 |
+
condition is absent, any existing condition is removed; i.e.,
|
| 801 |
+
the breakpoint is made unconditional.
|
| 802 |
+
"""
|
| 803 |
+
args = arg.split(' ', 1)
|
| 804 |
+
try:
|
| 805 |
+
cond = args[1]
|
| 806 |
+
except IndexError:
|
| 807 |
+
cond = None
|
| 808 |
+
try:
|
| 809 |
+
bp = self.get_bpbynumber(args[0].strip())
|
| 810 |
+
except IndexError:
|
| 811 |
+
self.error('Breakpoint number expected')
|
| 812 |
+
except ValueError as err:
|
| 813 |
+
self.error(err)
|
| 814 |
+
else:
|
| 815 |
+
bp.cond = cond
|
| 816 |
+
if not cond:
|
| 817 |
+
self.message('Breakpoint %d is now unconditional.' % bp.number)
|
| 818 |
+
else:
|
| 819 |
+
self.message('New condition set for breakpoint %d.' % bp.number)
|
| 820 |
+
|
| 821 |
+
complete_condition = _complete_bpnumber
|
| 822 |
+
|
| 823 |
+
def do_ignore(self, arg):
|
| 824 |
+
"""ignore bpnumber [count]
|
| 825 |
+
Set the ignore count for the given breakpoint number. If
|
| 826 |
+
count is omitted, the ignore count is set to 0. A breakpoint
|
| 827 |
+
becomes active when the ignore count is zero. When non-zero,
|
| 828 |
+
the count is decremented each time the breakpoint is reached
|
| 829 |
+
and the breakpoint is not disabled and any associated
|
| 830 |
+
condition evaluates to true.
|
| 831 |
+
"""
|
| 832 |
+
args = arg.split()
|
| 833 |
+
try:
|
| 834 |
+
count = int(args[1].strip())
|
| 835 |
+
except:
|
| 836 |
+
count = 0
|
| 837 |
+
try:
|
| 838 |
+
bp = self.get_bpbynumber(args[0].strip())
|
| 839 |
+
except IndexError:
|
| 840 |
+
self.error('Breakpoint number expected')
|
| 841 |
+
except ValueError as err:
|
| 842 |
+
self.error(err)
|
| 843 |
+
else:
|
| 844 |
+
bp.ignore = count
|
| 845 |
+
if count > 0:
|
| 846 |
+
if count > 1:
|
| 847 |
+
countstr = '%d crossings' % count
|
| 848 |
+
else:
|
| 849 |
+
countstr = '1 crossing'
|
| 850 |
+
self.message('Will ignore next %s of breakpoint %d.' %
|
| 851 |
+
(countstr, bp.number))
|
| 852 |
+
else:
|
| 853 |
+
self.message('Will stop next time breakpoint %d is reached.'
|
| 854 |
+
% bp.number)
|
| 855 |
+
|
| 856 |
+
complete_ignore = _complete_bpnumber
|
| 857 |
+
|
| 858 |
+
def do_clear(self, arg):
|
| 859 |
+
"""cl(ear) filename:lineno\ncl(ear) [bpnumber [bpnumber...]]
|
| 860 |
+
With a space separated list of breakpoint numbers, clear
|
| 861 |
+
those breakpoints. Without argument, clear all breaks (but
|
| 862 |
+
first ask confirmation). With a filename:lineno argument,
|
| 863 |
+
clear all breaks at that line in that file.
|
| 864 |
+
"""
|
| 865 |
+
if not arg:
|
| 866 |
+
try:
|
| 867 |
+
reply = input('Clear all breaks? ')
|
| 868 |
+
except EOFError:
|
| 869 |
+
reply = 'no'
|
| 870 |
+
reply = reply.strip().lower()
|
| 871 |
+
if reply in ('y', 'yes'):
|
| 872 |
+
bplist = [bp for bp in bdb.Breakpoint.bpbynumber if bp]
|
| 873 |
+
self.clear_all_breaks()
|
| 874 |
+
for bp in bplist:
|
| 875 |
+
self.message('Deleted %s' % bp)
|
| 876 |
+
return
|
| 877 |
+
if ':' in arg:
|
| 878 |
+
# Make sure it works for "clear C:\foo\bar.py:12"
|
| 879 |
+
i = arg.rfind(':')
|
| 880 |
+
filename = arg[:i]
|
| 881 |
+
arg = arg[i+1:]
|
| 882 |
+
try:
|
| 883 |
+
lineno = int(arg)
|
| 884 |
+
except ValueError:
|
| 885 |
+
err = "Invalid line number (%s)" % arg
|
| 886 |
+
else:
|
| 887 |
+
bplist = self.get_breaks(filename, lineno)[:]
|
| 888 |
+
err = self.clear_break(filename, lineno)
|
| 889 |
+
if err:
|
| 890 |
+
self.error(err)
|
| 891 |
+
else:
|
| 892 |
+
for bp in bplist:
|
| 893 |
+
self.message('Deleted %s' % bp)
|
| 894 |
+
return
|
| 895 |
+
numberlist = arg.split()
|
| 896 |
+
for i in numberlist:
|
| 897 |
+
try:
|
| 898 |
+
bp = self.get_bpbynumber(i)
|
| 899 |
+
except ValueError as err:
|
| 900 |
+
self.error(err)
|
| 901 |
+
else:
|
| 902 |
+
self.clear_bpbynumber(i)
|
| 903 |
+
self.message('Deleted %s' % bp)
|
| 904 |
+
do_cl = do_clear # 'c' is already an abbreviation for 'continue'
|
| 905 |
+
|
| 906 |
+
complete_clear = _complete_location
|
| 907 |
+
complete_cl = _complete_location
|
| 908 |
+
|
| 909 |
+
def do_where(self, arg):
|
| 910 |
+
"""w(here)
|
| 911 |
+
Print a stack trace, with the most recent frame at the bottom.
|
| 912 |
+
An arrow indicates the "current frame", which determines the
|
| 913 |
+
context of most commands. 'bt' is an alias for this command.
|
| 914 |
+
"""
|
| 915 |
+
self.print_stack_trace()
|
| 916 |
+
do_w = do_where
|
| 917 |
+
do_bt = do_where
|
| 918 |
+
|
| 919 |
+
def _select_frame(self, number):
|
| 920 |
+
assert 0 <= number < len(self.stack)
|
| 921 |
+
self.curindex = number
|
| 922 |
+
self.curframe = self.stack[self.curindex][0]
|
| 923 |
+
self.curframe_locals = self.curframe.f_locals
|
| 924 |
+
self.print_stack_entry(self.stack[self.curindex])
|
| 925 |
+
self.lineno = None
|
| 926 |
+
|
| 927 |
+
def do_up(self, arg):
|
| 928 |
+
"""u(p) [count]
|
| 929 |
+
Move the current frame count (default one) levels up in the
|
| 930 |
+
stack trace (to an older frame).
|
| 931 |
+
"""
|
| 932 |
+
if self.curindex == 0:
|
| 933 |
+
self.error('Oldest frame')
|
| 934 |
+
return
|
| 935 |
+
try:
|
| 936 |
+
count = int(arg or 1)
|
| 937 |
+
except ValueError:
|
| 938 |
+
self.error('Invalid frame count (%s)' % arg)
|
| 939 |
+
return
|
| 940 |
+
if count < 0:
|
| 941 |
+
newframe = 0
|
| 942 |
+
else:
|
| 943 |
+
newframe = max(0, self.curindex - count)
|
| 944 |
+
self._select_frame(newframe)
|
| 945 |
+
do_u = do_up
|
| 946 |
+
|
| 947 |
+
def do_down(self, arg):
|
| 948 |
+
"""d(own) [count]
|
| 949 |
+
Move the current frame count (default one) levels down in the
|
| 950 |
+
stack trace (to a newer frame).
|
| 951 |
+
"""
|
| 952 |
+
if self.curindex + 1 == len(self.stack):
|
| 953 |
+
self.error('Newest frame')
|
| 954 |
+
return
|
| 955 |
+
try:
|
| 956 |
+
count = int(arg or 1)
|
| 957 |
+
except ValueError:
|
| 958 |
+
self.error('Invalid frame count (%s)' % arg)
|
| 959 |
+
return
|
| 960 |
+
if count < 0:
|
| 961 |
+
newframe = len(self.stack) - 1
|
| 962 |
+
else:
|
| 963 |
+
newframe = min(len(self.stack) - 1, self.curindex + count)
|
| 964 |
+
self._select_frame(newframe)
|
| 965 |
+
do_d = do_down
|
| 966 |
+
|
| 967 |
+
def do_until(self, arg):
|
| 968 |
+
"""unt(il) [lineno]
|
| 969 |
+
Without argument, continue execution until the line with a
|
| 970 |
+
number greater than the current one is reached. With a line
|
| 971 |
+
number, continue execution until a line with a number greater
|
| 972 |
+
or equal to that is reached. In both cases, also stop when
|
| 973 |
+
the current frame returns.
|
| 974 |
+
"""
|
| 975 |
+
if arg:
|
| 976 |
+
try:
|
| 977 |
+
lineno = int(arg)
|
| 978 |
+
except ValueError:
|
| 979 |
+
self.error('Error in argument: %r' % arg)
|
| 980 |
+
return
|
| 981 |
+
if lineno <= self.curframe.f_lineno:
|
| 982 |
+
self.error('"until" line number is smaller than current '
|
| 983 |
+
'line number')
|
| 984 |
+
return
|
| 985 |
+
else:
|
| 986 |
+
lineno = None
|
| 987 |
+
self.set_until(self.curframe, lineno)
|
| 988 |
+
return 1
|
| 989 |
+
do_unt = do_until
|
| 990 |
+
|
| 991 |
+
def do_step(self, arg):
|
| 992 |
+
"""s(tep)
|
| 993 |
+
Execute the current line, stop at the first possible occasion
|
| 994 |
+
(either in a function that is called or in the current
|
| 995 |
+
function).
|
| 996 |
+
"""
|
| 997 |
+
self.set_step()
|
| 998 |
+
return 1
|
| 999 |
+
do_s = do_step
|
| 1000 |
+
|
| 1001 |
+
def do_next(self, arg):
|
| 1002 |
+
"""n(ext)
|
| 1003 |
+
Continue execution until the next line in the current function
|
| 1004 |
+
is reached or it returns.
|
| 1005 |
+
"""
|
| 1006 |
+
self.set_next(self.curframe)
|
| 1007 |
+
return 1
|
| 1008 |
+
do_n = do_next
|
| 1009 |
+
|
| 1010 |
+
def do_run(self, arg):
|
| 1011 |
+
"""run [args...]
|
| 1012 |
+
Restart the debugged python program. If a string is supplied
|
| 1013 |
+
it is split with "shlex", and the result is used as the new
|
| 1014 |
+
sys.argv. History, breakpoints, actions and debugger options
|
| 1015 |
+
are preserved. "restart" is an alias for "run".
|
| 1016 |
+
"""
|
| 1017 |
+
if arg:
|
| 1018 |
+
import shlex
|
| 1019 |
+
argv0 = sys.argv[0:1]
|
| 1020 |
+
try:
|
| 1021 |
+
sys.argv = shlex.split(arg)
|
| 1022 |
+
except ValueError as e:
|
| 1023 |
+
self.error('Cannot run %s: %s' % (arg, e))
|
| 1024 |
+
return
|
| 1025 |
+
sys.argv[:0] = argv0
|
| 1026 |
+
# this is caught in the main debugger loop
|
| 1027 |
+
raise Restart
|
| 1028 |
+
|
| 1029 |
+
do_restart = do_run
|
| 1030 |
+
|
| 1031 |
+
def do_return(self, arg):
|
| 1032 |
+
"""r(eturn)
|
| 1033 |
+
Continue execution until the current function returns.
|
| 1034 |
+
"""
|
| 1035 |
+
self.set_return(self.curframe)
|
| 1036 |
+
return 1
|
| 1037 |
+
do_r = do_return
|
| 1038 |
+
|
| 1039 |
+
def do_continue(self, arg):
|
| 1040 |
+
"""c(ont(inue))
|
| 1041 |
+
Continue execution, only stop when a breakpoint is encountered.
|
| 1042 |
+
"""
|
| 1043 |
+
if not self.nosigint:
|
| 1044 |
+
try:
|
| 1045 |
+
Pdb._previous_sigint_handler = \
|
| 1046 |
+
signal.signal(signal.SIGINT, self.sigint_handler)
|
| 1047 |
+
except ValueError:
|
| 1048 |
+
# ValueError happens when do_continue() is invoked from
|
| 1049 |
+
# a non-main thread in which case we just continue without
|
| 1050 |
+
# SIGINT set. Would printing a message here (once) make
|
| 1051 |
+
# sense?
|
| 1052 |
+
pass
|
| 1053 |
+
self.set_continue()
|
| 1054 |
+
return 1
|
| 1055 |
+
do_c = do_cont = do_continue
|
| 1056 |
+
|
| 1057 |
+
def do_jump(self, arg):
|
| 1058 |
+
"""j(ump) lineno
|
| 1059 |
+
Set the next line that will be executed. Only available in
|
| 1060 |
+
the bottom-most frame. This lets you jump back and execute
|
| 1061 |
+
code again, or jump forward to skip code that you don't want
|
| 1062 |
+
to run.
|
| 1063 |
+
|
| 1064 |
+
It should be noted that not all jumps are allowed -- for
|
| 1065 |
+
instance it is not possible to jump into the middle of a
|
| 1066 |
+
for loop or out of a finally clause.
|
| 1067 |
+
"""
|
| 1068 |
+
if self.curindex + 1 != len(self.stack):
|
| 1069 |
+
self.error('You can only jump within the bottom frame')
|
| 1070 |
+
return
|
| 1071 |
+
try:
|
| 1072 |
+
arg = int(arg)
|
| 1073 |
+
except ValueError:
|
| 1074 |
+
self.error("The 'jump' command requires a line number")
|
| 1075 |
+
else:
|
| 1076 |
+
try:
|
| 1077 |
+
# Do the jump, fix up our copy of the stack, and display the
|
| 1078 |
+
# new position
|
| 1079 |
+
self.curframe.f_lineno = arg
|
| 1080 |
+
self.stack[self.curindex] = self.stack[self.curindex][0], arg
|
| 1081 |
+
self.print_stack_entry(self.stack[self.curindex])
|
| 1082 |
+
except ValueError as e:
|
| 1083 |
+
self.error('Jump failed: %s' % e)
|
| 1084 |
+
do_j = do_jump
|
| 1085 |
+
|
| 1086 |
+
def do_debug(self, arg):
|
| 1087 |
+
"""debug code
|
| 1088 |
+
Enter a recursive debugger that steps through the code
|
| 1089 |
+
argument (which is an arbitrary expression or statement to be
|
| 1090 |
+
executed in the current environment).
|
| 1091 |
+
"""
|
| 1092 |
+
sys.settrace(None)
|
| 1093 |
+
globals = self.curframe.f_globals
|
| 1094 |
+
locals = self.curframe_locals
|
| 1095 |
+
p = Pdb(self.completekey, self.stdin, self.stdout)
|
| 1096 |
+
p.prompt = "(%s) " % self.prompt.strip()
|
| 1097 |
+
self.message("ENTERING RECURSIVE DEBUGGER")
|
| 1098 |
+
try:
|
| 1099 |
+
sys.call_tracing(p.run, (arg, globals, locals))
|
| 1100 |
+
except Exception:
|
| 1101 |
+
self._error_exc()
|
| 1102 |
+
self.message("LEAVING RECURSIVE DEBUGGER")
|
| 1103 |
+
sys.settrace(self.trace_dispatch)
|
| 1104 |
+
self.lastcmd = p.lastcmd
|
| 1105 |
+
|
| 1106 |
+
complete_debug = _complete_expression
|
| 1107 |
+
|
| 1108 |
+
def do_quit(self, arg):
|
| 1109 |
+
"""q(uit)\nexit
|
| 1110 |
+
Quit from the debugger. The program being executed is aborted.
|
| 1111 |
+
"""
|
| 1112 |
+
self._user_requested_quit = True
|
| 1113 |
+
self.set_quit()
|
| 1114 |
+
return 1
|
| 1115 |
+
|
| 1116 |
+
do_q = do_quit
|
| 1117 |
+
do_exit = do_quit
|
| 1118 |
+
|
| 1119 |
+
def do_EOF(self, arg):
|
| 1120 |
+
"""EOF
|
| 1121 |
+
Handles the receipt of EOF as a command.
|
| 1122 |
+
"""
|
| 1123 |
+
self.message('')
|
| 1124 |
+
self._user_requested_quit = True
|
| 1125 |
+
self.set_quit()
|
| 1126 |
+
return 1
|
| 1127 |
+
|
| 1128 |
+
def do_args(self, arg):
|
| 1129 |
+
"""a(rgs)
|
| 1130 |
+
Print the argument list of the current function.
|
| 1131 |
+
"""
|
| 1132 |
+
co = self.curframe.f_code
|
| 1133 |
+
dict = self.curframe_locals
|
| 1134 |
+
n = co.co_argcount + co.co_kwonlyargcount
|
| 1135 |
+
if co.co_flags & inspect.CO_VARARGS: n = n+1
|
| 1136 |
+
if co.co_flags & inspect.CO_VARKEYWORDS: n = n+1
|
| 1137 |
+
for i in range(n):
|
| 1138 |
+
name = co.co_varnames[i]
|
| 1139 |
+
if name in dict:
|
| 1140 |
+
self.message('%s = %r' % (name, dict[name]))
|
| 1141 |
+
else:
|
| 1142 |
+
self.message('%s = *** undefined ***' % (name,))
|
| 1143 |
+
do_a = do_args
|
| 1144 |
+
|
| 1145 |
+
def do_retval(self, arg):
|
| 1146 |
+
"""retval
|
| 1147 |
+
Print the return value for the last return of a function.
|
| 1148 |
+
"""
|
| 1149 |
+
if '__return__' in self.curframe_locals:
|
| 1150 |
+
self.message(repr(self.curframe_locals['__return__']))
|
| 1151 |
+
else:
|
| 1152 |
+
self.error('Not yet returned!')
|
| 1153 |
+
do_rv = do_retval
|
| 1154 |
+
|
| 1155 |
+
def _getval(self, arg):
|
| 1156 |
+
try:
|
| 1157 |
+
return eval(arg, self.curframe.f_globals, self.curframe_locals)
|
| 1158 |
+
except:
|
| 1159 |
+
self._error_exc()
|
| 1160 |
+
raise
|
| 1161 |
+
|
| 1162 |
+
def _getval_except(self, arg, frame=None):
|
| 1163 |
+
try:
|
| 1164 |
+
if frame is None:
|
| 1165 |
+
return eval(arg, self.curframe.f_globals, self.curframe_locals)
|
| 1166 |
+
else:
|
| 1167 |
+
return eval(arg, frame.f_globals, frame.f_locals)
|
| 1168 |
+
except:
|
| 1169 |
+
exc_info = sys.exc_info()[:2]
|
| 1170 |
+
err = traceback.format_exception_only(*exc_info)[-1].strip()
|
| 1171 |
+
return _rstr('** raised %s **' % err)
|
| 1172 |
+
|
| 1173 |
+
def _error_exc(self):
|
| 1174 |
+
exc_info = sys.exc_info()[:2]
|
| 1175 |
+
self.error(traceback.format_exception_only(*exc_info)[-1].strip())
|
| 1176 |
+
|
| 1177 |
+
def _msg_val_func(self, arg, func):
|
| 1178 |
+
try:
|
| 1179 |
+
val = self._getval(arg)
|
| 1180 |
+
except:
|
| 1181 |
+
return # _getval() has displayed the error
|
| 1182 |
+
try:
|
| 1183 |
+
self.message(func(val))
|
| 1184 |
+
except:
|
| 1185 |
+
self._error_exc()
|
| 1186 |
+
|
| 1187 |
+
def do_p(self, arg):
|
| 1188 |
+
"""p expression
|
| 1189 |
+
Print the value of the expression.
|
| 1190 |
+
"""
|
| 1191 |
+
self._msg_val_func(arg, repr)
|
| 1192 |
+
|
| 1193 |
+
def do_pp(self, arg):
|
| 1194 |
+
"""pp expression
|
| 1195 |
+
Pretty-print the value of the expression.
|
| 1196 |
+
"""
|
| 1197 |
+
self._msg_val_func(arg, pprint.pformat)
|
| 1198 |
+
|
| 1199 |
+
complete_print = _complete_expression
|
| 1200 |
+
complete_p = _complete_expression
|
| 1201 |
+
complete_pp = _complete_expression
|
| 1202 |
+
|
| 1203 |
+
def do_list(self, arg):
|
| 1204 |
+
"""l(ist) [first [,last] | .]
|
| 1205 |
+
|
| 1206 |
+
List source code for the current file. Without arguments,
|
| 1207 |
+
list 11 lines around the current line or continue the previous
|
| 1208 |
+
listing. With . as argument, list 11 lines around the current
|
| 1209 |
+
line. With one argument, list 11 lines starting at that line.
|
| 1210 |
+
With two arguments, list the given range; if the second
|
| 1211 |
+
argument is less than the first, it is a count.
|
| 1212 |
+
|
| 1213 |
+
The current line in the current frame is indicated by "->".
|
| 1214 |
+
If an exception is being debugged, the line where the
|
| 1215 |
+
exception was originally raised or propagated is indicated by
|
| 1216 |
+
">>", if it differs from the current line.
|
| 1217 |
+
"""
|
| 1218 |
+
self.lastcmd = 'list'
|
| 1219 |
+
last = None
|
| 1220 |
+
if arg and arg != '.':
|
| 1221 |
+
try:
|
| 1222 |
+
if ',' in arg:
|
| 1223 |
+
first, last = arg.split(',')
|
| 1224 |
+
first = int(first.strip())
|
| 1225 |
+
last = int(last.strip())
|
| 1226 |
+
if last < first:
|
| 1227 |
+
# assume it's a count
|
| 1228 |
+
last = first + last
|
| 1229 |
+
else:
|
| 1230 |
+
first = int(arg.strip())
|
| 1231 |
+
first = max(1, first - 5)
|
| 1232 |
+
except ValueError:
|
| 1233 |
+
self.error('Error in argument: %r' % arg)
|
| 1234 |
+
return
|
| 1235 |
+
elif self.lineno is None or arg == '.':
|
| 1236 |
+
first = max(1, self.curframe.f_lineno - 5)
|
| 1237 |
+
else:
|
| 1238 |
+
first = self.lineno + 1
|
| 1239 |
+
if last is None:
|
| 1240 |
+
last = first + 10
|
| 1241 |
+
filename = self.curframe.f_code.co_filename
|
| 1242 |
+
# gh-93696: stdlib frozen modules provide a useful __file__
|
| 1243 |
+
# this workaround can be removed with the closure of gh-89815
|
| 1244 |
+
if filename.startswith("<frozen"):
|
| 1245 |
+
tmp = self.curframe.f_globals.get("__file__")
|
| 1246 |
+
if isinstance(tmp, str):
|
| 1247 |
+
filename = tmp
|
| 1248 |
+
breaklist = self.get_file_breaks(filename)
|
| 1249 |
+
try:
|
| 1250 |
+
lines = linecache.getlines(filename, self.curframe.f_globals)
|
| 1251 |
+
self._print_lines(lines[first-1:last], first, breaklist,
|
| 1252 |
+
self.curframe)
|
| 1253 |
+
self.lineno = min(last, len(lines))
|
| 1254 |
+
if len(lines) < last:
|
| 1255 |
+
self.message('[EOF]')
|
| 1256 |
+
except KeyboardInterrupt:
|
| 1257 |
+
pass
|
| 1258 |
+
do_l = do_list
|
| 1259 |
+
|
| 1260 |
+
def do_longlist(self, arg):
|
| 1261 |
+
"""longlist | ll
|
| 1262 |
+
List the whole source code for the current function or frame.
|
| 1263 |
+
"""
|
| 1264 |
+
filename = self.curframe.f_code.co_filename
|
| 1265 |
+
breaklist = self.get_file_breaks(filename)
|
| 1266 |
+
try:
|
| 1267 |
+
lines, lineno = inspect.getsourcelines(self.curframe)
|
| 1268 |
+
except OSError as err:
|
| 1269 |
+
self.error(err)
|
| 1270 |
+
return
|
| 1271 |
+
self._print_lines(lines, lineno, breaklist, self.curframe)
|
| 1272 |
+
do_ll = do_longlist
|
| 1273 |
+
|
| 1274 |
+
def do_source(self, arg):
|
| 1275 |
+
"""source expression
|
| 1276 |
+
Try to get source code for the given object and display it.
|
| 1277 |
+
"""
|
| 1278 |
+
try:
|
| 1279 |
+
obj = self._getval(arg)
|
| 1280 |
+
except:
|
| 1281 |
+
return
|
| 1282 |
+
try:
|
| 1283 |
+
lines, lineno = inspect.getsourcelines(obj)
|
| 1284 |
+
except (OSError, TypeError) as err:
|
| 1285 |
+
self.error(err)
|
| 1286 |
+
return
|
| 1287 |
+
self._print_lines(lines, lineno)
|
| 1288 |
+
|
| 1289 |
+
complete_source = _complete_expression
|
| 1290 |
+
|
| 1291 |
+
def _print_lines(self, lines, start, breaks=(), frame=None):
|
| 1292 |
+
"""Print a range of lines."""
|
| 1293 |
+
if frame:
|
| 1294 |
+
current_lineno = frame.f_lineno
|
| 1295 |
+
exc_lineno = self.tb_lineno.get(frame, -1)
|
| 1296 |
+
else:
|
| 1297 |
+
current_lineno = exc_lineno = -1
|
| 1298 |
+
for lineno, line in enumerate(lines, start):
|
| 1299 |
+
s = str(lineno).rjust(3)
|
| 1300 |
+
if len(s) < 4:
|
| 1301 |
+
s += ' '
|
| 1302 |
+
if lineno in breaks:
|
| 1303 |
+
s += 'B'
|
| 1304 |
+
else:
|
| 1305 |
+
s += ' '
|
| 1306 |
+
if lineno == current_lineno:
|
| 1307 |
+
s += '->'
|
| 1308 |
+
elif lineno == exc_lineno:
|
| 1309 |
+
s += '>>'
|
| 1310 |
+
self.message(s + '\t' + line.rstrip())
|
| 1311 |
+
|
| 1312 |
+
def do_whatis(self, arg):
|
| 1313 |
+
"""whatis arg
|
| 1314 |
+
Print the type of the argument.
|
| 1315 |
+
"""
|
| 1316 |
+
try:
|
| 1317 |
+
value = self._getval(arg)
|
| 1318 |
+
except:
|
| 1319 |
+
# _getval() already printed the error
|
| 1320 |
+
return
|
| 1321 |
+
code = None
|
| 1322 |
+
# Is it an instance method?
|
| 1323 |
+
try:
|
| 1324 |
+
code = value.__func__.__code__
|
| 1325 |
+
except Exception:
|
| 1326 |
+
pass
|
| 1327 |
+
if code:
|
| 1328 |
+
self.message('Method %s' % code.co_name)
|
| 1329 |
+
return
|
| 1330 |
+
# Is it a function?
|
| 1331 |
+
try:
|
| 1332 |
+
code = value.__code__
|
| 1333 |
+
except Exception:
|
| 1334 |
+
pass
|
| 1335 |
+
if code:
|
| 1336 |
+
self.message('Function %s' % code.co_name)
|
| 1337 |
+
return
|
| 1338 |
+
# Is it a class?
|
| 1339 |
+
if value.__class__ is type:
|
| 1340 |
+
self.message('Class %s.%s' % (value.__module__, value.__qualname__))
|
| 1341 |
+
return
|
| 1342 |
+
# None of the above...
|
| 1343 |
+
self.message(type(value))
|
| 1344 |
+
|
| 1345 |
+
complete_whatis = _complete_expression
|
| 1346 |
+
|
| 1347 |
+
def do_display(self, arg):
|
| 1348 |
+
"""display [expression]
|
| 1349 |
+
|
| 1350 |
+
Display the value of the expression if it changed, each time execution
|
| 1351 |
+
stops in the current frame.
|
| 1352 |
+
|
| 1353 |
+
Without expression, list all display expressions for the current frame.
|
| 1354 |
+
"""
|
| 1355 |
+
if not arg:
|
| 1356 |
+
self.message('Currently displaying:')
|
| 1357 |
+
for item in self.displaying.get(self.curframe, {}).items():
|
| 1358 |
+
self.message('%s: %r' % item)
|
| 1359 |
+
else:
|
| 1360 |
+
val = self._getval_except(arg)
|
| 1361 |
+
self.displaying.setdefault(self.curframe, {})[arg] = val
|
| 1362 |
+
self.message('display %s: %r' % (arg, val))
|
| 1363 |
+
|
| 1364 |
+
complete_display = _complete_expression
|
| 1365 |
+
|
| 1366 |
+
def do_undisplay(self, arg):
|
| 1367 |
+
"""undisplay [expression]
|
| 1368 |
+
|
| 1369 |
+
Do not display the expression any more in the current frame.
|
| 1370 |
+
|
| 1371 |
+
Without expression, clear all display expressions for the current frame.
|
| 1372 |
+
"""
|
| 1373 |
+
if arg:
|
| 1374 |
+
try:
|
| 1375 |
+
del self.displaying.get(self.curframe, {})[arg]
|
| 1376 |
+
except KeyError:
|
| 1377 |
+
self.error('not displaying %s' % arg)
|
| 1378 |
+
else:
|
| 1379 |
+
self.displaying.pop(self.curframe, None)
|
| 1380 |
+
|
| 1381 |
+
def complete_undisplay(self, text, line, begidx, endidx):
|
| 1382 |
+
return [e for e in self.displaying.get(self.curframe, {})
|
| 1383 |
+
if e.startswith(text)]
|
| 1384 |
+
|
| 1385 |
+
def do_interact(self, arg):
|
| 1386 |
+
"""interact
|
| 1387 |
+
|
| 1388 |
+
Start an interactive interpreter whose global namespace
|
| 1389 |
+
contains all the (global and local) names found in the current scope.
|
| 1390 |
+
"""
|
| 1391 |
+
ns = {**self.curframe.f_globals, **self.curframe_locals}
|
| 1392 |
+
code.interact("*interactive*", local=ns)
|
| 1393 |
+
|
| 1394 |
+
def do_alias(self, arg):
|
| 1395 |
+
"""alias [name [command [parameter parameter ...] ]]
|
| 1396 |
+
Create an alias called 'name' that executes 'command'. The
|
| 1397 |
+
command must *not* be enclosed in quotes. Replaceable
|
| 1398 |
+
parameters can be indicated by %1, %2, and so on, while %* is
|
| 1399 |
+
replaced by all the parameters. If no command is given, the
|
| 1400 |
+
current alias for name is shown. If no name is given, all
|
| 1401 |
+
aliases are listed.
|
| 1402 |
+
|
| 1403 |
+
Aliases may be nested and can contain anything that can be
|
| 1404 |
+
legally typed at the pdb prompt. Note! You *can* override
|
| 1405 |
+
internal pdb commands with aliases! Those internal commands
|
| 1406 |
+
are then hidden until the alias is removed. Aliasing is
|
| 1407 |
+
recursively applied to the first word of the command line; all
|
| 1408 |
+
other words in the line are left alone.
|
| 1409 |
+
|
| 1410 |
+
As an example, here are two useful aliases (especially when
|
| 1411 |
+
placed in the .pdbrc file):
|
| 1412 |
+
|
| 1413 |
+
# Print instance variables (usage "pi classInst")
|
| 1414 |
+
alias pi for k in %1.__dict__.keys(): print("%1.",k,"=",%1.__dict__[k])
|
| 1415 |
+
# Print instance variables in self
|
| 1416 |
+
alias ps pi self
|
| 1417 |
+
"""
|
| 1418 |
+
args = arg.split()
|
| 1419 |
+
if len(args) == 0:
|
| 1420 |
+
keys = sorted(self.aliases.keys())
|
| 1421 |
+
for alias in keys:
|
| 1422 |
+
self.message("%s = %s" % (alias, self.aliases[alias]))
|
| 1423 |
+
return
|
| 1424 |
+
if args[0] in self.aliases and len(args) == 1:
|
| 1425 |
+
self.message("%s = %s" % (args[0], self.aliases[args[0]]))
|
| 1426 |
+
else:
|
| 1427 |
+
self.aliases[args[0]] = ' '.join(args[1:])
|
| 1428 |
+
|
| 1429 |
+
def do_unalias(self, arg):
|
| 1430 |
+
"""unalias name
|
| 1431 |
+
Delete the specified alias.
|
| 1432 |
+
"""
|
| 1433 |
+
args = arg.split()
|
| 1434 |
+
if len(args) == 0: return
|
| 1435 |
+
if args[0] in self.aliases:
|
| 1436 |
+
del self.aliases[args[0]]
|
| 1437 |
+
|
| 1438 |
+
def complete_unalias(self, text, line, begidx, endidx):
|
| 1439 |
+
return [a for a in self.aliases if a.startswith(text)]
|
| 1440 |
+
|
| 1441 |
+
# List of all the commands making the program resume execution.
|
| 1442 |
+
commands_resuming = ['do_continue', 'do_step', 'do_next', 'do_return',
|
| 1443 |
+
'do_quit', 'do_jump']
|
| 1444 |
+
|
| 1445 |
+
# Print a traceback starting at the top stack frame.
|
| 1446 |
+
# The most recently entered frame is printed last;
|
| 1447 |
+
# this is different from dbx and gdb, but consistent with
|
| 1448 |
+
# the Python interpreter's stack trace.
|
| 1449 |
+
# It is also consistent with the up/down commands (which are
|
| 1450 |
+
# compatible with dbx and gdb: up moves towards 'main()'
|
| 1451 |
+
# and down moves towards the most recent stack frame).
|
| 1452 |
+
|
| 1453 |
+
def print_stack_trace(self):
|
| 1454 |
+
try:
|
| 1455 |
+
for frame_lineno in self.stack:
|
| 1456 |
+
self.print_stack_entry(frame_lineno)
|
| 1457 |
+
except KeyboardInterrupt:
|
| 1458 |
+
pass
|
| 1459 |
+
|
| 1460 |
+
def print_stack_entry(self, frame_lineno, prompt_prefix=line_prefix):
|
| 1461 |
+
frame, lineno = frame_lineno
|
| 1462 |
+
if frame is self.curframe:
|
| 1463 |
+
prefix = '> '
|
| 1464 |
+
else:
|
| 1465 |
+
prefix = ' '
|
| 1466 |
+
self.message(prefix +
|
| 1467 |
+
self.format_stack_entry(frame_lineno, prompt_prefix))
|
| 1468 |
+
|
| 1469 |
+
# Provide help
|
| 1470 |
+
|
| 1471 |
+
def do_help(self, arg):
|
| 1472 |
+
"""h(elp)
|
| 1473 |
+
Without argument, print the list of available commands.
|
| 1474 |
+
With a command name as argument, print help about that command.
|
| 1475 |
+
"help pdb" shows the full pdb documentation.
|
| 1476 |
+
"help exec" gives help on the ! command.
|
| 1477 |
+
"""
|
| 1478 |
+
if not arg:
|
| 1479 |
+
return cmd.Cmd.do_help(self, arg)
|
| 1480 |
+
try:
|
| 1481 |
+
try:
|
| 1482 |
+
topic = getattr(self, 'help_' + arg)
|
| 1483 |
+
return topic()
|
| 1484 |
+
except AttributeError:
|
| 1485 |
+
command = getattr(self, 'do_' + arg)
|
| 1486 |
+
except AttributeError:
|
| 1487 |
+
self.error('No help for %r' % arg)
|
| 1488 |
+
else:
|
| 1489 |
+
if sys.flags.optimize >= 2:
|
| 1490 |
+
self.error('No help for %r; please do not run Python with -OO '
|
| 1491 |
+
'if you need command help' % arg)
|
| 1492 |
+
return
|
| 1493 |
+
if command.__doc__ is None:
|
| 1494 |
+
self.error('No help for %r; __doc__ string missing' % arg)
|
| 1495 |
+
return
|
| 1496 |
+
self.message(command.__doc__.rstrip())
|
| 1497 |
+
|
| 1498 |
+
do_h = do_help
|
| 1499 |
+
|
| 1500 |
+
def help_exec(self):
|
| 1501 |
+
"""(!) statement
|
| 1502 |
+
Execute the (one-line) statement in the context of the current
|
| 1503 |
+
stack frame. The exclamation point can be omitted unless the
|
| 1504 |
+
first word of the statement resembles a debugger command. To
|
| 1505 |
+
assign to a global variable you must always prefix the command
|
| 1506 |
+
with a 'global' command, e.g.:
|
| 1507 |
+
(Pdb) global list_options; list_options = ['-l']
|
| 1508 |
+
(Pdb)
|
| 1509 |
+
"""
|
| 1510 |
+
self.message((self.help_exec.__doc__ or '').strip())
|
| 1511 |
+
|
| 1512 |
+
def help_pdb(self):
|
| 1513 |
+
help()
|
| 1514 |
+
|
| 1515 |
+
# other helper functions
|
| 1516 |
+
|
| 1517 |
+
def lookupmodule(self, filename):
|
| 1518 |
+
"""Helper function for break/clear parsing -- may be overridden.
|
| 1519 |
+
|
| 1520 |
+
lookupmodule() translates (possibly incomplete) file or module name
|
| 1521 |
+
into an absolute file name.
|
| 1522 |
+
"""
|
| 1523 |
+
if os.path.isabs(filename) and os.path.exists(filename):
|
| 1524 |
+
return filename
|
| 1525 |
+
f = os.path.join(sys.path[0], filename)
|
| 1526 |
+
if os.path.exists(f) and self.canonic(f) == self.mainpyfile:
|
| 1527 |
+
return f
|
| 1528 |
+
root, ext = os.path.splitext(filename)
|
| 1529 |
+
if ext == '':
|
| 1530 |
+
filename = filename + '.py'
|
| 1531 |
+
if os.path.isabs(filename):
|
| 1532 |
+
return filename
|
| 1533 |
+
for dirname in sys.path:
|
| 1534 |
+
while os.path.islink(dirname):
|
| 1535 |
+
dirname = os.readlink(dirname)
|
| 1536 |
+
fullname = os.path.join(dirname, filename)
|
| 1537 |
+
if os.path.exists(fullname):
|
| 1538 |
+
return fullname
|
| 1539 |
+
return None
|
| 1540 |
+
|
| 1541 |
+
def _runmodule(self, module_name):
|
| 1542 |
+
self._wait_for_mainpyfile = True
|
| 1543 |
+
self._user_requested_quit = False
|
| 1544 |
+
import runpy
|
| 1545 |
+
mod_name, mod_spec, code = runpy._get_module_details(module_name)
|
| 1546 |
+
self.mainpyfile = self.canonic(code.co_filename)
|
| 1547 |
+
import __main__
|
| 1548 |
+
__main__.__dict__.clear()
|
| 1549 |
+
__main__.__dict__.update({
|
| 1550 |
+
"__name__": "__main__",
|
| 1551 |
+
"__file__": self.mainpyfile,
|
| 1552 |
+
"__package__": mod_spec.parent,
|
| 1553 |
+
"__loader__": mod_spec.loader,
|
| 1554 |
+
"__spec__": mod_spec,
|
| 1555 |
+
"__builtins__": __builtins__,
|
| 1556 |
+
})
|
| 1557 |
+
self.run(code)
|
| 1558 |
+
|
| 1559 |
+
def _runscript(self, filename):
|
| 1560 |
+
# The script has to run in __main__ namespace (or imports from
|
| 1561 |
+
# __main__ will break).
|
| 1562 |
+
#
|
| 1563 |
+
# So we clear up the __main__ and set several special variables
|
| 1564 |
+
# (this gets rid of pdb's globals and cleans old variables on restarts).
|
| 1565 |
+
import __main__
|
| 1566 |
+
__main__.__dict__.clear()
|
| 1567 |
+
__main__.__dict__.update({"__name__" : "__main__",
|
| 1568 |
+
"__file__" : filename,
|
| 1569 |
+
"__builtins__": __builtins__,
|
| 1570 |
+
})
|
| 1571 |
+
|
| 1572 |
+
# When bdb sets tracing, a number of call and line events happens
|
| 1573 |
+
# BEFORE debugger even reaches user's code (and the exact sequence of
|
| 1574 |
+
# events depends on python version). So we take special measures to
|
| 1575 |
+
# avoid stopping before we reach the main script (see user_line and
|
| 1576 |
+
# user_call for details).
|
| 1577 |
+
self._wait_for_mainpyfile = True
|
| 1578 |
+
self.mainpyfile = self.canonic(filename)
|
| 1579 |
+
self._user_requested_quit = False
|
| 1580 |
+
with io.open_code(filename) as fp:
|
| 1581 |
+
statement = "exec(compile(%r, %r, 'exec'))" % \
|
| 1582 |
+
(fp.read(), self.mainpyfile)
|
| 1583 |
+
self.run(statement)
|
| 1584 |
+
|
| 1585 |
+
# Collect all command help into docstring, if not run with -OO
|
| 1586 |
+
|
| 1587 |
+
if __doc__ is not None:
|
| 1588 |
+
# unfortunately we can't guess this order from the class definition
|
| 1589 |
+
_help_order = [
|
| 1590 |
+
'help', 'where', 'down', 'up', 'break', 'tbreak', 'clear', 'disable',
|
| 1591 |
+
'enable', 'ignore', 'condition', 'commands', 'step', 'next', 'until',
|
| 1592 |
+
'jump', 'return', 'retval', 'run', 'continue', 'list', 'longlist',
|
| 1593 |
+
'args', 'p', 'pp', 'whatis', 'source', 'display', 'undisplay',
|
| 1594 |
+
'interact', 'alias', 'unalias', 'debug', 'quit',
|
| 1595 |
+
]
|
| 1596 |
+
|
| 1597 |
+
for _command in _help_order:
|
| 1598 |
+
__doc__ += getattr(Pdb, 'do_' + _command).__doc__.strip() + '\n\n'
|
| 1599 |
+
__doc__ += Pdb.help_exec.__doc__
|
| 1600 |
+
|
| 1601 |
+
del _help_order, _command
|
| 1602 |
+
|
| 1603 |
+
|
| 1604 |
+
# Simplified interface
|
| 1605 |
+
|
| 1606 |
+
def run(statement, globals=None, locals=None):
|
| 1607 |
+
Pdb().run(statement, globals, locals)
|
| 1608 |
+
|
| 1609 |
+
def runeval(expression, globals=None, locals=None):
|
| 1610 |
+
return Pdb().runeval(expression, globals, locals)
|
| 1611 |
+
|
| 1612 |
+
def runctx(statement, globals, locals):
|
| 1613 |
+
# B/W compatibility
|
| 1614 |
+
run(statement, globals, locals)
|
| 1615 |
+
|
| 1616 |
+
def runcall(*args, **kwds):
|
| 1617 |
+
return Pdb().runcall(*args, **kwds)
|
| 1618 |
+
|
| 1619 |
+
def set_trace(*, header=None):
|
| 1620 |
+
pdb = Pdb()
|
| 1621 |
+
if header is not None:
|
| 1622 |
+
pdb.message(header)
|
| 1623 |
+
pdb.set_trace(sys._getframe().f_back)
|
| 1624 |
+
|
| 1625 |
+
# Post-Mortem interface
|
| 1626 |
+
|
| 1627 |
+
def post_mortem(t=None):
|
| 1628 |
+
# handling the default
|
| 1629 |
+
if t is None:
|
| 1630 |
+
# sys.exc_info() returns (type, value, traceback) if an exception is
|
| 1631 |
+
# being handled, otherwise it returns None
|
| 1632 |
+
t = sys.exc_info()[2]
|
| 1633 |
+
if t is None:
|
| 1634 |
+
raise ValueError("A valid traceback must be passed if no "
|
| 1635 |
+
"exception is being handled")
|
| 1636 |
+
|
| 1637 |
+
p = Pdb()
|
| 1638 |
+
p.reset()
|
| 1639 |
+
p.interaction(None, t)
|
| 1640 |
+
|
| 1641 |
+
def pm():
|
| 1642 |
+
post_mortem(sys.last_traceback)
|
| 1643 |
+
|
| 1644 |
+
|
| 1645 |
+
# Main program for testing
|
| 1646 |
+
|
| 1647 |
+
TESTCMD = 'import x; x.main()'
|
| 1648 |
+
|
| 1649 |
+
def test():
|
| 1650 |
+
run(TESTCMD)
|
| 1651 |
+
|
| 1652 |
+
# print help
|
| 1653 |
+
def help():
|
| 1654 |
+
import pydoc
|
| 1655 |
+
pydoc.pager(__doc__)
|
| 1656 |
+
|
| 1657 |
+
_usage = """\
|
| 1658 |
+
usage: pdb.py [-c command] ... [-m module | pyfile] [arg] ...
|
| 1659 |
+
|
| 1660 |
+
Debug the Python program given by pyfile. Alternatively,
|
| 1661 |
+
an executable module or package to debug can be specified using
|
| 1662 |
+
the -m switch.
|
| 1663 |
+
|
| 1664 |
+
Initial commands are read from .pdbrc files in your home directory
|
| 1665 |
+
and in the current directory, if they exist. Commands supplied with
|
| 1666 |
+
-c are executed after commands from .pdbrc files.
|
| 1667 |
+
|
| 1668 |
+
To let the script run until an exception occurs, use "-c continue".
|
| 1669 |
+
To let the script run up to a given line X in the debugged file, use
|
| 1670 |
+
"-c 'until X'"."""
|
| 1671 |
+
|
| 1672 |
+
def main():
|
| 1673 |
+
import getopt
|
| 1674 |
+
|
| 1675 |
+
opts, args = getopt.getopt(sys.argv[1:], 'mhc:', ['help', 'command='])
|
| 1676 |
+
|
| 1677 |
+
if not args:
|
| 1678 |
+
print(_usage)
|
| 1679 |
+
sys.exit(2)
|
| 1680 |
+
|
| 1681 |
+
commands = []
|
| 1682 |
+
run_as_module = False
|
| 1683 |
+
for opt, optarg in opts:
|
| 1684 |
+
if opt in ['-h', '--help']:
|
| 1685 |
+
print(_usage)
|
| 1686 |
+
sys.exit()
|
| 1687 |
+
elif opt in ['-c', '--command']:
|
| 1688 |
+
commands.append(optarg)
|
| 1689 |
+
elif opt in ['-m']:
|
| 1690 |
+
run_as_module = True
|
| 1691 |
+
|
| 1692 |
+
mainpyfile = args[0] # Get script filename
|
| 1693 |
+
if not run_as_module and not os.path.exists(mainpyfile):
|
| 1694 |
+
print('Error:', mainpyfile, 'does not exist')
|
| 1695 |
+
sys.exit(1)
|
| 1696 |
+
|
| 1697 |
+
if run_as_module:
|
| 1698 |
+
import runpy
|
| 1699 |
+
try:
|
| 1700 |
+
runpy._get_module_details(mainpyfile)
|
| 1701 |
+
except Exception:
|
| 1702 |
+
traceback.print_exc()
|
| 1703 |
+
sys.exit(1)
|
| 1704 |
+
|
| 1705 |
+
sys.argv[:] = args # Hide "pdb.py" and pdb options from argument list
|
| 1706 |
+
|
| 1707 |
+
if not run_as_module:
|
| 1708 |
+
mainpyfile = os.path.realpath(mainpyfile)
|
| 1709 |
+
# Replace pdb's dir with script's dir in front of module search path.
|
| 1710 |
+
sys.path[0] = os.path.dirname(mainpyfile)
|
| 1711 |
+
|
| 1712 |
+
# Note on saving/restoring sys.argv: it's a good idea when sys.argv was
|
| 1713 |
+
# modified by the script being debugged. It's a bad idea when it was
|
| 1714 |
+
# changed by the user from the command line. There is a "restart" command
|
| 1715 |
+
# which allows explicit specification of command line arguments.
|
| 1716 |
+
pdb = Pdb()
|
| 1717 |
+
pdb.rcLines.extend(commands)
|
| 1718 |
+
while True:
|
| 1719 |
+
try:
|
| 1720 |
+
if run_as_module:
|
| 1721 |
+
pdb._runmodule(mainpyfile)
|
| 1722 |
+
else:
|
| 1723 |
+
pdb._runscript(mainpyfile)
|
| 1724 |
+
if pdb._user_requested_quit:
|
| 1725 |
+
break
|
| 1726 |
+
print("The program finished and will be restarted")
|
| 1727 |
+
except Restart:
|
| 1728 |
+
print("Restarting", mainpyfile, "with arguments:")
|
| 1729 |
+
print("\t" + " ".join(sys.argv[1:]))
|
| 1730 |
+
except SystemExit:
|
| 1731 |
+
# In most cases SystemExit does not warrant a post-mortem session.
|
| 1732 |
+
print("The program exited via sys.exit(). Exit status:", end=' ')
|
| 1733 |
+
print(sys.exc_info()[1])
|
| 1734 |
+
except SyntaxError:
|
| 1735 |
+
traceback.print_exc()
|
| 1736 |
+
sys.exit(1)
|
| 1737 |
+
except:
|
| 1738 |
+
traceback.print_exc()
|
| 1739 |
+
print("Uncaught exception. Entering post mortem debugging")
|
| 1740 |
+
print("Running 'cont' or 'step' will restart the program")
|
| 1741 |
+
t = sys.exc_info()[2]
|
| 1742 |
+
pdb.interaction(None, t)
|
| 1743 |
+
print("Post mortem debugger finished. The " + mainpyfile +
|
| 1744 |
+
" will be restarted")
|
| 1745 |
+
|
| 1746 |
+
|
| 1747 |
+
# When invoked as main program, invoke the debugger on a script
|
| 1748 |
+
if __name__ == '__main__':
|
| 1749 |
+
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Pseudo terminal utilities."""
|
| 2 |
+
|
| 3 |
+
# Bugs: No signal handling. Doesn't set slave termios and window size.
|
| 4 |
+
# Only tested on Linux, FreeBSD, and macOS.
|
| 5 |
+
# See: W. Richard Stevens. 1992. Advanced Programming in the
|
| 6 |
+
# UNIX Environment. Chapter 19.
|
| 7 |
+
# Author: Steen Lumholt -- with additions by Guido.
|
| 8 |
+
|
| 9 |
+
from select import select
|
| 10 |
+
import os
|
| 11 |
+
import sys
|
| 12 |
+
import tty
|
| 13 |
+
|
| 14 |
+
# names imported directly for test mocking purposes
|
| 15 |
+
from os import close, waitpid
|
| 16 |
+
from tty import setraw, tcgetattr, tcsetattr
|
| 17 |
+
|
| 18 |
+
__all__ = ["openpty", "fork", "spawn"]
|
| 19 |
+
|
| 20 |
+
STDIN_FILENO = 0
|
| 21 |
+
STDOUT_FILENO = 1
|
| 22 |
+
STDERR_FILENO = 2
|
| 23 |
+
|
| 24 |
+
CHILD = 0
|
| 25 |
+
|
| 26 |
+
def openpty():
|
| 27 |
+
"""openpty() -> (master_fd, slave_fd)
|
| 28 |
+
Open a pty master/slave pair, using os.openpty() if possible."""
|
| 29 |
+
|
| 30 |
+
try:
|
| 31 |
+
return os.openpty()
|
| 32 |
+
except (AttributeError, OSError):
|
| 33 |
+
pass
|
| 34 |
+
master_fd, slave_name = _open_terminal()
|
| 35 |
+
slave_fd = slave_open(slave_name)
|
| 36 |
+
return master_fd, slave_fd
|
| 37 |
+
|
| 38 |
+
def master_open():
|
| 39 |
+
"""master_open() -> (master_fd, slave_name)
|
| 40 |
+
Open a pty master and return the fd, and the filename of the slave end.
|
| 41 |
+
Deprecated, use openpty() instead."""
|
| 42 |
+
|
| 43 |
+
try:
|
| 44 |
+
master_fd, slave_fd = os.openpty()
|
| 45 |
+
except (AttributeError, OSError):
|
| 46 |
+
pass
|
| 47 |
+
else:
|
| 48 |
+
slave_name = os.ttyname(slave_fd)
|
| 49 |
+
os.close(slave_fd)
|
| 50 |
+
return master_fd, slave_name
|
| 51 |
+
|
| 52 |
+
return _open_terminal()
|
| 53 |
+
|
| 54 |
+
def _open_terminal():
|
| 55 |
+
"""Open pty master and return (master_fd, tty_name)."""
|
| 56 |
+
for x in 'pqrstuvwxyzPQRST':
|
| 57 |
+
for y in '0123456789abcdef':
|
| 58 |
+
pty_name = '/dev/pty' + x + y
|
| 59 |
+
try:
|
| 60 |
+
fd = os.open(pty_name, os.O_RDWR)
|
| 61 |
+
except OSError:
|
| 62 |
+
continue
|
| 63 |
+
return (fd, '/dev/tty' + x + y)
|
| 64 |
+
raise OSError('out of pty devices')
|
| 65 |
+
|
| 66 |
+
def slave_open(tty_name):
|
| 67 |
+
"""slave_open(tty_name) -> slave_fd
|
| 68 |
+
Open the pty slave and acquire the controlling terminal, returning
|
| 69 |
+
opened filedescriptor.
|
| 70 |
+
Deprecated, use openpty() instead."""
|
| 71 |
+
|
| 72 |
+
result = os.open(tty_name, os.O_RDWR)
|
| 73 |
+
try:
|
| 74 |
+
from fcntl import ioctl, I_PUSH
|
| 75 |
+
except ImportError:
|
| 76 |
+
return result
|
| 77 |
+
try:
|
| 78 |
+
ioctl(result, I_PUSH, "ptem")
|
| 79 |
+
ioctl(result, I_PUSH, "ldterm")
|
| 80 |
+
except OSError:
|
| 81 |
+
pass
|
| 82 |
+
return result
|
| 83 |
+
|
| 84 |
+
def fork():
|
| 85 |
+
"""fork() -> (pid, master_fd)
|
| 86 |
+
Fork and make the child a session leader with a controlling terminal."""
|
| 87 |
+
|
| 88 |
+
try:
|
| 89 |
+
pid, fd = os.forkpty()
|
| 90 |
+
except (AttributeError, OSError):
|
| 91 |
+
pass
|
| 92 |
+
else:
|
| 93 |
+
if pid == CHILD:
|
| 94 |
+
try:
|
| 95 |
+
os.setsid()
|
| 96 |
+
except OSError:
|
| 97 |
+
# os.forkpty() already set us session leader
|
| 98 |
+
pass
|
| 99 |
+
return pid, fd
|
| 100 |
+
|
| 101 |
+
master_fd, slave_fd = openpty()
|
| 102 |
+
pid = os.fork()
|
| 103 |
+
if pid == CHILD:
|
| 104 |
+
# Establish a new session.
|
| 105 |
+
os.setsid()
|
| 106 |
+
os.close(master_fd)
|
| 107 |
+
|
| 108 |
+
# Slave becomes stdin/stdout/stderr of child.
|
| 109 |
+
os.dup2(slave_fd, STDIN_FILENO)
|
| 110 |
+
os.dup2(slave_fd, STDOUT_FILENO)
|
| 111 |
+
os.dup2(slave_fd, STDERR_FILENO)
|
| 112 |
+
if slave_fd > STDERR_FILENO:
|
| 113 |
+
os.close(slave_fd)
|
| 114 |
+
|
| 115 |
+
# Explicitly open the tty to make it become a controlling tty.
|
| 116 |
+
tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
| 117 |
+
os.close(tmp_fd)
|
| 118 |
+
else:
|
| 119 |
+
os.close(slave_fd)
|
| 120 |
+
|
| 121 |
+
# Parent and child process.
|
| 122 |
+
return pid, master_fd
|
| 123 |
+
|
| 124 |
+
def _writen(fd, data):
|
| 125 |
+
"""Write all the data to a descriptor."""
|
| 126 |
+
while data:
|
| 127 |
+
n = os.write(fd, data)
|
| 128 |
+
data = data[n:]
|
| 129 |
+
|
| 130 |
+
def _read(fd):
|
| 131 |
+
"""Default read function."""
|
| 132 |
+
return os.read(fd, 1024)
|
| 133 |
+
|
| 134 |
+
def _copy(master_fd, master_read=_read, stdin_read=_read):
|
| 135 |
+
"""Parent copy loop.
|
| 136 |
+
Copies
|
| 137 |
+
pty master -> standard output (master_read)
|
| 138 |
+
standard input -> pty master (stdin_read)"""
|
| 139 |
+
fds = [master_fd, STDIN_FILENO]
|
| 140 |
+
while fds:
|
| 141 |
+
rfds, _wfds, _xfds = select(fds, [], [])
|
| 142 |
+
|
| 143 |
+
if master_fd in rfds:
|
| 144 |
+
# Some OSes signal EOF by returning an empty byte string,
|
| 145 |
+
# some throw OSErrors.
|
| 146 |
+
try:
|
| 147 |
+
data = master_read(master_fd)
|
| 148 |
+
except OSError:
|
| 149 |
+
data = b""
|
| 150 |
+
if not data: # Reached EOF.
|
| 151 |
+
return # Assume the child process has exited and is
|
| 152 |
+
# unreachable, so we clean up.
|
| 153 |
+
else:
|
| 154 |
+
os.write(STDOUT_FILENO, data)
|
| 155 |
+
|
| 156 |
+
if STDIN_FILENO in rfds:
|
| 157 |
+
data = stdin_read(STDIN_FILENO)
|
| 158 |
+
if not data:
|
| 159 |
+
fds.remove(STDIN_FILENO)
|
| 160 |
+
else:
|
| 161 |
+
_writen(master_fd, data)
|
| 162 |
+
|
| 163 |
+
def spawn(argv, master_read=_read, stdin_read=_read):
|
| 164 |
+
"""Create a spawned process."""
|
| 165 |
+
if type(argv) == type(''):
|
| 166 |
+
argv = (argv,)
|
| 167 |
+
sys.audit('pty.spawn', argv)
|
| 168 |
+
|
| 169 |
+
pid, master_fd = fork()
|
| 170 |
+
if pid == CHILD:
|
| 171 |
+
os.execlp(argv[0], *argv)
|
| 172 |
+
|
| 173 |
+
try:
|
| 174 |
+
mode = tcgetattr(STDIN_FILENO)
|
| 175 |
+
setraw(STDIN_FILENO)
|
| 176 |
+
restore = True
|
| 177 |
+
except tty.error: # This is the same as termios.error
|
| 178 |
+
restore = False
|
| 179 |
+
|
| 180 |
+
try:
|
| 181 |
+
_copy(master_fd, master_read, stdin_read)
|
| 182 |
+
finally:
|
| 183 |
+
if restore:
|
| 184 |
+
tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
| 185 |
+
|
| 186 |
+
close(master_fd)
|
| 187 |
+
return waitpid(pid, 0)[1]
|
deepseek/lib/python3.10/random.py
ADDED
|
@@ -0,0 +1,930 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Random variable generators.
|
| 2 |
+
|
| 3 |
+
bytes
|
| 4 |
+
-----
|
| 5 |
+
uniform bytes (values between 0 and 255)
|
| 6 |
+
|
| 7 |
+
integers
|
| 8 |
+
--------
|
| 9 |
+
uniform within range
|
| 10 |
+
|
| 11 |
+
sequences
|
| 12 |
+
---------
|
| 13 |
+
pick random element
|
| 14 |
+
pick random sample
|
| 15 |
+
pick weighted random sample
|
| 16 |
+
generate random permutation
|
| 17 |
+
|
| 18 |
+
distributions on the real line:
|
| 19 |
+
------------------------------
|
| 20 |
+
uniform
|
| 21 |
+
triangular
|
| 22 |
+
normal (Gaussian)
|
| 23 |
+
lognormal
|
| 24 |
+
negative exponential
|
| 25 |
+
gamma
|
| 26 |
+
beta
|
| 27 |
+
pareto
|
| 28 |
+
Weibull
|
| 29 |
+
|
| 30 |
+
distributions on the circle (angles 0 to 2pi)
|
| 31 |
+
---------------------------------------------
|
| 32 |
+
circular uniform
|
| 33 |
+
von Mises
|
| 34 |
+
|
| 35 |
+
General notes on the underlying Mersenne Twister core generator:
|
| 36 |
+
|
| 37 |
+
* The period is 2**19937-1.
|
| 38 |
+
* It is one of the most extensively tested generators in existence.
|
| 39 |
+
* The random() method is implemented in C, executes in a single Python step,
|
| 40 |
+
and is, therefore, threadsafe.
|
| 41 |
+
|
| 42 |
+
"""
|
| 43 |
+
|
| 44 |
+
# Translated by Guido van Rossum from C source provided by
|
| 45 |
+
# Adrian Baddeley. Adapted by Raymond Hettinger for use with
|
| 46 |
+
# the Mersenne Twister and os.urandom() core generators.
|
| 47 |
+
|
| 48 |
+
from warnings import warn as _warn
|
| 49 |
+
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
|
| 50 |
+
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
|
| 51 |
+
from math import tau as TWOPI, floor as _floor, isfinite as _isfinite
|
| 52 |
+
from os import urandom as _urandom
|
| 53 |
+
from _collections_abc import Set as _Set, Sequence as _Sequence
|
| 54 |
+
from operator import index as _index
|
| 55 |
+
from itertools import accumulate as _accumulate, repeat as _repeat
|
| 56 |
+
from bisect import bisect as _bisect
|
| 57 |
+
import os as _os
|
| 58 |
+
import _random
|
| 59 |
+
|
| 60 |
+
try:
|
| 61 |
+
# hashlib is pretty heavy to load, try lean internal module first
|
| 62 |
+
from _sha512 import sha512 as _sha512
|
| 63 |
+
except ImportError:
|
| 64 |
+
# fallback to official implementation
|
| 65 |
+
from hashlib import sha512 as _sha512
|
| 66 |
+
|
| 67 |
+
__all__ = [
|
| 68 |
+
"Random",
|
| 69 |
+
"SystemRandom",
|
| 70 |
+
"betavariate",
|
| 71 |
+
"choice",
|
| 72 |
+
"choices",
|
| 73 |
+
"expovariate",
|
| 74 |
+
"gammavariate",
|
| 75 |
+
"gauss",
|
| 76 |
+
"getrandbits",
|
| 77 |
+
"getstate",
|
| 78 |
+
"lognormvariate",
|
| 79 |
+
"normalvariate",
|
| 80 |
+
"paretovariate",
|
| 81 |
+
"randbytes",
|
| 82 |
+
"randint",
|
| 83 |
+
"random",
|
| 84 |
+
"randrange",
|
| 85 |
+
"sample",
|
| 86 |
+
"seed",
|
| 87 |
+
"setstate",
|
| 88 |
+
"shuffle",
|
| 89 |
+
"triangular",
|
| 90 |
+
"uniform",
|
| 91 |
+
"vonmisesvariate",
|
| 92 |
+
"weibullvariate",
|
| 93 |
+
]
|
| 94 |
+
|
| 95 |
+
NV_MAGICCONST = 4 * _exp(-0.5) / _sqrt(2.0)
|
| 96 |
+
LOG4 = _log(4.0)
|
| 97 |
+
SG_MAGICCONST = 1.0 + _log(4.5)
|
| 98 |
+
BPF = 53 # Number of bits in a float
|
| 99 |
+
RECIP_BPF = 2 ** -BPF
|
| 100 |
+
_ONE = 1
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
class Random(_random.Random):
|
| 104 |
+
"""Random number generator base class used by bound module functions.
|
| 105 |
+
|
| 106 |
+
Used to instantiate instances of Random to get generators that don't
|
| 107 |
+
share state.
|
| 108 |
+
|
| 109 |
+
Class Random can also be subclassed if you want to use a different basic
|
| 110 |
+
generator of your own devising: in that case, override the following
|
| 111 |
+
methods: random(), seed(), getstate(), and setstate().
|
| 112 |
+
Optionally, implement a getrandbits() method so that randrange()
|
| 113 |
+
can cover arbitrarily large ranges.
|
| 114 |
+
|
| 115 |
+
"""
|
| 116 |
+
|
| 117 |
+
VERSION = 3 # used by getstate/setstate
|
| 118 |
+
|
| 119 |
+
def __init__(self, x=None):
|
| 120 |
+
"""Initialize an instance.
|
| 121 |
+
|
| 122 |
+
Optional argument x controls seeding, as for Random.seed().
|
| 123 |
+
"""
|
| 124 |
+
|
| 125 |
+
self.seed(x)
|
| 126 |
+
self.gauss_next = None
|
| 127 |
+
|
| 128 |
+
def seed(self, a=None, version=2):
|
| 129 |
+
"""Initialize internal state from a seed.
|
| 130 |
+
|
| 131 |
+
The only supported seed types are None, int, float,
|
| 132 |
+
str, bytes, and bytearray.
|
| 133 |
+
|
| 134 |
+
None or no argument seeds from current time or from an operating
|
| 135 |
+
system specific randomness source if available.
|
| 136 |
+
|
| 137 |
+
If *a* is an int, all bits are used.
|
| 138 |
+
|
| 139 |
+
For version 2 (the default), all of the bits are used if *a* is a str,
|
| 140 |
+
bytes, or bytearray. For version 1 (provided for reproducing random
|
| 141 |
+
sequences from older versions of Python), the algorithm for str and
|
| 142 |
+
bytes generates a narrower range of seeds.
|
| 143 |
+
|
| 144 |
+
"""
|
| 145 |
+
|
| 146 |
+
if version == 1 and isinstance(a, (str, bytes)):
|
| 147 |
+
a = a.decode('latin-1') if isinstance(a, bytes) else a
|
| 148 |
+
x = ord(a[0]) << 7 if a else 0
|
| 149 |
+
for c in map(ord, a):
|
| 150 |
+
x = ((1000003 * x) ^ c) & 0xFFFFFFFFFFFFFFFF
|
| 151 |
+
x ^= len(a)
|
| 152 |
+
a = -2 if x == -1 else x
|
| 153 |
+
|
| 154 |
+
elif version == 2 and isinstance(a, (str, bytes, bytearray)):
|
| 155 |
+
if isinstance(a, str):
|
| 156 |
+
a = a.encode()
|
| 157 |
+
a = int.from_bytes(a + _sha512(a).digest(), 'big')
|
| 158 |
+
|
| 159 |
+
elif not isinstance(a, (type(None), int, float, str, bytes, bytearray)):
|
| 160 |
+
_warn('Seeding based on hashing is deprecated\n'
|
| 161 |
+
'since Python 3.9 and will be removed in a subsequent '
|
| 162 |
+
'version. The only \n'
|
| 163 |
+
'supported seed types are: None, '
|
| 164 |
+
'int, float, str, bytes, and bytearray.',
|
| 165 |
+
DeprecationWarning, 2)
|
| 166 |
+
|
| 167 |
+
super().seed(a)
|
| 168 |
+
self.gauss_next = None
|
| 169 |
+
|
| 170 |
+
def getstate(self):
|
| 171 |
+
"""Return internal state; can be passed to setstate() later."""
|
| 172 |
+
return self.VERSION, super().getstate(), self.gauss_next
|
| 173 |
+
|
| 174 |
+
def setstate(self, state):
|
| 175 |
+
"""Restore internal state from object returned by getstate()."""
|
| 176 |
+
version = state[0]
|
| 177 |
+
if version == 3:
|
| 178 |
+
version, internalstate, self.gauss_next = state
|
| 179 |
+
super().setstate(internalstate)
|
| 180 |
+
elif version == 2:
|
| 181 |
+
version, internalstate, self.gauss_next = state
|
| 182 |
+
# In version 2, the state was saved as signed ints, which causes
|
| 183 |
+
# inconsistencies between 32/64-bit systems. The state is
|
| 184 |
+
# really unsigned 32-bit ints, so we convert negative ints from
|
| 185 |
+
# version 2 to positive longs for version 3.
|
| 186 |
+
try:
|
| 187 |
+
internalstate = tuple(x % (2 ** 32) for x in internalstate)
|
| 188 |
+
except ValueError as e:
|
| 189 |
+
raise TypeError from e
|
| 190 |
+
super().setstate(internalstate)
|
| 191 |
+
else:
|
| 192 |
+
raise ValueError("state with version %s passed to "
|
| 193 |
+
"Random.setstate() of version %s" %
|
| 194 |
+
(version, self.VERSION))
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
## -------------------------------------------------------
|
| 198 |
+
## ---- Methods below this point do not need to be overridden or extended
|
| 199 |
+
## ---- when subclassing for the purpose of using a different core generator.
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
## -------------------- pickle support -------------------
|
| 203 |
+
|
| 204 |
+
# Issue 17489: Since __reduce__ was defined to fix #759889 this is no
|
| 205 |
+
# longer called; we leave it here because it has been here since random was
|
| 206 |
+
# rewritten back in 2001 and why risk breaking something.
|
| 207 |
+
def __getstate__(self): # for pickle
|
| 208 |
+
return self.getstate()
|
| 209 |
+
|
| 210 |
+
def __setstate__(self, state): # for pickle
|
| 211 |
+
self.setstate(state)
|
| 212 |
+
|
| 213 |
+
def __reduce__(self):
|
| 214 |
+
return self.__class__, (), self.getstate()
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
## ---- internal support method for evenly distributed integers ----
|
| 218 |
+
|
| 219 |
+
def __init_subclass__(cls, /, **kwargs):
|
| 220 |
+
"""Control how subclasses generate random integers.
|
| 221 |
+
|
| 222 |
+
The algorithm a subclass can use depends on the random() and/or
|
| 223 |
+
getrandbits() implementation available to it and determines
|
| 224 |
+
whether it can generate random integers from arbitrarily large
|
| 225 |
+
ranges.
|
| 226 |
+
"""
|
| 227 |
+
|
| 228 |
+
for c in cls.__mro__:
|
| 229 |
+
if '_randbelow' in c.__dict__:
|
| 230 |
+
# just inherit it
|
| 231 |
+
break
|
| 232 |
+
if 'getrandbits' in c.__dict__:
|
| 233 |
+
cls._randbelow = cls._randbelow_with_getrandbits
|
| 234 |
+
break
|
| 235 |
+
if 'random' in c.__dict__:
|
| 236 |
+
cls._randbelow = cls._randbelow_without_getrandbits
|
| 237 |
+
break
|
| 238 |
+
|
| 239 |
+
def _randbelow_with_getrandbits(self, n):
|
| 240 |
+
"Return a random int in the range [0,n). Returns 0 if n==0."
|
| 241 |
+
|
| 242 |
+
if not n:
|
| 243 |
+
return 0
|
| 244 |
+
getrandbits = self.getrandbits
|
| 245 |
+
k = n.bit_length() # don't use (n-1) here because n can be 1
|
| 246 |
+
r = getrandbits(k) # 0 <= r < 2**k
|
| 247 |
+
while r >= n:
|
| 248 |
+
r = getrandbits(k)
|
| 249 |
+
return r
|
| 250 |
+
|
| 251 |
+
def _randbelow_without_getrandbits(self, n, maxsize=1<<BPF):
|
| 252 |
+
"""Return a random int in the range [0,n). Returns 0 if n==0.
|
| 253 |
+
|
| 254 |
+
The implementation does not use getrandbits, but only random.
|
| 255 |
+
"""
|
| 256 |
+
|
| 257 |
+
random = self.random
|
| 258 |
+
if n >= maxsize:
|
| 259 |
+
_warn("Underlying random() generator does not supply \n"
|
| 260 |
+
"enough bits to choose from a population range this large.\n"
|
| 261 |
+
"To remove the range limitation, add a getrandbits() method.")
|
| 262 |
+
return _floor(random() * n)
|
| 263 |
+
if n == 0:
|
| 264 |
+
return 0
|
| 265 |
+
rem = maxsize % n
|
| 266 |
+
limit = (maxsize - rem) / maxsize # int(limit * maxsize) % n == 0
|
| 267 |
+
r = random()
|
| 268 |
+
while r >= limit:
|
| 269 |
+
r = random()
|
| 270 |
+
return _floor(r * maxsize) % n
|
| 271 |
+
|
| 272 |
+
_randbelow = _randbelow_with_getrandbits
|
| 273 |
+
|
| 274 |
+
|
| 275 |
+
## --------------------------------------------------------
|
| 276 |
+
## ---- Methods below this point generate custom distributions
|
| 277 |
+
## ---- based on the methods defined above. They do not
|
| 278 |
+
## ---- directly touch the underlying generator and only
|
| 279 |
+
## ---- access randomness through the methods: random(),
|
| 280 |
+
## ---- getrandbits(), or _randbelow().
|
| 281 |
+
|
| 282 |
+
|
| 283 |
+
## -------------------- bytes methods ---------------------
|
| 284 |
+
|
| 285 |
+
def randbytes(self, n):
|
| 286 |
+
"""Generate n random bytes."""
|
| 287 |
+
return self.getrandbits(n * 8).to_bytes(n, 'little')
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
## -------------------- integer methods -------------------
|
| 291 |
+
|
| 292 |
+
def randrange(self, start, stop=None, step=_ONE):
|
| 293 |
+
"""Choose a random item from range(start, stop[, step]).
|
| 294 |
+
|
| 295 |
+
This fixes the problem with randint() which includes the
|
| 296 |
+
endpoint; in Python this is usually not what you want.
|
| 297 |
+
|
| 298 |
+
"""
|
| 299 |
+
|
| 300 |
+
# This code is a bit messy to make it fast for the
|
| 301 |
+
# common case while still doing adequate error checking.
|
| 302 |
+
try:
|
| 303 |
+
istart = _index(start)
|
| 304 |
+
except TypeError:
|
| 305 |
+
istart = int(start)
|
| 306 |
+
if istart != start:
|
| 307 |
+
_warn('randrange() will raise TypeError in the future',
|
| 308 |
+
DeprecationWarning, 2)
|
| 309 |
+
raise ValueError("non-integer arg 1 for randrange()")
|
| 310 |
+
_warn('non-integer arguments to randrange() have been deprecated '
|
| 311 |
+
'since Python 3.10 and will be removed in a subsequent '
|
| 312 |
+
'version',
|
| 313 |
+
DeprecationWarning, 2)
|
| 314 |
+
if stop is None:
|
| 315 |
+
# We don't check for "step != 1" because it hasn't been
|
| 316 |
+
# type checked and converted to an integer yet.
|
| 317 |
+
if step is not _ONE:
|
| 318 |
+
raise TypeError('Missing a non-None stop argument')
|
| 319 |
+
if istart > 0:
|
| 320 |
+
return self._randbelow(istart)
|
| 321 |
+
raise ValueError("empty range for randrange()")
|
| 322 |
+
|
| 323 |
+
# stop argument supplied.
|
| 324 |
+
try:
|
| 325 |
+
istop = _index(stop)
|
| 326 |
+
except TypeError:
|
| 327 |
+
istop = int(stop)
|
| 328 |
+
if istop != stop:
|
| 329 |
+
_warn('randrange() will raise TypeError in the future',
|
| 330 |
+
DeprecationWarning, 2)
|
| 331 |
+
raise ValueError("non-integer stop for randrange()")
|
| 332 |
+
_warn('non-integer arguments to randrange() have been deprecated '
|
| 333 |
+
'since Python 3.10 and will be removed in a subsequent '
|
| 334 |
+
'version',
|
| 335 |
+
DeprecationWarning, 2)
|
| 336 |
+
width = istop - istart
|
| 337 |
+
try:
|
| 338 |
+
istep = _index(step)
|
| 339 |
+
except TypeError:
|
| 340 |
+
istep = int(step)
|
| 341 |
+
if istep != step:
|
| 342 |
+
_warn('randrange() will raise TypeError in the future',
|
| 343 |
+
DeprecationWarning, 2)
|
| 344 |
+
raise ValueError("non-integer step for randrange()")
|
| 345 |
+
_warn('non-integer arguments to randrange() have been deprecated '
|
| 346 |
+
'since Python 3.10 and will be removed in a subsequent '
|
| 347 |
+
'version',
|
| 348 |
+
DeprecationWarning, 2)
|
| 349 |
+
# Fast path.
|
| 350 |
+
if istep == 1:
|
| 351 |
+
if width > 0:
|
| 352 |
+
return istart + self._randbelow(width)
|
| 353 |
+
raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width))
|
| 354 |
+
|
| 355 |
+
# Non-unit step argument supplied.
|
| 356 |
+
if istep > 0:
|
| 357 |
+
n = (width + istep - 1) // istep
|
| 358 |
+
elif istep < 0:
|
| 359 |
+
n = (width + istep + 1) // istep
|
| 360 |
+
else:
|
| 361 |
+
raise ValueError("zero step for randrange()")
|
| 362 |
+
if n <= 0:
|
| 363 |
+
raise ValueError("empty range for randrange()")
|
| 364 |
+
return istart + istep * self._randbelow(n)
|
| 365 |
+
|
| 366 |
+
def randint(self, a, b):
|
| 367 |
+
"""Return random integer in range [a, b], including both end points.
|
| 368 |
+
"""
|
| 369 |
+
|
| 370 |
+
return self.randrange(a, b+1)
|
| 371 |
+
|
| 372 |
+
|
| 373 |
+
## -------------------- sequence methods -------------------
|
| 374 |
+
|
| 375 |
+
def choice(self, seq):
|
| 376 |
+
"""Choose a random element from a non-empty sequence."""
|
| 377 |
+
# raises IndexError if seq is empty
|
| 378 |
+
return seq[self._randbelow(len(seq))]
|
| 379 |
+
|
| 380 |
+
def shuffle(self, x, random=None):
|
| 381 |
+
"""Shuffle list x in place, and return None.
|
| 382 |
+
|
| 383 |
+
Optional argument random is a 0-argument function returning a
|
| 384 |
+
random float in [0.0, 1.0); if it is the default None, the
|
| 385 |
+
standard random.random will be used.
|
| 386 |
+
|
| 387 |
+
"""
|
| 388 |
+
|
| 389 |
+
if random is None:
|
| 390 |
+
randbelow = self._randbelow
|
| 391 |
+
for i in reversed(range(1, len(x))):
|
| 392 |
+
# pick an element in x[:i+1] with which to exchange x[i]
|
| 393 |
+
j = randbelow(i + 1)
|
| 394 |
+
x[i], x[j] = x[j], x[i]
|
| 395 |
+
else:
|
| 396 |
+
_warn('The *random* parameter to shuffle() has been deprecated\n'
|
| 397 |
+
'since Python 3.9 and will be removed in a subsequent '
|
| 398 |
+
'version.',
|
| 399 |
+
DeprecationWarning, 2)
|
| 400 |
+
floor = _floor
|
| 401 |
+
for i in reversed(range(1, len(x))):
|
| 402 |
+
# pick an element in x[:i+1] with which to exchange x[i]
|
| 403 |
+
j = floor(random() * (i + 1))
|
| 404 |
+
x[i], x[j] = x[j], x[i]
|
| 405 |
+
|
| 406 |
+
def sample(self, population, k, *, counts=None):
|
| 407 |
+
"""Chooses k unique random elements from a population sequence or set.
|
| 408 |
+
|
| 409 |
+
Returns a new list containing elements from the population while
|
| 410 |
+
leaving the original population unchanged. The resulting list is
|
| 411 |
+
in selection order so that all sub-slices will also be valid random
|
| 412 |
+
samples. This allows raffle winners (the sample) to be partitioned
|
| 413 |
+
into grand prize and second place winners (the subslices).
|
| 414 |
+
|
| 415 |
+
Members of the population need not be hashable or unique. If the
|
| 416 |
+
population contains repeats, then each occurrence is a possible
|
| 417 |
+
selection in the sample.
|
| 418 |
+
|
| 419 |
+
Repeated elements can be specified one at a time or with the optional
|
| 420 |
+
counts parameter. For example:
|
| 421 |
+
|
| 422 |
+
sample(['red', 'blue'], counts=[4, 2], k=5)
|
| 423 |
+
|
| 424 |
+
is equivalent to:
|
| 425 |
+
|
| 426 |
+
sample(['red', 'red', 'red', 'red', 'blue', 'blue'], k=5)
|
| 427 |
+
|
| 428 |
+
To choose a sample from a range of integers, use range() for the
|
| 429 |
+
population argument. This is especially fast and space efficient
|
| 430 |
+
for sampling from a large population:
|
| 431 |
+
|
| 432 |
+
sample(range(10000000), 60)
|
| 433 |
+
|
| 434 |
+
"""
|
| 435 |
+
|
| 436 |
+
# Sampling without replacement entails tracking either potential
|
| 437 |
+
# selections (the pool) in a list or previous selections in a set.
|
| 438 |
+
|
| 439 |
+
# When the number of selections is small compared to the
|
| 440 |
+
# population, then tracking selections is efficient, requiring
|
| 441 |
+
# only a small set and an occasional reselection. For
|
| 442 |
+
# a larger number of selections, the pool tracking method is
|
| 443 |
+
# preferred since the list takes less space than the
|
| 444 |
+
# set and it doesn't suffer from frequent reselections.
|
| 445 |
+
|
| 446 |
+
# The number of calls to _randbelow() is kept at or near k, the
|
| 447 |
+
# theoretical minimum. This is important because running time
|
| 448 |
+
# is dominated by _randbelow() and because it extracts the
|
| 449 |
+
# least entropy from the underlying random number generators.
|
| 450 |
+
|
| 451 |
+
# Memory requirements are kept to the smaller of a k-length
|
| 452 |
+
# set or an n-length list.
|
| 453 |
+
|
| 454 |
+
# There are other sampling algorithms that do not require
|
| 455 |
+
# auxiliary memory, but they were rejected because they made
|
| 456 |
+
# too many calls to _randbelow(), making them slower and
|
| 457 |
+
# causing them to eat more entropy than necessary.
|
| 458 |
+
|
| 459 |
+
if not isinstance(population, _Sequence):
|
| 460 |
+
if isinstance(population, _Set):
|
| 461 |
+
_warn('Sampling from a set deprecated\n'
|
| 462 |
+
'since Python 3.9 and will be removed in a subsequent version.',
|
| 463 |
+
DeprecationWarning, 2)
|
| 464 |
+
population = tuple(population)
|
| 465 |
+
else:
|
| 466 |
+
raise TypeError("Population must be a sequence. For dicts or sets, use sorted(d).")
|
| 467 |
+
n = len(population)
|
| 468 |
+
if counts is not None:
|
| 469 |
+
cum_counts = list(_accumulate(counts))
|
| 470 |
+
if len(cum_counts) != n:
|
| 471 |
+
raise ValueError('The number of counts does not match the population')
|
| 472 |
+
total = cum_counts.pop()
|
| 473 |
+
if not isinstance(total, int):
|
| 474 |
+
raise TypeError('Counts must be integers')
|
| 475 |
+
if total <= 0:
|
| 476 |
+
raise ValueError('Total of counts must be greater than zero')
|
| 477 |
+
selections = self.sample(range(total), k=k)
|
| 478 |
+
bisect = _bisect
|
| 479 |
+
return [population[bisect(cum_counts, s)] for s in selections]
|
| 480 |
+
randbelow = self._randbelow
|
| 481 |
+
if not 0 <= k <= n:
|
| 482 |
+
raise ValueError("Sample larger than population or is negative")
|
| 483 |
+
result = [None] * k
|
| 484 |
+
setsize = 21 # size of a small set minus size of an empty list
|
| 485 |
+
if k > 5:
|
| 486 |
+
setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
|
| 487 |
+
if n <= setsize:
|
| 488 |
+
# An n-length list is smaller than a k-length set.
|
| 489 |
+
# Invariant: non-selected at pool[0 : n-i]
|
| 490 |
+
pool = list(population)
|
| 491 |
+
for i in range(k):
|
| 492 |
+
j = randbelow(n - i)
|
| 493 |
+
result[i] = pool[j]
|
| 494 |
+
pool[j] = pool[n - i - 1] # move non-selected item into vacancy
|
| 495 |
+
else:
|
| 496 |
+
selected = set()
|
| 497 |
+
selected_add = selected.add
|
| 498 |
+
for i in range(k):
|
| 499 |
+
j = randbelow(n)
|
| 500 |
+
while j in selected:
|
| 501 |
+
j = randbelow(n)
|
| 502 |
+
selected_add(j)
|
| 503 |
+
result[i] = population[j]
|
| 504 |
+
return result
|
| 505 |
+
|
| 506 |
+
def choices(self, population, weights=None, *, cum_weights=None, k=1):
|
| 507 |
+
"""Return a k sized list of population elements chosen with replacement.
|
| 508 |
+
|
| 509 |
+
If the relative weights or cumulative weights are not specified,
|
| 510 |
+
the selections are made with equal probability.
|
| 511 |
+
|
| 512 |
+
"""
|
| 513 |
+
random = self.random
|
| 514 |
+
n = len(population)
|
| 515 |
+
if cum_weights is None:
|
| 516 |
+
if weights is None:
|
| 517 |
+
floor = _floor
|
| 518 |
+
n += 0.0 # convert to float for a small speed improvement
|
| 519 |
+
return [population[floor(random() * n)] for i in _repeat(None, k)]
|
| 520 |
+
try:
|
| 521 |
+
cum_weights = list(_accumulate(weights))
|
| 522 |
+
except TypeError:
|
| 523 |
+
if not isinstance(weights, int):
|
| 524 |
+
raise
|
| 525 |
+
k = weights
|
| 526 |
+
raise TypeError(
|
| 527 |
+
f'The number of choices must be a keyword argument: {k=}'
|
| 528 |
+
) from None
|
| 529 |
+
elif weights is not None:
|
| 530 |
+
raise TypeError('Cannot specify both weights and cumulative weights')
|
| 531 |
+
if len(cum_weights) != n:
|
| 532 |
+
raise ValueError('The number of weights does not match the population')
|
| 533 |
+
total = cum_weights[-1] + 0.0 # convert to float
|
| 534 |
+
if total <= 0.0:
|
| 535 |
+
raise ValueError('Total of weights must be greater than zero')
|
| 536 |
+
if not _isfinite(total):
|
| 537 |
+
raise ValueError('Total of weights must be finite')
|
| 538 |
+
bisect = _bisect
|
| 539 |
+
hi = n - 1
|
| 540 |
+
return [population[bisect(cum_weights, random() * total, 0, hi)]
|
| 541 |
+
for i in _repeat(None, k)]
|
| 542 |
+
|
| 543 |
+
|
| 544 |
+
## -------------------- real-valued distributions -------------------
|
| 545 |
+
|
| 546 |
+
def uniform(self, a, b):
|
| 547 |
+
"Get a random number in the range [a, b) or [a, b] depending on rounding."
|
| 548 |
+
return a + (b - a) * self.random()
|
| 549 |
+
|
| 550 |
+
def triangular(self, low=0.0, high=1.0, mode=None):
|
| 551 |
+
"""Triangular distribution.
|
| 552 |
+
|
| 553 |
+
Continuous distribution bounded by given lower and upper limits,
|
| 554 |
+
and having a given mode value in-between.
|
| 555 |
+
|
| 556 |
+
http://en.wikipedia.org/wiki/Triangular_distribution
|
| 557 |
+
|
| 558 |
+
"""
|
| 559 |
+
u = self.random()
|
| 560 |
+
try:
|
| 561 |
+
c = 0.5 if mode is None else (mode - low) / (high - low)
|
| 562 |
+
except ZeroDivisionError:
|
| 563 |
+
return low
|
| 564 |
+
if u > c:
|
| 565 |
+
u = 1.0 - u
|
| 566 |
+
c = 1.0 - c
|
| 567 |
+
low, high = high, low
|
| 568 |
+
return low + (high - low) * _sqrt(u * c)
|
| 569 |
+
|
| 570 |
+
def normalvariate(self, mu, sigma):
|
| 571 |
+
"""Normal distribution.
|
| 572 |
+
|
| 573 |
+
mu is the mean, and sigma is the standard deviation.
|
| 574 |
+
|
| 575 |
+
"""
|
| 576 |
+
# Uses Kinderman and Monahan method. Reference: Kinderman,
|
| 577 |
+
# A.J. and Monahan, J.F., "Computer generation of random
|
| 578 |
+
# variables using the ratio of uniform deviates", ACM Trans
|
| 579 |
+
# Math Software, 3, (1977), pp257-260.
|
| 580 |
+
|
| 581 |
+
random = self.random
|
| 582 |
+
while True:
|
| 583 |
+
u1 = random()
|
| 584 |
+
u2 = 1.0 - random()
|
| 585 |
+
z = NV_MAGICCONST * (u1 - 0.5) / u2
|
| 586 |
+
zz = z * z / 4.0
|
| 587 |
+
if zz <= -_log(u2):
|
| 588 |
+
break
|
| 589 |
+
return mu + z * sigma
|
| 590 |
+
|
| 591 |
+
def gauss(self, mu, sigma):
|
| 592 |
+
"""Gaussian distribution.
|
| 593 |
+
|
| 594 |
+
mu is the mean, and sigma is the standard deviation. This is
|
| 595 |
+
slightly faster than the normalvariate() function.
|
| 596 |
+
|
| 597 |
+
Not thread-safe without a lock around calls.
|
| 598 |
+
|
| 599 |
+
"""
|
| 600 |
+
# When x and y are two variables from [0, 1), uniformly
|
| 601 |
+
# distributed, then
|
| 602 |
+
#
|
| 603 |
+
# cos(2*pi*x)*sqrt(-2*log(1-y))
|
| 604 |
+
# sin(2*pi*x)*sqrt(-2*log(1-y))
|
| 605 |
+
#
|
| 606 |
+
# are two *independent* variables with normal distribution
|
| 607 |
+
# (mu = 0, sigma = 1).
|
| 608 |
+
# (Lambert Meertens)
|
| 609 |
+
# (corrected version; bug discovered by Mike Miller, fixed by LM)
|
| 610 |
+
|
| 611 |
+
# Multithreading note: When two threads call this function
|
| 612 |
+
# simultaneously, it is possible that they will receive the
|
| 613 |
+
# same return value. The window is very small though. To
|
| 614 |
+
# avoid this, you have to use a lock around all calls. (I
|
| 615 |
+
# didn't want to slow this down in the serial case by using a
|
| 616 |
+
# lock here.)
|
| 617 |
+
|
| 618 |
+
random = self.random
|
| 619 |
+
z = self.gauss_next
|
| 620 |
+
self.gauss_next = None
|
| 621 |
+
if z is None:
|
| 622 |
+
x2pi = random() * TWOPI
|
| 623 |
+
g2rad = _sqrt(-2.0 * _log(1.0 - random()))
|
| 624 |
+
z = _cos(x2pi) * g2rad
|
| 625 |
+
self.gauss_next = _sin(x2pi) * g2rad
|
| 626 |
+
|
| 627 |
+
return mu + z * sigma
|
| 628 |
+
|
| 629 |
+
def lognormvariate(self, mu, sigma):
|
| 630 |
+
"""Log normal distribution.
|
| 631 |
+
|
| 632 |
+
If you take the natural logarithm of this distribution, you'll get a
|
| 633 |
+
normal distribution with mean mu and standard deviation sigma.
|
| 634 |
+
mu can have any value, and sigma must be greater than zero.
|
| 635 |
+
|
| 636 |
+
"""
|
| 637 |
+
return _exp(self.normalvariate(mu, sigma))
|
| 638 |
+
|
| 639 |
+
def expovariate(self, lambd):
|
| 640 |
+
"""Exponential distribution.
|
| 641 |
+
|
| 642 |
+
lambd is 1.0 divided by the desired mean. It should be
|
| 643 |
+
nonzero. (The parameter would be called "lambda", but that is
|
| 644 |
+
a reserved word in Python.) Returned values range from 0 to
|
| 645 |
+
positive infinity if lambd is positive, and from negative
|
| 646 |
+
infinity to 0 if lambd is negative.
|
| 647 |
+
|
| 648 |
+
"""
|
| 649 |
+
# lambd: rate lambd = 1/mean
|
| 650 |
+
# ('lambda' is a Python reserved word)
|
| 651 |
+
|
| 652 |
+
# we use 1-random() instead of random() to preclude the
|
| 653 |
+
# possibility of taking the log of zero.
|
| 654 |
+
return -_log(1.0 - self.random()) / lambd
|
| 655 |
+
|
| 656 |
+
def vonmisesvariate(self, mu, kappa):
|
| 657 |
+
"""Circular data distribution.
|
| 658 |
+
|
| 659 |
+
mu is the mean angle, expressed in radians between 0 and 2*pi, and
|
| 660 |
+
kappa is the concentration parameter, which must be greater than or
|
| 661 |
+
equal to zero. If kappa is equal to zero, this distribution reduces
|
| 662 |
+
to a uniform random angle over the range 0 to 2*pi.
|
| 663 |
+
|
| 664 |
+
"""
|
| 665 |
+
# Based upon an algorithm published in: Fisher, N.I.,
|
| 666 |
+
# "Statistical Analysis of Circular Data", Cambridge
|
| 667 |
+
# University Press, 1993.
|
| 668 |
+
|
| 669 |
+
# Thanks to Magnus Kessler for a correction to the
|
| 670 |
+
# implementation of step 4.
|
| 671 |
+
|
| 672 |
+
random = self.random
|
| 673 |
+
if kappa <= 1e-6:
|
| 674 |
+
return TWOPI * random()
|
| 675 |
+
|
| 676 |
+
s = 0.5 / kappa
|
| 677 |
+
r = s + _sqrt(1.0 + s * s)
|
| 678 |
+
|
| 679 |
+
while True:
|
| 680 |
+
u1 = random()
|
| 681 |
+
z = _cos(_pi * u1)
|
| 682 |
+
|
| 683 |
+
d = z / (r + z)
|
| 684 |
+
u2 = random()
|
| 685 |
+
if u2 < 1.0 - d * d or u2 <= (1.0 - d) * _exp(d):
|
| 686 |
+
break
|
| 687 |
+
|
| 688 |
+
q = 1.0 / r
|
| 689 |
+
f = (q + z) / (1.0 + q * z)
|
| 690 |
+
u3 = random()
|
| 691 |
+
if u3 > 0.5:
|
| 692 |
+
theta = (mu + _acos(f)) % TWOPI
|
| 693 |
+
else:
|
| 694 |
+
theta = (mu - _acos(f)) % TWOPI
|
| 695 |
+
|
| 696 |
+
return theta
|
| 697 |
+
|
| 698 |
+
def gammavariate(self, alpha, beta):
|
| 699 |
+
"""Gamma distribution. Not the gamma function!
|
| 700 |
+
|
| 701 |
+
Conditions on the parameters are alpha > 0 and beta > 0.
|
| 702 |
+
|
| 703 |
+
The probability distribution function is:
|
| 704 |
+
|
| 705 |
+
x ** (alpha - 1) * math.exp(-x / beta)
|
| 706 |
+
pdf(x) = --------------------------------------
|
| 707 |
+
math.gamma(alpha) * beta ** alpha
|
| 708 |
+
|
| 709 |
+
"""
|
| 710 |
+
# alpha > 0, beta > 0, mean is alpha*beta, variance is alpha*beta**2
|
| 711 |
+
|
| 712 |
+
# Warning: a few older sources define the gamma distribution in terms
|
| 713 |
+
# of alpha > -1.0
|
| 714 |
+
if alpha <= 0.0 or beta <= 0.0:
|
| 715 |
+
raise ValueError('gammavariate: alpha and beta must be > 0.0')
|
| 716 |
+
|
| 717 |
+
random = self.random
|
| 718 |
+
if alpha > 1.0:
|
| 719 |
+
|
| 720 |
+
# Uses R.C.H. Cheng, "The generation of Gamma
|
| 721 |
+
# variables with non-integral shape parameters",
|
| 722 |
+
# Applied Statistics, (1977), 26, No. 1, p71-74
|
| 723 |
+
|
| 724 |
+
ainv = _sqrt(2.0 * alpha - 1.0)
|
| 725 |
+
bbb = alpha - LOG4
|
| 726 |
+
ccc = alpha + ainv
|
| 727 |
+
|
| 728 |
+
while True:
|
| 729 |
+
u1 = random()
|
| 730 |
+
if not 1e-7 < u1 < 0.9999999:
|
| 731 |
+
continue
|
| 732 |
+
u2 = 1.0 - random()
|
| 733 |
+
v = _log(u1 / (1.0 - u1)) / ainv
|
| 734 |
+
x = alpha * _exp(v)
|
| 735 |
+
z = u1 * u1 * u2
|
| 736 |
+
r = bbb + ccc * v - x
|
| 737 |
+
if r + SG_MAGICCONST - 4.5 * z >= 0.0 or r >= _log(z):
|
| 738 |
+
return x * beta
|
| 739 |
+
|
| 740 |
+
elif alpha == 1.0:
|
| 741 |
+
# expovariate(1/beta)
|
| 742 |
+
return -_log(1.0 - random()) * beta
|
| 743 |
+
|
| 744 |
+
else:
|
| 745 |
+
# alpha is between 0 and 1 (exclusive)
|
| 746 |
+
# Uses ALGORITHM GS of Statistical Computing - Kennedy & Gentle
|
| 747 |
+
while True:
|
| 748 |
+
u = random()
|
| 749 |
+
b = (_e + alpha) / _e
|
| 750 |
+
p = b * u
|
| 751 |
+
if p <= 1.0:
|
| 752 |
+
x = p ** (1.0 / alpha)
|
| 753 |
+
else:
|
| 754 |
+
x = -_log((b - p) / alpha)
|
| 755 |
+
u1 = random()
|
| 756 |
+
if p > 1.0:
|
| 757 |
+
if u1 <= x ** (alpha - 1.0):
|
| 758 |
+
break
|
| 759 |
+
elif u1 <= _exp(-x):
|
| 760 |
+
break
|
| 761 |
+
return x * beta
|
| 762 |
+
|
| 763 |
+
def betavariate(self, alpha, beta):
|
| 764 |
+
"""Beta distribution.
|
| 765 |
+
|
| 766 |
+
Conditions on the parameters are alpha > 0 and beta > 0.
|
| 767 |
+
Returned values range between 0 and 1.
|
| 768 |
+
|
| 769 |
+
"""
|
| 770 |
+
## See
|
| 771 |
+
## http://mail.python.org/pipermail/python-bugs-list/2001-January/003752.html
|
| 772 |
+
## for Ivan Frohne's insightful analysis of why the original implementation:
|
| 773 |
+
##
|
| 774 |
+
## def betavariate(self, alpha, beta):
|
| 775 |
+
## # Discrete Event Simulation in C, pp 87-88.
|
| 776 |
+
##
|
| 777 |
+
## y = self.expovariate(alpha)
|
| 778 |
+
## z = self.expovariate(1.0/beta)
|
| 779 |
+
## return z/(y+z)
|
| 780 |
+
##
|
| 781 |
+
## was dead wrong, and how it probably got that way.
|
| 782 |
+
|
| 783 |
+
# This version due to Janne Sinkkonen, and matches all the std
|
| 784 |
+
# texts (e.g., Knuth Vol 2 Ed 3 pg 134 "the beta distribution").
|
| 785 |
+
y = self.gammavariate(alpha, 1.0)
|
| 786 |
+
if y:
|
| 787 |
+
return y / (y + self.gammavariate(beta, 1.0))
|
| 788 |
+
return 0.0
|
| 789 |
+
|
| 790 |
+
def paretovariate(self, alpha):
|
| 791 |
+
"""Pareto distribution. alpha is the shape parameter."""
|
| 792 |
+
# Jain, pg. 495
|
| 793 |
+
|
| 794 |
+
u = 1.0 - self.random()
|
| 795 |
+
return u ** (-1.0 / alpha)
|
| 796 |
+
|
| 797 |
+
def weibullvariate(self, alpha, beta):
|
| 798 |
+
"""Weibull distribution.
|
| 799 |
+
|
| 800 |
+
alpha is the scale parameter and beta is the shape parameter.
|
| 801 |
+
|
| 802 |
+
"""
|
| 803 |
+
# Jain, pg. 499; bug fix courtesy Bill Arms
|
| 804 |
+
|
| 805 |
+
u = 1.0 - self.random()
|
| 806 |
+
return alpha * (-_log(u)) ** (1.0 / beta)
|
| 807 |
+
|
| 808 |
+
|
| 809 |
+
## ------------------------------------------------------------------
|
| 810 |
+
## --------------- Operating System Random Source ------------------
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
class SystemRandom(Random):
|
| 814 |
+
"""Alternate random number generator using sources provided
|
| 815 |
+
by the operating system (such as /dev/urandom on Unix or
|
| 816 |
+
CryptGenRandom on Windows).
|
| 817 |
+
|
| 818 |
+
Not available on all systems (see os.urandom() for details).
|
| 819 |
+
|
| 820 |
+
"""
|
| 821 |
+
|
| 822 |
+
def random(self):
|
| 823 |
+
"""Get the next random number in the range [0.0, 1.0)."""
|
| 824 |
+
return (int.from_bytes(_urandom(7), 'big') >> 3) * RECIP_BPF
|
| 825 |
+
|
| 826 |
+
def getrandbits(self, k):
|
| 827 |
+
"""getrandbits(k) -> x. Generates an int with k random bits."""
|
| 828 |
+
if k < 0:
|
| 829 |
+
raise ValueError('number of bits must be non-negative')
|
| 830 |
+
numbytes = (k + 7) // 8 # bits / 8 and rounded up
|
| 831 |
+
x = int.from_bytes(_urandom(numbytes), 'big')
|
| 832 |
+
return x >> (numbytes * 8 - k) # trim excess bits
|
| 833 |
+
|
| 834 |
+
def randbytes(self, n):
|
| 835 |
+
"""Generate n random bytes."""
|
| 836 |
+
# os.urandom(n) fails with ValueError for n < 0
|
| 837 |
+
# and returns an empty bytes string for n == 0.
|
| 838 |
+
return _urandom(n)
|
| 839 |
+
|
| 840 |
+
def seed(self, *args, **kwds):
|
| 841 |
+
"Stub method. Not used for a system random number generator."
|
| 842 |
+
return None
|
| 843 |
+
|
| 844 |
+
def _notimplemented(self, *args, **kwds):
|
| 845 |
+
"Method should not be called for a system random number generator."
|
| 846 |
+
raise NotImplementedError('System entropy source does not have state.')
|
| 847 |
+
getstate = setstate = _notimplemented
|
| 848 |
+
|
| 849 |
+
|
| 850 |
+
# ----------------------------------------------------------------------
|
| 851 |
+
# Create one instance, seeded from current time, and export its methods
|
| 852 |
+
# as module-level functions. The functions share state across all uses
|
| 853 |
+
# (both in the user's code and in the Python libraries), but that's fine
|
| 854 |
+
# for most programs and is easier for the casual user than making them
|
| 855 |
+
# instantiate their own Random() instance.
|
| 856 |
+
|
| 857 |
+
_inst = Random()
|
| 858 |
+
seed = _inst.seed
|
| 859 |
+
random = _inst.random
|
| 860 |
+
uniform = _inst.uniform
|
| 861 |
+
triangular = _inst.triangular
|
| 862 |
+
randint = _inst.randint
|
| 863 |
+
choice = _inst.choice
|
| 864 |
+
randrange = _inst.randrange
|
| 865 |
+
sample = _inst.sample
|
| 866 |
+
shuffle = _inst.shuffle
|
| 867 |
+
choices = _inst.choices
|
| 868 |
+
normalvariate = _inst.normalvariate
|
| 869 |
+
lognormvariate = _inst.lognormvariate
|
| 870 |
+
expovariate = _inst.expovariate
|
| 871 |
+
vonmisesvariate = _inst.vonmisesvariate
|
| 872 |
+
gammavariate = _inst.gammavariate
|
| 873 |
+
gauss = _inst.gauss
|
| 874 |
+
betavariate = _inst.betavariate
|
| 875 |
+
paretovariate = _inst.paretovariate
|
| 876 |
+
weibullvariate = _inst.weibullvariate
|
| 877 |
+
getstate = _inst.getstate
|
| 878 |
+
setstate = _inst.setstate
|
| 879 |
+
getrandbits = _inst.getrandbits
|
| 880 |
+
randbytes = _inst.randbytes
|
| 881 |
+
|
| 882 |
+
|
| 883 |
+
## ------------------------------------------------------
|
| 884 |
+
## ----------------- test program -----------------------
|
| 885 |
+
|
| 886 |
+
def _test_generator(n, func, args):
|
| 887 |
+
from statistics import stdev, fmean as mean
|
| 888 |
+
from time import perf_counter
|
| 889 |
+
|
| 890 |
+
t0 = perf_counter()
|
| 891 |
+
data = [func(*args) for i in _repeat(None, n)]
|
| 892 |
+
t1 = perf_counter()
|
| 893 |
+
|
| 894 |
+
xbar = mean(data)
|
| 895 |
+
sigma = stdev(data, xbar)
|
| 896 |
+
low = min(data)
|
| 897 |
+
high = max(data)
|
| 898 |
+
|
| 899 |
+
print(f'{t1 - t0:.3f} sec, {n} times {func.__name__}')
|
| 900 |
+
print('avg %g, stddev %g, min %g, max %g\n' % (xbar, sigma, low, high))
|
| 901 |
+
|
| 902 |
+
|
| 903 |
+
def _test(N=2000):
|
| 904 |
+
_test_generator(N, random, ())
|
| 905 |
+
_test_generator(N, normalvariate, (0.0, 1.0))
|
| 906 |
+
_test_generator(N, lognormvariate, (0.0, 1.0))
|
| 907 |
+
_test_generator(N, vonmisesvariate, (0.0, 1.0))
|
| 908 |
+
_test_generator(N, gammavariate, (0.01, 1.0))
|
| 909 |
+
_test_generator(N, gammavariate, (0.1, 1.0))
|
| 910 |
+
_test_generator(N, gammavariate, (0.1, 2.0))
|
| 911 |
+
_test_generator(N, gammavariate, (0.5, 1.0))
|
| 912 |
+
_test_generator(N, gammavariate, (0.9, 1.0))
|
| 913 |
+
_test_generator(N, gammavariate, (1.0, 1.0))
|
| 914 |
+
_test_generator(N, gammavariate, (2.0, 1.0))
|
| 915 |
+
_test_generator(N, gammavariate, (20.0, 1.0))
|
| 916 |
+
_test_generator(N, gammavariate, (200.0, 1.0))
|
| 917 |
+
_test_generator(N, gauss, (0.0, 1.0))
|
| 918 |
+
_test_generator(N, betavariate, (3.0, 3.0))
|
| 919 |
+
_test_generator(N, triangular, (0.0, 1.0, 1.0 / 3.0))
|
| 920 |
+
|
| 921 |
+
|
| 922 |
+
## ------------------------------------------------------
|
| 923 |
+
## ------------------ fork support ---------------------
|
| 924 |
+
|
| 925 |
+
if hasattr(_os, "fork"):
|
| 926 |
+
_os.register_at_fork(after_in_child=_inst.seed)
|
| 927 |
+
|
| 928 |
+
|
| 929 |
+
if __name__ == '__main__':
|
| 930 |
+
_test()
|
deepseek/lib/python3.10/runpy.py
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""runpy.py - locating and running Python code using the module namespace
|
| 2 |
+
|
| 3 |
+
Provides support for locating and running Python scripts using the Python
|
| 4 |
+
module namespace instead of the native filesystem.
|
| 5 |
+
|
| 6 |
+
This allows Python code to play nicely with non-filesystem based PEP 302
|
| 7 |
+
importers when locating support scripts as well as when importing modules.
|
| 8 |
+
"""
|
| 9 |
+
# Written by Nick Coghlan <ncoghlan at gmail.com>
|
| 10 |
+
# to implement PEP 338 (Executing Modules as Scripts)
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
import sys
|
| 14 |
+
import importlib.machinery # importlib first so we can test #15386 via -m
|
| 15 |
+
import importlib.util
|
| 16 |
+
import io
|
| 17 |
+
import types
|
| 18 |
+
import os
|
| 19 |
+
|
| 20 |
+
__all__ = [
|
| 21 |
+
"run_module", "run_path",
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
class _TempModule(object):
|
| 25 |
+
"""Temporarily replace a module in sys.modules with an empty namespace"""
|
| 26 |
+
def __init__(self, mod_name):
|
| 27 |
+
self.mod_name = mod_name
|
| 28 |
+
self.module = types.ModuleType(mod_name)
|
| 29 |
+
self._saved_module = []
|
| 30 |
+
|
| 31 |
+
def __enter__(self):
|
| 32 |
+
mod_name = self.mod_name
|
| 33 |
+
try:
|
| 34 |
+
self._saved_module.append(sys.modules[mod_name])
|
| 35 |
+
except KeyError:
|
| 36 |
+
pass
|
| 37 |
+
sys.modules[mod_name] = self.module
|
| 38 |
+
return self
|
| 39 |
+
|
| 40 |
+
def __exit__(self, *args):
|
| 41 |
+
if self._saved_module:
|
| 42 |
+
sys.modules[self.mod_name] = self._saved_module[0]
|
| 43 |
+
else:
|
| 44 |
+
del sys.modules[self.mod_name]
|
| 45 |
+
self._saved_module = []
|
| 46 |
+
|
| 47 |
+
class _ModifiedArgv0(object):
|
| 48 |
+
def __init__(self, value):
|
| 49 |
+
self.value = value
|
| 50 |
+
self._saved_value = self._sentinel = object()
|
| 51 |
+
|
| 52 |
+
def __enter__(self):
|
| 53 |
+
if self._saved_value is not self._sentinel:
|
| 54 |
+
raise RuntimeError("Already preserving saved value")
|
| 55 |
+
self._saved_value = sys.argv[0]
|
| 56 |
+
sys.argv[0] = self.value
|
| 57 |
+
|
| 58 |
+
def __exit__(self, *args):
|
| 59 |
+
self.value = self._sentinel
|
| 60 |
+
sys.argv[0] = self._saved_value
|
| 61 |
+
|
| 62 |
+
# TODO: Replace these helpers with importlib._bootstrap_external functions.
|
| 63 |
+
def _run_code(code, run_globals, init_globals=None,
|
| 64 |
+
mod_name=None, mod_spec=None,
|
| 65 |
+
pkg_name=None, script_name=None):
|
| 66 |
+
"""Helper to run code in nominated namespace"""
|
| 67 |
+
if init_globals is not None:
|
| 68 |
+
run_globals.update(init_globals)
|
| 69 |
+
if mod_spec is None:
|
| 70 |
+
loader = None
|
| 71 |
+
fname = script_name
|
| 72 |
+
cached = None
|
| 73 |
+
else:
|
| 74 |
+
loader = mod_spec.loader
|
| 75 |
+
fname = mod_spec.origin
|
| 76 |
+
cached = mod_spec.cached
|
| 77 |
+
if pkg_name is None:
|
| 78 |
+
pkg_name = mod_spec.parent
|
| 79 |
+
run_globals.update(__name__ = mod_name,
|
| 80 |
+
__file__ = fname,
|
| 81 |
+
__cached__ = cached,
|
| 82 |
+
__doc__ = None,
|
| 83 |
+
__loader__ = loader,
|
| 84 |
+
__package__ = pkg_name,
|
| 85 |
+
__spec__ = mod_spec)
|
| 86 |
+
exec(code, run_globals)
|
| 87 |
+
return run_globals
|
| 88 |
+
|
| 89 |
+
def _run_module_code(code, init_globals=None,
|
| 90 |
+
mod_name=None, mod_spec=None,
|
| 91 |
+
pkg_name=None, script_name=None):
|
| 92 |
+
"""Helper to run code in new namespace with sys modified"""
|
| 93 |
+
fname = script_name if mod_spec is None else mod_spec.origin
|
| 94 |
+
with _TempModule(mod_name) as temp_module, _ModifiedArgv0(fname):
|
| 95 |
+
mod_globals = temp_module.module.__dict__
|
| 96 |
+
_run_code(code, mod_globals, init_globals,
|
| 97 |
+
mod_name, mod_spec, pkg_name, script_name)
|
| 98 |
+
# Copy the globals of the temporary module, as they
|
| 99 |
+
# may be cleared when the temporary module goes away
|
| 100 |
+
return mod_globals.copy()
|
| 101 |
+
|
| 102 |
+
# Helper to get the full name, spec and code for a module
|
| 103 |
+
def _get_module_details(mod_name, error=ImportError):
|
| 104 |
+
if mod_name.startswith("."):
|
| 105 |
+
raise error("Relative module names not supported")
|
| 106 |
+
pkg_name, _, _ = mod_name.rpartition(".")
|
| 107 |
+
if pkg_name:
|
| 108 |
+
# Try importing the parent to avoid catching initialization errors
|
| 109 |
+
try:
|
| 110 |
+
__import__(pkg_name)
|
| 111 |
+
except ImportError as e:
|
| 112 |
+
# If the parent or higher ancestor package is missing, let the
|
| 113 |
+
# error be raised by find_spec() below and then be caught. But do
|
| 114 |
+
# not allow other errors to be caught.
|
| 115 |
+
if e.name is None or (e.name != pkg_name and
|
| 116 |
+
not pkg_name.startswith(e.name + ".")):
|
| 117 |
+
raise
|
| 118 |
+
# Warn if the module has already been imported under its normal name
|
| 119 |
+
existing = sys.modules.get(mod_name)
|
| 120 |
+
if existing is not None and not hasattr(existing, "__path__"):
|
| 121 |
+
from warnings import warn
|
| 122 |
+
msg = "{mod_name!r} found in sys.modules after import of " \
|
| 123 |
+
"package {pkg_name!r}, but prior to execution of " \
|
| 124 |
+
"{mod_name!r}; this may result in unpredictable " \
|
| 125 |
+
"behaviour".format(mod_name=mod_name, pkg_name=pkg_name)
|
| 126 |
+
warn(RuntimeWarning(msg))
|
| 127 |
+
|
| 128 |
+
try:
|
| 129 |
+
spec = importlib.util.find_spec(mod_name)
|
| 130 |
+
except (ImportError, AttributeError, TypeError, ValueError) as ex:
|
| 131 |
+
# This hack fixes an impedance mismatch between pkgutil and
|
| 132 |
+
# importlib, where the latter raises other errors for cases where
|
| 133 |
+
# pkgutil previously raised ImportError
|
| 134 |
+
msg = "Error while finding module specification for {!r} ({}: {})"
|
| 135 |
+
if mod_name.endswith(".py"):
|
| 136 |
+
msg += (f". Try using '{mod_name[:-3]}' instead of "
|
| 137 |
+
f"'{mod_name}' as the module name.")
|
| 138 |
+
raise error(msg.format(mod_name, type(ex).__name__, ex)) from ex
|
| 139 |
+
if spec is None:
|
| 140 |
+
raise error("No module named %s" % mod_name)
|
| 141 |
+
if spec.submodule_search_locations is not None:
|
| 142 |
+
if mod_name == "__main__" or mod_name.endswith(".__main__"):
|
| 143 |
+
raise error("Cannot use package as __main__ module")
|
| 144 |
+
try:
|
| 145 |
+
pkg_main_name = mod_name + ".__main__"
|
| 146 |
+
return _get_module_details(pkg_main_name, error)
|
| 147 |
+
except error as e:
|
| 148 |
+
if mod_name not in sys.modules:
|
| 149 |
+
raise # No module loaded; being a package is irrelevant
|
| 150 |
+
raise error(("%s; %r is a package and cannot " +
|
| 151 |
+
"be directly executed") %(e, mod_name))
|
| 152 |
+
loader = spec.loader
|
| 153 |
+
if loader is None:
|
| 154 |
+
raise error("%r is a namespace package and cannot be executed"
|
| 155 |
+
% mod_name)
|
| 156 |
+
try:
|
| 157 |
+
code = loader.get_code(mod_name)
|
| 158 |
+
except ImportError as e:
|
| 159 |
+
raise error(format(e)) from e
|
| 160 |
+
if code is None:
|
| 161 |
+
raise error("No code object available for %s" % mod_name)
|
| 162 |
+
return mod_name, spec, code
|
| 163 |
+
|
| 164 |
+
class _Error(Exception):
|
| 165 |
+
"""Error that _run_module_as_main() should report without a traceback"""
|
| 166 |
+
|
| 167 |
+
# XXX ncoghlan: Should this be documented and made public?
|
| 168 |
+
# (Current thoughts: don't repeat the mistake that lead to its
|
| 169 |
+
# creation when run_module() no longer met the needs of
|
| 170 |
+
# mainmodule.c, but couldn't be changed because it was public)
|
| 171 |
+
def _run_module_as_main(mod_name, alter_argv=True):
|
| 172 |
+
"""Runs the designated module in the __main__ namespace
|
| 173 |
+
|
| 174 |
+
Note that the executed module will have full access to the
|
| 175 |
+
__main__ namespace. If this is not desirable, the run_module()
|
| 176 |
+
function should be used to run the module code in a fresh namespace.
|
| 177 |
+
|
| 178 |
+
At the very least, these variables in __main__ will be overwritten:
|
| 179 |
+
__name__
|
| 180 |
+
__file__
|
| 181 |
+
__cached__
|
| 182 |
+
__loader__
|
| 183 |
+
__package__
|
| 184 |
+
"""
|
| 185 |
+
try:
|
| 186 |
+
if alter_argv or mod_name != "__main__": # i.e. -m switch
|
| 187 |
+
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
|
| 188 |
+
else: # i.e. directory or zipfile execution
|
| 189 |
+
mod_name, mod_spec, code = _get_main_module_details(_Error)
|
| 190 |
+
except _Error as exc:
|
| 191 |
+
msg = "%s: %s" % (sys.executable, exc)
|
| 192 |
+
sys.exit(msg)
|
| 193 |
+
main_globals = sys.modules["__main__"].__dict__
|
| 194 |
+
if alter_argv:
|
| 195 |
+
sys.argv[0] = mod_spec.origin
|
| 196 |
+
return _run_code(code, main_globals, None,
|
| 197 |
+
"__main__", mod_spec)
|
| 198 |
+
|
| 199 |
+
def run_module(mod_name, init_globals=None,
|
| 200 |
+
run_name=None, alter_sys=False):
|
| 201 |
+
"""Execute a module's code without importing it.
|
| 202 |
+
|
| 203 |
+
mod_name -- an absolute module name or package name.
|
| 204 |
+
|
| 205 |
+
Optional arguments:
|
| 206 |
+
init_globals -- dictionary used to pre-populate the module’s
|
| 207 |
+
globals dictionary before the code is executed.
|
| 208 |
+
|
| 209 |
+
run_name -- if not None, this will be used for setting __name__;
|
| 210 |
+
otherwise, __name__ will be set to mod_name + '__main__' if the
|
| 211 |
+
named module is a package and to just mod_name otherwise.
|
| 212 |
+
|
| 213 |
+
alter_sys -- if True, sys.argv[0] is updated with the value of
|
| 214 |
+
__file__ and sys.modules[__name__] is updated with a temporary
|
| 215 |
+
module object for the module being executed. Both are
|
| 216 |
+
restored to their original values before the function returns.
|
| 217 |
+
|
| 218 |
+
Returns the resulting module globals dictionary.
|
| 219 |
+
"""
|
| 220 |
+
mod_name, mod_spec, code = _get_module_details(mod_name)
|
| 221 |
+
if run_name is None:
|
| 222 |
+
run_name = mod_name
|
| 223 |
+
if alter_sys:
|
| 224 |
+
return _run_module_code(code, init_globals, run_name, mod_spec)
|
| 225 |
+
else:
|
| 226 |
+
# Leave the sys module alone
|
| 227 |
+
return _run_code(code, {}, init_globals, run_name, mod_spec)
|
| 228 |
+
|
| 229 |
+
def _get_main_module_details(error=ImportError):
|
| 230 |
+
# Helper that gives a nicer error message when attempting to
|
| 231 |
+
# execute a zipfile or directory by invoking __main__.py
|
| 232 |
+
# Also moves the standard __main__ out of the way so that the
|
| 233 |
+
# preexisting __loader__ entry doesn't cause issues
|
| 234 |
+
main_name = "__main__"
|
| 235 |
+
saved_main = sys.modules[main_name]
|
| 236 |
+
del sys.modules[main_name]
|
| 237 |
+
try:
|
| 238 |
+
return _get_module_details(main_name)
|
| 239 |
+
except ImportError as exc:
|
| 240 |
+
if main_name in str(exc):
|
| 241 |
+
raise error("can't find %r module in %r" %
|
| 242 |
+
(main_name, sys.path[0])) from exc
|
| 243 |
+
raise
|
| 244 |
+
finally:
|
| 245 |
+
sys.modules[main_name] = saved_main
|
| 246 |
+
|
| 247 |
+
|
| 248 |
+
def _get_code_from_file(run_name, fname):
|
| 249 |
+
# Check for a compiled file first
|
| 250 |
+
from pkgutil import read_code
|
| 251 |
+
decoded_path = os.path.abspath(os.fsdecode(fname))
|
| 252 |
+
with io.open_code(decoded_path) as f:
|
| 253 |
+
code = read_code(f)
|
| 254 |
+
if code is None:
|
| 255 |
+
# That didn't work, so try it as normal source code
|
| 256 |
+
with io.open_code(decoded_path) as f:
|
| 257 |
+
code = compile(f.read(), fname, 'exec')
|
| 258 |
+
return code, fname
|
| 259 |
+
|
| 260 |
+
def run_path(path_name, init_globals=None, run_name=None):
|
| 261 |
+
"""Execute code located at the specified filesystem location.
|
| 262 |
+
|
| 263 |
+
path_name -- filesystem location of a Python script, zipfile,
|
| 264 |
+
or directory containing a top level __main__.py script.
|
| 265 |
+
|
| 266 |
+
Optional arguments:
|
| 267 |
+
init_globals -- dictionary used to pre-populate the module’s
|
| 268 |
+
globals dictionary before the code is executed.
|
| 269 |
+
|
| 270 |
+
run_name -- if not None, this will be used to set __name__;
|
| 271 |
+
otherwise, '<run_path>' will be used for __name__.
|
| 272 |
+
|
| 273 |
+
Returns the resulting module globals dictionary.
|
| 274 |
+
"""
|
| 275 |
+
if run_name is None:
|
| 276 |
+
run_name = "<run_path>"
|
| 277 |
+
pkg_name = run_name.rpartition(".")[0]
|
| 278 |
+
from pkgutil import get_importer
|
| 279 |
+
importer = get_importer(path_name)
|
| 280 |
+
# Trying to avoid importing imp so as to not consume the deprecation warning.
|
| 281 |
+
is_NullImporter = False
|
| 282 |
+
if type(importer).__module__ == 'imp':
|
| 283 |
+
if type(importer).__name__ == 'NullImporter':
|
| 284 |
+
is_NullImporter = True
|
| 285 |
+
if isinstance(importer, type(None)) or is_NullImporter:
|
| 286 |
+
# Not a valid sys.path entry, so run the code directly
|
| 287 |
+
# execfile() doesn't help as we want to allow compiled files
|
| 288 |
+
code, fname = _get_code_from_file(run_name, path_name)
|
| 289 |
+
return _run_module_code(code, init_globals, run_name,
|
| 290 |
+
pkg_name=pkg_name, script_name=fname)
|
| 291 |
+
else:
|
| 292 |
+
# Finder is defined for path, so add it to
|
| 293 |
+
# the start of sys.path
|
| 294 |
+
sys.path.insert(0, path_name)
|
| 295 |
+
try:
|
| 296 |
+
# Here's where things are a little different from the run_module
|
| 297 |
+
# case. There, we only had to replace the module in sys while the
|
| 298 |
+
# code was running and doing so was somewhat optional. Here, we
|
| 299 |
+
# have no choice and we have to remove it even while we read the
|
| 300 |
+
# code. If we don't do this, a __loader__ attribute in the
|
| 301 |
+
# existing __main__ module may prevent location of the new module.
|
| 302 |
+
mod_name, mod_spec, code = _get_main_module_details()
|
| 303 |
+
with _TempModule(run_name) as temp_module, \
|
| 304 |
+
_ModifiedArgv0(path_name):
|
| 305 |
+
mod_globals = temp_module.module.__dict__
|
| 306 |
+
return _run_code(code, mod_globals, init_globals,
|
| 307 |
+
run_name, mod_spec, pkg_name).copy()
|
| 308 |
+
finally:
|
| 309 |
+
try:
|
| 310 |
+
sys.path.remove(path_name)
|
| 311 |
+
except ValueError:
|
| 312 |
+
pass
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
if __name__ == "__main__":
|
| 316 |
+
# Run the module specified as the next command line argument
|
| 317 |
+
if len(sys.argv) < 2:
|
| 318 |
+
print("No module specified for execution", file=sys.stderr)
|
| 319 |
+
else:
|
| 320 |
+
del sys.argv[0] # Make the requested module sys.argv[0]
|
| 321 |
+
_run_module_as_main(sys.argv[0])
|
deepseek/lib/python3.10/this.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
s = """Gur Mra bs Clguba, ol Gvz Crgref
|
| 2 |
+
|
| 3 |
+
Ornhgvshy vf orggre guna htyl.
|
| 4 |
+
Rkcyvpvg vf orggre guna vzcyvpvg.
|
| 5 |
+
Fvzcyr vf orggre guna pbzcyrk.
|
| 6 |
+
Pbzcyrk vf orggre guna pbzcyvpngrq.
|
| 7 |
+
Syng vf orggre guna arfgrq.
|
| 8 |
+
Fcnefr vf orggre guna qrafr.
|
| 9 |
+
Ernqnovyvgl pbhagf.
|
| 10 |
+
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
|
| 11 |
+
Nygubhtu cenpgvpnyvgl orngf chevgl.
|
| 12 |
+
Reebef fubhyq arire cnff fvyragyl.
|
| 13 |
+
Hayrff rkcyvpvgyl fvyraprq.
|
| 14 |
+
Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff.
|
| 15 |
+
Gurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg.
|
| 16 |
+
Nygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu.
|
| 17 |
+
Abj vf orggre guna arire.
|
| 18 |
+
Nygubhtu arire vf bsgra orggre guna *evtug* abj.
|
| 19 |
+
Vs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn.
|
| 20 |
+
Vs gur vzcyrzragngvba vf rnfl gb rkcynva, vg znl or n tbbq vqrn.
|
| 21 |
+
Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!"""
|
| 22 |
+
|
| 23 |
+
d = {}
|
| 24 |
+
for c in (65, 97):
|
| 25 |
+
for i in range(26):
|
| 26 |
+
d[chr(i+c)] = chr((i+13) % 26 + c)
|
| 27 |
+
|
| 28 |
+
print("".join([d.get(c, c) for c in s]))
|
deepseek/lib/tcl8.6/encoding/gb2312.enc
ADDED
|
@@ -0,0 +1,1397 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Encoding file: euc-cn, multi-byte
|
| 2 |
+
M
|
| 3 |
+
003F 0 82
|
| 4 |
+
00
|
| 5 |
+
0000000100020003000400050006000700080009000A000B000C000D000E000F
|
| 6 |
+
0010001100120013001400150016001700180019001A001B001C001D001E001F
|
| 7 |
+
0020002100220023002400250026002700280029002A002B002C002D002E002F
|
| 8 |
+
0030003100320033003400350036003700380039003A003B003C003D003E003F
|
| 9 |
+
0040004100420043004400450046004700480049004A004B004C004D004E004F
|
| 10 |
+
0050005100520053005400550056005700580059005A005B005C005D005E005F
|
| 11 |
+
0060006100620063006400650066006700680069006A006B006C006D006E006F
|
| 12 |
+
0070007100720073007400750076007700780079007A007B007C007D007E007F
|
| 13 |
+
0080008100820083008400850086008700880089008A008B008C008D008E008F
|
| 14 |
+
0090009100920093009400950096009700980099009A009B009C009D009E009F
|
| 15 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 16 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 17 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 18 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 19 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 20 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 21 |
+
A1
|
| 22 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 23 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 24 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 25 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 26 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 27 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 28 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 29 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 30 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 31 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 32 |
+
000030003001300230FB02C902C700A8300330052015FF5E2225202620182019
|
| 33 |
+
201C201D3014301530083009300A300B300C300D300E300F3016301730103011
|
| 34 |
+
00B100D700F72236222722282211220F222A222922082237221A22A522252220
|
| 35 |
+
23122299222B222E2261224C2248223D221D2260226E226F22642265221E2235
|
| 36 |
+
22342642264000B0203220332103FF0400A4FFE0FFE1203000A7211626062605
|
| 37 |
+
25CB25CF25CE25C725C625A125A025B325B2203B219221902191219330130000
|
| 38 |
+
A2
|
| 39 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 40 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 41 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 42 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 43 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 44 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 45 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 46 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 47 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 48 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 49 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 50 |
+
000024882489248A248B248C248D248E248F2490249124922493249424952496
|
| 51 |
+
249724982499249A249B247424752476247724782479247A247B247C247D247E
|
| 52 |
+
247F248024812482248324842485248624872460246124622463246424652466
|
| 53 |
+
2467246824690000000032203221322232233224322532263227322832290000
|
| 54 |
+
00002160216121622163216421652166216721682169216A216B000000000000
|
| 55 |
+
A3
|
| 56 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 57 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 58 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 59 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 60 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 61 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 62 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 63 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 64 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 65 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 66 |
+
0000FF01FF02FF03FFE5FF05FF06FF07FF08FF09FF0AFF0BFF0CFF0DFF0EFF0F
|
| 67 |
+
FF10FF11FF12FF13FF14FF15FF16FF17FF18FF19FF1AFF1BFF1CFF1DFF1EFF1F
|
| 68 |
+
FF20FF21FF22FF23FF24FF25FF26FF27FF28FF29FF2AFF2BFF2CFF2DFF2EFF2F
|
| 69 |
+
FF30FF31FF32FF33FF34FF35FF36FF37FF38FF39FF3AFF3BFF3CFF3DFF3EFF3F
|
| 70 |
+
FF40FF41FF42FF43FF44FF45FF46FF47FF48FF49FF4AFF4BFF4CFF4DFF4EFF4F
|
| 71 |
+
FF50FF51FF52FF53FF54FF55FF56FF57FF58FF59FF5AFF5BFF5CFF5DFFE30000
|
| 72 |
+
A4
|
| 73 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 74 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 75 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 76 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 77 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 78 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 79 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 80 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 81 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 82 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 83 |
+
0000304130423043304430453046304730483049304A304B304C304D304E304F
|
| 84 |
+
3050305130523053305430553056305730583059305A305B305C305D305E305F
|
| 85 |
+
3060306130623063306430653066306730683069306A306B306C306D306E306F
|
| 86 |
+
3070307130723073307430753076307730783079307A307B307C307D307E307F
|
| 87 |
+
3080308130823083308430853086308730883089308A308B308C308D308E308F
|
| 88 |
+
3090309130923093000000000000000000000000000000000000000000000000
|
| 89 |
+
A5
|
| 90 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 91 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 92 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 93 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 94 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 95 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 96 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 97 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 98 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 99 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 100 |
+
000030A130A230A330A430A530A630A730A830A930AA30AB30AC30AD30AE30AF
|
| 101 |
+
30B030B130B230B330B430B530B630B730B830B930BA30BB30BC30BD30BE30BF
|
| 102 |
+
30C030C130C230C330C430C530C630C730C830C930CA30CB30CC30CD30CE30CF
|
| 103 |
+
30D030D130D230D330D430D530D630D730D830D930DA30DB30DC30DD30DE30DF
|
| 104 |
+
30E030E130E230E330E430E530E630E730E830E930EA30EB30EC30ED30EE30EF
|
| 105 |
+
30F030F130F230F330F430F530F6000000000000000000000000000000000000
|
| 106 |
+
A6
|
| 107 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 108 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 109 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 110 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 111 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 112 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 113 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 114 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 115 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 116 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 117 |
+
0000039103920393039403950396039703980399039A039B039C039D039E039F
|
| 118 |
+
03A003A103A303A403A503A603A703A803A90000000000000000000000000000
|
| 119 |
+
000003B103B203B303B403B503B603B703B803B903BA03BB03BC03BD03BE03BF
|
| 120 |
+
03C003C103C303C403C503C603C703C803C90000000000000000000000000000
|
| 121 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 122 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 123 |
+
A7
|
| 124 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 125 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 126 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 127 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 128 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 129 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 130 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 131 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 132 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 133 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 134 |
+
000004100411041204130414041504010416041704180419041A041B041C041D
|
| 135 |
+
041E041F0420042104220423042404250426042704280429042A042B042C042D
|
| 136 |
+
042E042F00000000000000000000000000000000000000000000000000000000
|
| 137 |
+
000004300431043204330434043504510436043704380439043A043B043C043D
|
| 138 |
+
043E043F0440044104420443044404450446044704480449044A044B044C044D
|
| 139 |
+
044E044F00000000000000000000000000000000000000000000000000000000
|
| 140 |
+
A8
|
| 141 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 142 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 143 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 144 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 145 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 146 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 147 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 148 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 149 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 150 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 151 |
+
0000010100E101CE00E0011300E9011B00E8012B00ED01D000EC014D00F301D2
|
| 152 |
+
00F2016B00FA01D400F901D601D801DA01DC00FC00EA00000000000000000000
|
| 153 |
+
0000000000000000000031053106310731083109310A310B310C310D310E310F
|
| 154 |
+
3110311131123113311431153116311731183119311A311B311C311D311E311F
|
| 155 |
+
3120312131223123312431253126312731283129000000000000000000000000
|
| 156 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 157 |
+
A9
|
| 158 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 159 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 160 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 161 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 162 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 163 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 164 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 165 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 166 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 167 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 168 |
+
00000000000000002500250125022503250425052506250725082509250A250B
|
| 169 |
+
250C250D250E250F2510251125122513251425152516251725182519251A251B
|
| 170 |
+
251C251D251E251F2520252125222523252425252526252725282529252A252B
|
| 171 |
+
252C252D252E252F2530253125322533253425352536253725382539253A253B
|
| 172 |
+
253C253D253E253F2540254125422543254425452546254725482549254A254B
|
| 173 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 174 |
+
B0
|
| 175 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 176 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 177 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 178 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 179 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 180 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 181 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 182 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 183 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 184 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 185 |
+
0000554A963F57C3632854CE550954C07691764C853C77EE827E788D72319698
|
| 186 |
+
978D6C285B894FFA630966975CB880FA684880AE660276CE51F9655671AC7FF1
|
| 187 |
+
888450B2596561CA6FB382AD634C625253ED54277B06516B75A45DF462D48DCB
|
| 188 |
+
9776628A8019575D97387F627238767D67CF767E64464F708D2562DC7A176591
|
| 189 |
+
73ED642C6273822C9881677F7248626E62CC4F3474E3534A529E7ECA90A65E2E
|
| 190 |
+
6886699C81807ED168D278C5868C9551508D8C2482DE80DE5305891252650000
|
| 191 |
+
B1
|
| 192 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 193 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 194 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 195 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 196 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 197 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 198 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 199 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 200 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 201 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 202 |
+
0000858496F94FDD582199715B9D62B162A566B48C799C8D7206676F789160B2
|
| 203 |
+
535153178F8880CC8D1D94A1500D72C8590760EB711988AB595482EF672C7B28
|
| 204 |
+
5D297EF7752D6CF58E668FF8903C9F3B6BD491197B145F7C78A784D6853D6BD5
|
| 205 |
+
6BD96BD65E015E8775F995ED655D5F0A5FC58F9F58C181C2907F965B97AD8FB9
|
| 206 |
+
7F168D2C62414FBF53D8535E8FA88FA98FAB904D68075F6A819888689CD6618B
|
| 207 |
+
522B762A5F6C658C6FD26EE85BBE6448517551B067C44E1979C9997C70B30000
|
| 208 |
+
B2
|
| 209 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 210 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 211 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 212 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 213 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 214 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 215 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 216 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 217 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 218 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 219 |
+
000075C55E7673BB83E064AD62E894B56CE2535A52C3640F94C27B944F2F5E1B
|
| 220 |
+
82368116818A6E246CCA9A736355535C54FA886557E04E0D5E036B657C3F90E8
|
| 221 |
+
601664E6731C88C16750624D8D22776C8E2991C75F6983DC8521991053C28695
|
| 222 |
+
6B8B60ED60E8707F82CD82314ED36CA785CF64CD7CD969FD66F9834953957B56
|
| 223 |
+
4FA7518C6D4B5C428E6D63D253C9832C833667E578B4643D5BDF5C945DEE8BE7
|
| 224 |
+
62C667F48C7A640063BA8749998B8C177F2094F24EA7961098A4660C73160000
|
| 225 |
+
B3
|
| 226 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 227 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 228 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 229 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 230 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 231 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 232 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 233 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 234 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 235 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 236 |
+
0000573A5C1D5E38957F507F80A05382655E7545553150218D856284949E671D
|
| 237 |
+
56326F6E5DE2543570928F66626F64A463A35F7B6F8890F481E38FB05C186668
|
| 238 |
+
5FF16C8996488D81886C649179F057CE6A59621054484E587A0B60E96F848BDA
|
| 239 |
+
627F901E9A8B79E4540375F4630153196C608FDF5F1B9A70803B9F7F4F885C3A
|
| 240 |
+
8D647FC565A570BD514551B2866B5D075BA062BD916C75748E0C7A2061017B79
|
| 241 |
+
4EC77EF877854E1181ED521D51FA6A7153A88E87950496CF6EC19664695A0000
|
| 242 |
+
B4
|
| 243 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 244 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 245 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 246 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 247 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 248 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 249 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 250 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 251 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 252 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 253 |
+
0000784050A877D7641089E6590463E35DDD7A7F693D4F20823955984E3275AE
|
| 254 |
+
7A975E625E8A95EF521B5439708A6376952457826625693F918755076DF37EAF
|
| 255 |
+
882262337EF075B5832878C196CC8F9E614874F78BCD6B64523A8D506B21806A
|
| 256 |
+
847156F153064ECE4E1B51D17C97918B7C074FC38E7F7BE17A9C64675D1450AC
|
| 257 |
+
810676017CB96DEC7FE067515B585BF878CB64AE641363AA632B9519642D8FBE
|
| 258 |
+
7B5476296253592754466B7950A362345E266B864EE38D37888B5F85902E0000
|
| 259 |
+
B5
|
| 260 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 261 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 262 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 263 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 264 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 265 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 266 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 267 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 268 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 269 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 270 |
+
00006020803D62C54E39535590F863B880C665E66C2E4F4660EE6DE18BDE5F39
|
| 271 |
+
86CB5F536321515A83616863520063638E4850125C9B79775BFC52307A3B60BC
|
| 272 |
+
905376D75FB75F9776848E6C706F767B7B4977AA51F3909358244F4E6EF48FEA
|
| 273 |
+
654C7B1B72C46DA47FDF5AE162B55E95573084827B2C5E1D5F1F90127F1498A0
|
| 274 |
+
63826EC7789870B95178975B57AB75354F4375385E9760E659606DC06BBF7889
|
| 275 |
+
53FC96D551CB52016389540A94938C038DCC7239789F87768FED8C0D53E00000
|
| 276 |
+
B6
|
| 277 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 278 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 279 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 280 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 281 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 282 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 283 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 284 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 285 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 286 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 287 |
+
00004E0176EF53EE948998769F0E952D5B9A8BA24E224E1C51AC846361C252A8
|
| 288 |
+
680B4F97606B51BB6D1E515C6296659796618C46901775D890FD77636BD2728A
|
| 289 |
+
72EC8BFB583577798D4C675C9540809A5EA66E2159927AEF77ED953B6BB565AD
|
| 290 |
+
7F0E58065151961F5BF958A954288E726566987F56E4949D76FE9041638754C6
|
| 291 |
+
591A593A579B8EB267358DFA8235524160F0581586FE5CE89E454FC4989D8BB9
|
| 292 |
+
5A2560765384627C904F9102997F6069800C513F80335C1499756D314E8C0000
|
| 293 |
+
B7
|
| 294 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 295 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 296 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 297 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 298 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 299 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 300 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 301 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 302 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 303 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 304 |
+
00008D3053D17F5A7B4F4F104E4F96006CD573D085E95E06756A7FFB6A0A77FE
|
| 305 |
+
94927E4151E170E653CD8FD483038D2972AF996D6CDB574A82B365B980AA623F
|
| 306 |
+
963259A84EFF8BBF7EBA653E83F2975E556198DE80A5532A8BFD542080BA5E9F
|
| 307 |
+
6CB88D3982AC915A54296C1B52067EB7575F711A6C7E7C89594B4EFD5FFF6124
|
| 308 |
+
7CAA4E305C0167AB87025CF0950B98CE75AF70FD902251AF7F1D8BBD594951E4
|
| 309 |
+
4F5B5426592B657780A45B75627662C28F905E456C1F7B264F0F4FD8670D0000
|
| 310 |
+
B8
|
| 311 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 312 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 313 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 314 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 315 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 316 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 317 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 318 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 319 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 320 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 321 |
+
00006D6E6DAA798F88B15F17752B629A8F854FEF91DC65A7812F81515E9C8150
|
| 322 |
+
8D74526F89868D4B590D50854ED8961C723681798D1F5BCC8BA3964459877F1A
|
| 323 |
+
54905676560E8BE565396982949976D66E895E727518674667D17AFF809D8D76
|
| 324 |
+
611F79C665628D635188521A94A27F38809B7EB25C976E2F67607BD9768B9AD8
|
| 325 |
+
818F7F947CD5641E95507A3F544A54E56B4C640162089E3D80F3759952729769
|
| 326 |
+
845B683C86E49601969494EC4E2A54047ED968398DDF801566F45E9A7FB90000
|
| 327 |
+
B9
|
| 328 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 329 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 330 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 331 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 332 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 333 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 334 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 335 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 336 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 337 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 338 |
+
000057C2803F68975DE5653B529F606D9F9A4F9B8EAC516C5BAB5F135DE96C5E
|
| 339 |
+
62F18D21517194A952FE6C9F82DF72D757A267848D2D591F8F9C83C754957B8D
|
| 340 |
+
4F306CBD5B6459D19F1353E486CA9AA88C3780A16545987E56FA96C7522E74DC
|
| 341 |
+
52505BE1630289024E5662D0602A68FA51735B9851A089C27BA199867F5060EF
|
| 342 |
+
704C8D2F51495E7F901B747089C4572D78455F529F9F95FA8F689B3C8BE17678
|
| 343 |
+
684267DC8DEA8D35523D8F8A6EDA68CD950590ED56FD679C88F98FC754C80000
|
| 344 |
+
BA
|
| 345 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 346 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 347 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 348 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 349 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 350 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 351 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 352 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 353 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 354 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 355 |
+
00009AB85B696D776C264EA55BB39A87916361A890AF97E9542B6DB55BD251FD
|
| 356 |
+
558A7F557FF064BC634D65F161BE608D710A6C576C49592F676D822A58D5568E
|
| 357 |
+
8C6A6BEB90DD597D801753F76D695475559D837783CF683879BE548C4F555408
|
| 358 |
+
76D28C8996026CB36DB88D6B89109E648D3A563F9ED175D55F8872E0606854FC
|
| 359 |
+
4EA86A2A886160528F7054C470D886799E3F6D2A5B8F5F187EA255894FAF7334
|
| 360 |
+
543C539A5019540E547C4E4E5FFD745A58F6846B80E1877472D07CCA6E560000
|
| 361 |
+
BB
|
| 362 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 363 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 364 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 365 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 366 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 367 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 368 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 369 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 370 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 371 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 372 |
+
00005F27864E552C62A44E926CAA623782B154D7534E733E6ED1753B52125316
|
| 373 |
+
8BDD69D05F8A60006DEE574F6B2273AF68538FD87F13636260A3552475EA8C62
|
| 374 |
+
71156DA35BA65E7B8352614C9EC478FA87577C27768751F060F6714C66435E4C
|
| 375 |
+
604D8C0E707063258F895FBD606286D456DE6BC160946167534960E066668D3F
|
| 376 |
+
79FD4F1A70E96C478BB38BF27ED88364660F5A5A9B426D516DF78C416D3B4F19
|
| 377 |
+
706B83B7621660D1970D8D27797851FB573E57FA673A75787A3D79EF7B950000
|
| 378 |
+
BC
|
| 379 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 380 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 381 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 382 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 383 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 384 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 385 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 386 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 387 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 388 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 389 |
+
0000808C99658FF96FC08BA59E2159EC7EE97F095409678168D88F917C4D96C6
|
| 390 |
+
53CA602575BE6C7253735AC97EA7632451E0810A5DF184DF628051805B634F0E
|
| 391 |
+
796D524260B86D4E5BC45BC28BA18BB065E25FCC964559937EE77EAA560967B7
|
| 392 |
+
59394F735BB652A0835A988A8D3E753294BE50477A3C4EF767B69A7E5AC16B7C
|
| 393 |
+
76D1575A5C167B3A95F4714E517C80A9827059787F04832768C067EC78B17877
|
| 394 |
+
62E363617B804FED526A51CF835069DB92748DF58D3189C1952E7BAD4EF60000
|
| 395 |
+
BD
|
| 396 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 397 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 398 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 399 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 400 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 401 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 402 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 403 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 404 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 405 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 406 |
+
0000506582305251996F6E106E856DA75EFA50F559DC5C066D466C5F7586848B
|
| 407 |
+
686859568BB253209171964D854969127901712680F64EA490CA6D479A845A07
|
| 408 |
+
56BC640594F077EB4FA5811A72E189D2997A7F347EDE527F655991758F7F8F83
|
| 409 |
+
53EB7A9663ED63A5768679F888579636622A52AB8282685467706377776B7AED
|
| 410 |
+
6D017ED389E359D0621285C982A5754C501F4ECB75A58BEB5C4A5DFE7B4B65A4
|
| 411 |
+
91D14ECA6D25895F7D2795264EC58C288FDB9773664B79818FD170EC6D780000
|
| 412 |
+
BE
|
| 413 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 414 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 415 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 416 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 417 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 418 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 419 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 420 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 421 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 422 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 423 |
+
00005C3D52B283465162830E775B66769CB84EAC60CA7CBE7CB37ECF4E958B66
|
| 424 |
+
666F988897595883656C955C5F8475C997567ADF7ADE51C070AF7A9863EA7A76
|
| 425 |
+
7EA0739697ED4E4570784E5D915253A9655165E781FC8205548E5C31759A97A0
|
| 426 |
+
62D872D975BD5C459A7983CA5C40548077E94E3E6CAE805A62D2636E5DE85177
|
| 427 |
+
8DDD8E1E952F4FF153E560E770AC526763509E435A1F5026773753777EE26485
|
| 428 |
+
652B628963985014723589C951B38BC07EDD574783CC94A7519B541B5CFB0000
|
| 429 |
+
BF
|
| 430 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 431 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 432 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 433 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 434 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 435 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 436 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 437 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 438 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 439 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 440 |
+
00004FCA7AE36D5A90E19A8F55805496536154AF5F0063E9697751EF6168520A
|
| 441 |
+
582A52D8574E780D770B5EB761777CE0625B62974EA27095800362F770E49760
|
| 442 |
+
577782DB67EF68F578D5989779D158F354B353EF6E34514B523B5BA28BFE80AF
|
| 443 |
+
554357A660735751542D7A7A60505B5463A762A053E362635BC767AF54ED7A9F
|
| 444 |
+
82E691775E9388E4593857AE630E8DE880EF57577B774FA95FEB5BBD6B3E5321
|
| 445 |
+
7B5072C2684677FF773665F751B54E8F76D45CBF7AA58475594E9B4150800000
|
| 446 |
+
C0
|
| 447 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 448 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 449 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 450 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 451 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 452 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 453 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 454 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 455 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 456 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 457 |
+
0000998861276E8357646606634656F062EC62695ED39614578362C955878721
|
| 458 |
+
814A8FA3556683B167658D5684DD5A6A680F62E67BEE961151706F9C8C3063FD
|
| 459 |
+
89C861D27F0670C26EE57405699472FC5ECA90CE67176D6A635E52B372628001
|
| 460 |
+
4F6C59E5916A70D96D9D52D24E5096F7956D857E78CA7D2F5121579264C2808B
|
| 461 |
+
7C7B6CEA68F1695E51B7539868A872819ECE7BF172F879BB6F137406674E91CC
|
| 462 |
+
9CA4793C83898354540F68174E3D538952B1783E5386522950884F8B4FD00000
|
| 463 |
+
C1
|
| 464 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 465 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 466 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 467 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 468 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 469 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 470 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 471 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 472 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 473 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 474 |
+
000075E27ACB7C926CA596B6529B748354E94FE9805483B28FDE95705EC9601C
|
| 475 |
+
6D9F5E18655B813894FE604B70BC7EC37CAE51C968817CB1826F4E248F8691CF
|
| 476 |
+
667E4EAE8C0564A9804A50DA759771CE5BE58FBD6F664E86648295635ED66599
|
| 477 |
+
521788C270C852A3730E7433679778F797164E3490BB9CDE6DCB51DB8D41541D
|
| 478 |
+
62CE73B283F196F69F8494C34F367F9A51CC707596755CAD988653E64EE46E9C
|
| 479 |
+
740969B4786B998F7559521876246D4167F3516D9F99804B54997B3C7ABF0000
|
| 480 |
+
C2
|
| 481 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 482 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 483 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 484 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 485 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 486 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 487 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 488 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 489 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 490 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 491 |
+
00009686578462E29647697C5A0464027BD36F0F964B82A6536298855E907089
|
| 492 |
+
63B35364864F9C819E93788C97328DEF8D429E7F6F5E79845F559646622E9A74
|
| 493 |
+
541594DD4FA365C55C655C617F1586516C2F5F8B73876EE47EFF5CE6631B5B6A
|
| 494 |
+
6EE653754E7163A0756562A18F6E4F264ED16CA67EB68BBA841D87BA7F57903B
|
| 495 |
+
95237BA99AA188F8843D6D1B9A867EDC59889EBB739B780186829A6C9A82561B
|
| 496 |
+
541757CB4E709EA653568FC881097792999286EE6EE1851366FC61626F2B0000
|
| 497 |
+
C3
|
| 498 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 499 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 500 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 501 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 502 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 503 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 504 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 505 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 506 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 507 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 508 |
+
00008C298292832B76F26C135FD983BD732B8305951A6BDB77DB94C6536F8302
|
| 509 |
+
51925E3D8C8C8D384E4873AB679A68859176970971646CA177095A9295416BCF
|
| 510 |
+
7F8E66275BD059B95A9A95E895F74EEC840C84996AAC76DF9530731B68A65B5F
|
| 511 |
+
772F919A97617CDC8FF78C1C5F257C7379D889C56CCC871C5BC65E4268C97720
|
| 512 |
+
7EF55195514D52C95A297F05976282D763CF778485D079D26E3A5E9959998511
|
| 513 |
+
706D6C1162BF76BF654F60AF95FD660E879F9E2394ED540D547D8C2C64780000
|
| 514 |
+
C4
|
| 515 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 516 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 517 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 518 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 519 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 520 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 521 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 522 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 523 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 524 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 525 |
+
0000647986116A21819C78E864699B5462B9672B83AB58A89ED86CAB6F205BDE
|
| 526 |
+
964C8C0B725F67D062C772614EA959C66BCD589366AE5E5552DF6155672876EE
|
| 527 |
+
776672677A4662FF54EA545094A090A35A1C7EB36C164E435976801059485357
|
| 528 |
+
753796BE56CA63208111607C95F96DD65462998151855AE980FD59AE9713502A
|
| 529 |
+
6CE55C3C62DF4F60533F817B90066EBA852B62C85E7478BE64B5637B5FF55A18
|
| 530 |
+
917F9E1F5C3F634F80425B7D556E954A954D6D8560A867E072DE51DD5B810000
|
| 531 |
+
C5
|
| 532 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 533 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 534 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 535 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 536 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 537 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 538 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 539 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 540 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 541 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 542 |
+
000062E76CDE725B626D94AE7EBD81136D53519C5F04597452AA601259736696
|
| 543 |
+
8650759F632A61E67CEF8BFA54E66B279E256BB485D5545550766CA4556A8DB4
|
| 544 |
+
722C5E156015743662CD6392724C5F986E436D3E65006F5876D878D076FC7554
|
| 545 |
+
522453DB4E535E9E65C1802A80D6629B5486522870AE888D8DD16CE1547880DA
|
| 546 |
+
57F988F48D54966A914D4F696C9B55B776C6783062A870F96F8E5F6D84EC68DA
|
| 547 |
+
787C7BF781A8670B9E4F636778B0576F78129739627962AB528874356BD70000
|
| 548 |
+
C6
|
| 549 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 550 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 551 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 552 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 553 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 554 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 555 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 556 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 557 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 558 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 559 |
+
00005564813E75B276AE533975DE50FB5C418B6C7BC7504F72479A9798D86F02
|
| 560 |
+
74E27968648777A562FC98918D2B54C180584E52576A82F9840D5E7351ED74F6
|
| 561 |
+
8BC45C4F57616CFC98875A4678349B448FEB7C955256625194FA4EC683868461
|
| 562 |
+
83E984B257D467345703666E6D668C3166DD7011671F6B3A6816621A59BB4E03
|
| 563 |
+
51C46F0667D26C8F517668CB59476B6775665D0E81109F5065D7794879419A91
|
| 564 |
+
8D775C824E5E4F01542F5951780C56686C148FC45F036C7D6CE38BAB63900000
|
| 565 |
+
C7
|
| 566 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 567 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 568 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 569 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 570 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 571 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 572 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 573 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 574 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 575 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 576 |
+
000060706D3D72756266948E94C553438FC17B7E4EDF8C264E7E9ED494B194B3
|
| 577 |
+
524D6F5C90636D458C3458115D4C6B206B4967AA545B81547F8C589985375F3A
|
| 578 |
+
62A26A47953965726084686577A74E544FA85DE7979864AC7FD85CED4FCF7A8D
|
| 579 |
+
520783044E14602F7A8394A64FB54EB279E6743452E482B964D279BD5BDD6C81
|
| 580 |
+
97528F7B6C22503E537F6E0564CE66746C3060C598778BF75E86743C7A7779CB
|
| 581 |
+
4E1890B174036C4256DA914B6CC58D8B533A86C666F28EAF5C489A716E200000
|
| 582 |
+
C8
|
| 583 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 584 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 585 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 586 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 587 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 588 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 589 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 590 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 591 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 592 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 593 |
+
000053D65A369F8B8DA353BB570898A76743919B6CC9516875CA62F372AC5238
|
| 594 |
+
529D7F3A7094763853749E4A69B7786E96C088D97FA4713671C3518967D374E4
|
| 595 |
+
58E4651856B78BA9997662707ED560F970ED58EC4EC14EBA5FCD97E74EFB8BA4
|
| 596 |
+
5203598A7EAB62544ECD65E5620E833884C98363878D71946EB65BB97ED25197
|
| 597 |
+
63C967D480898339881551125B7A59828FB14E736C5D516589258F6F962E854A
|
| 598 |
+
745E951095F06DA682E55F3164926D128428816E9CC3585E8D5B4E0953C10000
|
| 599 |
+
C9
|
| 600 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 601 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 602 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 603 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 604 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 605 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 606 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 607 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 608 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 609 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 610 |
+
00004F1E6563685155D34E2764149A9A626B5AC2745F82726DA968EE50E7838E
|
| 611 |
+
7802674052396C997EB150BB5565715E7B5B665273CA82EB67495C715220717D
|
| 612 |
+
886B95EA965564C58D6181B355846C5562477F2E58924F2455468D4F664C4E0A
|
| 613 |
+
5C1A88F368A2634E7A0D70E7828D52FA97F65C1154E890B57ECD59628D4A86C7
|
| 614 |
+
820C820D8D6664445C0461516D89793E8BBE78377533547B4F388EAB6DF15A20
|
| 615 |
+
7EC5795E6C885BA15A76751A80BE614E6E1758F0751F7525727253477EF30000
|
| 616 |
+
CA
|
| 617 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 618 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 619 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 620 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 621 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 622 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 623 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 624 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 625 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 626 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 627 |
+
0000770176DB526980DC57235E08593172EE65BD6E7F8BD75C388671534177F3
|
| 628 |
+
62FE65F64EC098DF86805B9E8BC653F277E24F7F5C4E9A7659CB5F0F793A58EB
|
| 629 |
+
4E1667FF4E8B62ED8A93901D52BF662F55DC566C90024ED54F8D91CA99706C0F
|
| 630 |
+
5E0260435BA489C68BD56536624B99965B885BFF6388552E53D77626517D852C
|
| 631 |
+
67A268B36B8A62928F9353D482126DD1758F4E668D4E5B70719F85AF669166D9
|
| 632 |
+
7F7287009ECD9F205C5E672F8FF06811675F620D7AD658855EB665706F310000
|
| 633 |
+
CB
|
| 634 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 635 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 636 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 637 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 638 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 639 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 640 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 641 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 642 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 643 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 644 |
+
000060555237800D6454887075295E05681362F4971C53CC723D8C016C347761
|
| 645 |
+
7A0E542E77AC987A821C8BF47855671470C165AF64955636601D79C153F84E1D
|
| 646 |
+
6B7B80865BFA55E356DB4F3A4F3C99725DF3677E80386002988290015B8B8BBC
|
| 647 |
+
8BF5641C825864DE55FD82CF91654FD77D20901F7C9F50F358516EAF5BBF8BC9
|
| 648 |
+
80839178849C7B97867D968B968F7EE59AD3788E5C817A57904296A7795F5B59
|
| 649 |
+
635F7B0B84D168AD55067F2974107D2295016240584C4ED65B83597958540000
|
| 650 |
+
CC
|
| 651 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 652 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 653 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 654 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 655 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 656 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 657 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 658 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 659 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 660 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 661 |
+
0000736D631E8E4B8E0F80CE82D462AC53F06CF0915E592A60016C70574D644A
|
| 662 |
+
8D2A762B6EE9575B6A8075F06F6D8C2D8C0857666BEF889278B363A253F970AD
|
| 663 |
+
6C645858642A580268E0819B55107CD650188EBA6DCC8D9F70EB638F6D9B6ED4
|
| 664 |
+
7EE68404684390036DD896768BA85957727985E4817E75BC8A8A68AF52548E22
|
| 665 |
+
951163D098988E44557C4F5366FF568F60D56D9552435C4959296DFB586B7530
|
| 666 |
+
751C606C82148146631167618FE2773A8DF38D3494C15E165385542C70C30000
|
| 667 |
+
CD
|
| 668 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 669 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 670 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 671 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 672 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 673 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 674 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 675 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 676 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 677 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 678 |
+
00006C405EF7505C4EAD5EAD633A8247901A6850916E77B3540C94DC5F647AE5
|
| 679 |
+
687663457B527EDF75DB507762955934900F51F879C37A8156FE5F9290146D82
|
| 680 |
+
5C60571F541051546E4D56E263A89893817F8715892A9000541E5C6F81C062D6
|
| 681 |
+
625881319E3596409A6E9A7C692D59A562D3553E631654C786D96D3C5A0374E6
|
| 682 |
+
889C6B6A59168C4C5F2F6E7E73A9987D4E3870F75B8C7897633D665A769660CB
|
| 683 |
+
5B9B5A494E0781556C6A738B4EA167897F515F8065FA671B5FD859845A010000
|
| 684 |
+
CE
|
| 685 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 686 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 687 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 688 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 689 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 690 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 691 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 692 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 693 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 694 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 695 |
+
00005DCD5FAE537197E68FDD684556F4552F60DF4E3A6F4D7EF482C7840E59D4
|
| 696 |
+
4F1F4F2A5C3E7EAC672A851A5473754F80C355829B4F4F4D6E2D8C135C096170
|
| 697 |
+
536B761F6E29868A658795FB7EB9543B7A337D0A95EE55E17FC174EE631D8717
|
| 698 |
+
6DA17A9D621165A1536763E16C835DEB545C94A84E4C6C618BEC5C4B65E0829C
|
| 699 |
+
68A7543E54346BCB6B664E9463425348821E4F0D4FAE575E620A96FE66647269
|
| 700 |
+
52FF52A1609F8BEF661471996790897F785277FD6670563B54389521727A0000
|
| 701 |
+
CF
|
| 702 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 703 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 704 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 705 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 706 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 707 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 708 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 709 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 710 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 711 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 712 |
+
00007A00606F5E0C6089819D591560DC718470EF6EAA6C5072806A8488AD5E2D
|
| 713 |
+
4E605AB3559C94E36D177CFB9699620F7EC6778E867E5323971E8F9666875CE1
|
| 714 |
+
4FA072ED4E0B53A6590F54136380952851484ED99C9C7EA454B88D2488548237
|
| 715 |
+
95F26D8E5F265ACC663E966973B0732E53BF817A99857FA15BAA967796507EBF
|
| 716 |
+
76F853A2957699997BB189446E584E617FD479658BE660F354CD4EAB98795DF7
|
| 717 |
+
6A6150CF54118C618427785D9704524A54EE56A395006D885BB56DC666530000
|
| 718 |
+
D0
|
| 719 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 720 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 721 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 722 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 723 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 724 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 725 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 726 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 727 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 728 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 729 |
+
00005C0F5B5D6821809655787B11654869544E9B6B47874E978B534F631F643A
|
| 730 |
+
90AA659C80C18C10519968B0537887F961C86CC46CFB8C225C5185AA82AF950C
|
| 731 |
+
6B238F9B65B05FFB5FC34FE18845661F8165732960FA51745211578B5F6290A2
|
| 732 |
+
884C91925E78674F602759D3514451F680F853086C7996C4718A4F114FEE7F9E
|
| 733 |
+
673D55C5950879C088967EE3589F620C9700865A5618987B5F908BB884C49157
|
| 734 |
+
53D965ED5E8F755C60647D6E5A7F7EEA7EED8F6955A75BA360AC65CB73840000
|
| 735 |
+
D1
|
| 736 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 737 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 738 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 739 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 740 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 741 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 742 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 743 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 744 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 745 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 746 |
+
00009009766377297EDA9774859B5B667A7496EA884052CB718F5FAA65EC8BE2
|
| 747 |
+
5BFB9A6F5DE16B896C5B8BAD8BAF900A8FC5538B62BC9E269E2D54404E2B82BD
|
| 748 |
+
7259869C5D1688596DAF96C554D14E9A8BB6710954BD960970DF6DF976D04E25
|
| 749 |
+
781487125CA95EF68A00989C960E708E6CBF594463A9773C884D6F1482735830
|
| 750 |
+
71D5538C781A96C155015F6671305BB48C1A9A8C6B83592E9E2F79E76768626C
|
| 751 |
+
4F6F75A17F8A6D0B96336C274EF075D2517B68376F3E90808170599674760000
|
| 752 |
+
D2
|
| 753 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 754 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 755 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 756 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 757 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 758 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 759 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 760 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 761 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 762 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 763 |
+
000064475C2790657A918C2359DA54AC8200836F898180006930564E80367237
|
| 764 |
+
91CE51B64E5F987563964E1A53F666F3814B591C6DB24E0058F9533B63D694F1
|
| 765 |
+
4F9D4F0A886398905937905779FB4EEA80F075916C825B9C59E85F5D69058681
|
| 766 |
+
501A5DF24E5977E34EE5827A6291661390915C794EBF5F7981C69038808475AB
|
| 767 |
+
4EA688D4610F6BC55FC64E4976CA6EA28BE38BAE8C0A8BD15F027FFC7FCC7ECE
|
| 768 |
+
8335836B56E06BB797F3963459FB541F94F66DEB5BC5996E5C395F1596900000
|
| 769 |
+
D3
|
| 770 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 771 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 772 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 773 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 774 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 775 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 776 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 777 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 778 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 779 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 780 |
+
0000537082F16A315A749E705E947F2883B984248425836787478FCE8D6276C8
|
| 781 |
+
5F719896786C662054DF62E54F6381C375C85EB896CD8E0A86F9548F6CF36D8C
|
| 782 |
+
6C38607F52C775285E7D4F1860A05FE75C24753190AE94C072B96CB96E389149
|
| 783 |
+
670953CB53F34F5191C98BF153C85E7C8FC26DE44E8E76C26986865E611A8206
|
| 784 |
+
4F594FDE903E9C7C61096E1D6E1496854E885A3196E84E0E5C7F79B95B878BED
|
| 785 |
+
7FBD738957DF828B90C15401904755BB5CEA5FA161086B3272F180B28A890000
|
| 786 |
+
D4
|
| 787 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 788 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 789 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 790 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 791 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 792 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 793 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 794 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 795 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 796 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 797 |
+
00006D745BD388D598848C6B9A6D9E336E0A51A4514357A38881539F63F48F95
|
| 798 |
+
56ED54585706733F6E907F188FDC82D1613F6028966266F07EA68D8A8DC394A5
|
| 799 |
+
5CB37CA4670860A6960580184E9190E75300966851418FD08574915D665597F5
|
| 800 |
+
5B55531D78386742683D54C9707E5BB08F7D518D572854B1651266828D5E8D43
|
| 801 |
+
810F846C906D7CDF51FF85FB67A365E96FA186A48E81566A90207682707671E5
|
| 802 |
+
8D2362E952196CFD8D3C600E589E618E66FE8D60624E55B36E23672D8F670000
|
| 803 |
+
D5
|
| 804 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 805 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 806 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 807 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 808 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 809 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 810 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 811 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 812 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 813 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 814 |
+
000094E195F87728680569A8548B4E4D70B88BC86458658B5B857A84503A5BE8
|
| 815 |
+
77BB6BE18A797C986CBE76CF65A98F975D2D5C5586386808536062187AD96E5B
|
| 816 |
+
7EFD6A1F7AE05F706F335F20638C6DA867564E085E108D264ED780C07634969C
|
| 817 |
+
62DB662D627E6CBC8D7571677F695146808753EC906E629854F286F08F998005
|
| 818 |
+
951785178FD96D5973CD659F771F7504782781FB8D1E94884FA6679575B98BCA
|
| 819 |
+
9707632F9547963584B8632377415F8172F04E896014657462EF6B63653F0000
|
| 820 |
+
D6
|
| 821 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 822 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 823 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 824 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 825 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 826 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 827 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 828 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 829 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 830 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 831 |
+
00005E2775C790D18BC1829D679D652F5431871877E580A281026C414E4B7EC7
|
| 832 |
+
804C76F4690D6B966267503C4F84574063076B628DBE53EA65E87EB85FD7631A
|
| 833 |
+
63B781F381F47F6E5E1C5CD95236667A79E97A1A8D28709975D46EDE6CBB7A92
|
| 834 |
+
4E2D76C55FE0949F88777EC879CD80BF91CD4EF24F17821F54685DDE6D328BCC
|
| 835 |
+
7CA58F7480985E1A549276B15B99663C9AA473E0682A86DB6731732A8BF88BDB
|
| 836 |
+
90107AF970DB716E62C477A956314E3B845767F152A986C08D2E94F87B510000
|
| 837 |
+
D7
|
| 838 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 839 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 840 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 841 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 842 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 843 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 844 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 845 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 846 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 847 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 848 |
+
00004F4F6CE8795D9A7B6293722A62FD4E1378168F6C64B08D5A7BC668695E84
|
| 849 |
+
88C55986649E58EE72B6690E95258FFD8D5857607F008C0651C6634962D95353
|
| 850 |
+
684C74228301914C55447740707C6D4A517954A88D4459FF6ECB6DC45B5C7D2B
|
| 851 |
+
4ED47C7D6ED35B5081EA6E0D5B579B0368D58E2A5B977EFC603B7EB590B98D70
|
| 852 |
+
594F63CD79DF8DB3535265CF79568BC5963B7EC494BB7E825634918967007F6A
|
| 853 |
+
5C0A907566285DE64F5067DE505A4F5C57505EA7000000000000000000000000
|
| 854 |
+
D8
|
| 855 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 856 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 857 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 858 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 859 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 860 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 861 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 862 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 863 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 864 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 865 |
+
00004E8D4E0C51404E105EFF53454E154E984E1E9B325B6C56694E2879BA4E3F
|
| 866 |
+
53154E47592D723B536E6C1056DF80E499976BD3777E9F174E364E9F9F104E5C
|
| 867 |
+
4E694E9382885B5B556C560F4EC4538D539D53A353A553AE97658D5D531A53F5
|
| 868 |
+
5326532E533E8D5C5366536352025208520E522D5233523F5240524C525E5261
|
| 869 |
+
525C84AF527D528252815290529351827F544EBB4EC34EC94EC24EE84EE14EEB
|
| 870 |
+
4EDE4F1B4EF34F224F644EF54F254F274F094F2B4F5E4F6765384F5A4F5D0000
|
| 871 |
+
D9
|
| 872 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 873 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 874 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 875 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 876 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 877 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 878 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 879 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 880 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 881 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 882 |
+
00004F5F4F574F324F3D4F764F744F914F894F834F8F4F7E4F7B4FAA4F7C4FAC
|
| 883 |
+
4F944FE64FE84FEA4FC54FDA4FE34FDC4FD14FDF4FF85029504C4FF3502C500F
|
| 884 |
+
502E502D4FFE501C500C50255028507E504350555048504E506C507B50A550A7
|
| 885 |
+
50A950BA50D6510650ED50EC50E650EE5107510B4EDD6C3D4F584F654FCE9FA0
|
| 886 |
+
6C467C74516E5DFD9EC999985181591452F9530D8A07531051EB591951554EA0
|
| 887 |
+
51564EB3886E88A44EB5811488D279805B3488037FB851AB51B151BD51BC0000
|
| 888 |
+
DA
|
| 889 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 890 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 891 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 892 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 893 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 894 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 895 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 896 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 897 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 898 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 899 |
+
000051C7519651A251A58BA08BA68BA78BAA8BB48BB58BB78BC28BC38BCB8BCF
|
| 900 |
+
8BCE8BD28BD38BD48BD68BD88BD98BDC8BDF8BE08BE48BE88BE98BEE8BF08BF3
|
| 901 |
+
8BF68BF98BFC8BFF8C008C028C048C078C0C8C0F8C118C128C148C158C168C19
|
| 902 |
+
8C1B8C188C1D8C1F8C208C218C258C278C2A8C2B8C2E8C2F8C328C338C358C36
|
| 903 |
+
5369537A961D962296219631962A963D963C964296499654965F9667966C9672
|
| 904 |
+
96749688968D969796B09097909B909D909990AC90A190B490B390B690BA0000
|
| 905 |
+
DB
|
| 906 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 907 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 908 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 909 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 910 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 911 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 912 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 913 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 914 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 915 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 916 |
+
000090B890B090CF90C590BE90D090C490C790D390E690E290DC90D790DB90EB
|
| 917 |
+
90EF90FE91049122911E91239131912F913991439146520D594252A252AC52AD
|
| 918 |
+
52BE54FF52D052D652F053DF71EE77CD5EF451F551FC9B2F53B65F01755A5DEF
|
| 919 |
+
574C57A957A1587E58BC58C558D15729572C572A57335739572E572F575C573B
|
| 920 |
+
574257695785576B5786577C577B5768576D5776577357AD57A4578C57B257CF
|
| 921 |
+
57A757B4579357A057D557D857DA57D957D257B857F457EF57F857E457DD0000
|
| 922 |
+
DC
|
| 923 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 924 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 925 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 926 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 927 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 928 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 929 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 930 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 931 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 932 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 933 |
+
0000580B580D57FD57ED5800581E5819584458205865586C58815889589A5880
|
| 934 |
+
99A89F1961FF8279827D827F828F828A82A88284828E82918297829982AB82B8
|
| 935 |
+
82BE82B082C882CA82E3829882B782AE82CB82CC82C182A982B482A182AA829F
|
| 936 |
+
82C482CE82A482E1830982F782E4830F830782DC82F482D282D8830C82FB82D3
|
| 937 |
+
8311831A83068314831582E082D5831C8351835B835C83088392833C83348331
|
| 938 |
+
839B835E832F834F83478343835F834083178360832D833A8333836683650000
|
| 939 |
+
DD
|
| 940 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 941 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 942 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 943 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 944 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 945 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 946 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 947 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 948 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 949 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 950 |
+
00008368831B8369836C836A836D836E83B0837883B383B483A083AA8393839C
|
| 951 |
+
8385837C83B683A9837D83B8837B8398839E83A883BA83BC83C1840183E583D8
|
| 952 |
+
58078418840B83DD83FD83D6841C84388411840683D483DF840F840383F883F9
|
| 953 |
+
83EA83C583C0842683F083E1845C8451845A8459847384878488847A84898478
|
| 954 |
+
843C844684698476848C848E8431846D84C184CD84D084E684BD84D384CA84BF
|
| 955 |
+
84BA84E084A184B984B4849784E584E3850C750D853884F08539851F853A0000
|
| 956 |
+
DE
|
| 957 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 958 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 959 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 960 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 961 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 962 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 963 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 964 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 965 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 966 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 967 |
+
00008556853B84FF84FC8559854885688564855E857A77A285438572857B85A4
|
| 968 |
+
85A88587858F857985AE859C858585B985B785B085D385C185DC85FF86278605
|
| 969 |
+
86298616863C5EFE5F08593C594180375955595A5958530F5C225C255C2C5C34
|
| 970 |
+
624C626A629F62BB62CA62DA62D762EE632262F66339634B634363AD63F66371
|
| 971 |
+
637A638E63B4636D63AC638A636963AE63BC63F263F863E063FF63C463DE63CE
|
| 972 |
+
645263C663BE64456441640B641B6420640C64266421645E6484646D64960000
|
| 973 |
+
DF
|
| 974 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 975 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 976 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 977 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 978 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 979 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 980 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 981 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 982 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 983 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 984 |
+
0000647A64B764B8649964BA64C064D064D764E464E265096525652E5F0B5FD2
|
| 985 |
+
75195F11535F53F153FD53E953E853FB541254165406544B5452545354545456
|
| 986 |
+
54435421545754595423543254825494547754715464549A549B548454765466
|
| 987 |
+
549D54D054AD54C254B454D254A754A654D354D4547254A354D554BB54BF54CC
|
| 988 |
+
54D954DA54DC54A954AA54A454DD54CF54DE551B54E7552054FD551454F35522
|
| 989 |
+
5523550F55115527552A5567558F55B55549556D55415555553F5550553C0000
|
| 990 |
+
E0
|
| 991 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 992 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 993 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 994 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 995 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 996 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 997 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 998 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 999 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1000 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1001 |
+
00005537555655755576557755335530555C558B55D2558355B155B955885581
|
| 1002 |
+
559F557E55D65591557B55DF55BD55BE5594559955EA55F755C9561F55D155EB
|
| 1003 |
+
55EC55D455E655DD55C455EF55E555F255F355CC55CD55E855F555E48F94561E
|
| 1004 |
+
5608560C56015624562355FE56005627562D565856395657562C564D56625659
|
| 1005 |
+
565C564C5654568656645671566B567B567C5685569356AF56D456D756DD56E1
|
| 1006 |
+
56F556EB56F956FF5704570A5709571C5E0F5E195E145E115E315E3B5E3C0000
|
| 1007 |
+
E1
|
| 1008 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1009 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1010 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1011 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1012 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1013 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1014 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1015 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1016 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1017 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1018 |
+
00005E375E445E545E5B5E5E5E615C8C5C7A5C8D5C905C965C885C985C995C91
|
| 1019 |
+
5C9A5C9C5CB55CA25CBD5CAC5CAB5CB15CA35CC15CB75CC45CD25CE45CCB5CE5
|
| 1020 |
+
5D025D035D275D265D2E5D245D1E5D065D1B5D585D3E5D345D3D5D6C5D5B5D6F
|
| 1021 |
+
5D5D5D6B5D4B5D4A5D695D745D825D995D9D8C735DB75DC55F735F775F825F87
|
| 1022 |
+
5F895F8C5F955F995F9C5FA85FAD5FB55FBC88625F6172AD72B072B472B772B8
|
| 1023 |
+
72C372C172CE72CD72D272E872EF72E972F272F472F7730172F3730372FA0000
|
| 1024 |
+
E2
|
| 1025 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1026 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1027 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1028 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1029 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1030 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1031 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1032 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1033 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1034 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1035 |
+
000072FB731773137321730A731E731D7315732273397325732C733873317350
|
| 1036 |
+
734D73577360736C736F737E821B592598E7592459029963996799689969996A
|
| 1037 |
+
996B996C99749977997D998099849987998A998D999099919993999499955E80
|
| 1038 |
+
5E915E8B5E965EA55EA05EB95EB55EBE5EB38D535ED25ED15EDB5EE85EEA81BA
|
| 1039 |
+
5FC45FC95FD65FCF60035FEE60045FE15FE45FFE600560065FEA5FED5FF86019
|
| 1040 |
+
60356026601B600F600D6029602B600A603F602160786079607B607A60420000
|
| 1041 |
+
E3
|
| 1042 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1043 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1044 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1045 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1046 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1047 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1048 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1049 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1050 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1051 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1052 |
+
0000606A607D6096609A60AD609D60836092608C609B60EC60BB60B160DD60D8
|
| 1053 |
+
60C660DA60B4612061266115612360F46100610E612B614A617561AC619461A7
|
| 1054 |
+
61B761D461F55FDD96B395E995EB95F195F395F595F695FC95FE960396049606
|
| 1055 |
+
9608960A960B960C960D960F96129615961696179619961A4E2C723F62156C35
|
| 1056 |
+
6C546C5C6C4A6CA36C856C906C946C8C6C686C696C746C766C866CA96CD06CD4
|
| 1057 |
+
6CAD6CF76CF86CF16CD76CB26CE06CD66CFA6CEB6CEE6CB16CD36CEF6CFE0000
|
| 1058 |
+
E4
|
| 1059 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1060 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1061 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1062 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1063 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1064 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1065 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1066 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1067 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1068 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1069 |
+
00006D396D276D0C6D436D486D076D046D196D0E6D2B6D4D6D2E6D356D1A6D4F
|
| 1070 |
+
6D526D546D336D916D6F6D9E6DA06D5E6D936D946D5C6D606D7C6D636E1A6DC7
|
| 1071 |
+
6DC56DDE6E0E6DBF6DE06E116DE66DDD6DD96E166DAB6E0C6DAE6E2B6E6E6E4E
|
| 1072 |
+
6E6B6EB26E5F6E866E536E546E326E256E446EDF6EB16E986EE06F2D6EE26EA5
|
| 1073 |
+
6EA76EBD6EBB6EB76ED76EB46ECF6E8F6EC26E9F6F626F466F476F246F156EF9
|
| 1074 |
+
6F2F6F366F4B6F746F2A6F096F296F896F8D6F8C6F786F726F7C6F7A6FD10000
|
| 1075 |
+
E5
|
| 1076 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1077 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1078 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1079 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1080 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1081 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1082 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1083 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1084 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1085 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1086 |
+
00006FC96FA76FB96FB66FC26FE16FEE6FDE6FE06FEF701A7023701B70397035
|
| 1087 |
+
704F705E5B805B845B955B935BA55BB8752F9A9E64345BE45BEE89305BF08E47
|
| 1088 |
+
8B078FB68FD38FD58FE58FEE8FE48FE98FE68FF38FE890059004900B90269011
|
| 1089 |
+
900D9016902190359036902D902F9044905190529050906890589062905B66B9
|
| 1090 |
+
9074907D908290889083908B5F505F575F565F585C3B54AB5C505C595B715C63
|
| 1091 |
+
5C667FBC5F2A5F295F2D82745F3C9B3B5C6E59815983598D59A959AA59A30000
|
| 1092 |
+
E6
|
| 1093 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1094 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1095 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1096 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1097 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1098 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1099 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1100 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1101 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1102 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1103 |
+
0000599759CA59AB599E59A459D259B259AF59D759BE5A055A0659DD5A0859E3
|
| 1104 |
+
59D859F95A0C5A095A325A345A115A235A135A405A675A4A5A555A3C5A625A75
|
| 1105 |
+
80EC5AAA5A9B5A775A7A5ABE5AEB5AB25AD25AD45AB85AE05AE35AF15AD65AE6
|
| 1106 |
+
5AD85ADC5B095B175B165B325B375B405C155C1C5B5A5B655B735B515B535B62
|
| 1107 |
+
9A759A779A789A7A9A7F9A7D9A809A819A859A889A8A9A909A929A939A969A98
|
| 1108 |
+
9A9B9A9C9A9D9A9F9AA09AA29AA39AA59AA77E9F7EA17EA37EA57EA87EA90000
|
| 1109 |
+
E7
|
| 1110 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1111 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1112 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1113 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1114 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1115 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1116 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1117 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1118 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1119 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1120 |
+
00007EAD7EB07EBE7EC07EC17EC27EC97ECB7ECC7ED07ED47ED77EDB7EE07EE1
|
| 1121 |
+
7EE87EEB7EEE7EEF7EF17EF27F0D7EF67EFA7EFB7EFE7F017F027F037F077F08
|
| 1122 |
+
7F0B7F0C7F0F7F117F127F177F197F1C7F1B7F1F7F217F227F237F247F257F26
|
| 1123 |
+
7F277F2A7F2B7F2C7F2D7F2F7F307F317F327F337F355E7A757F5DDB753E9095
|
| 1124 |
+
738E739173AE73A2739F73CF73C273D173B773B373C073C973C873E573D9987C
|
| 1125 |
+
740A73E973E773DE73BA73F2740F742A745B7426742574287430742E742C0000
|
| 1126 |
+
E8
|
| 1127 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1128 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1129 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1130 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1131 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1132 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1133 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1134 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1135 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1136 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1137 |
+
0000741B741A7441745C7457745574597477746D747E749C748E748074817487
|
| 1138 |
+
748B749E74A874A9749074A774D274BA97EA97EB97EC674C6753675E67486769
|
| 1139 |
+
67A56787676A6773679867A7677567A8679E67AD678B6777677C67F0680967D8
|
| 1140 |
+
680A67E967B0680C67D967B567DA67B367DD680067C367B867E2680E67C167FD
|
| 1141 |
+
6832683368606861684E6862684468646883681D68556866684168676840683E
|
| 1142 |
+
684A6849682968B5688F687468776893686B68C2696E68FC691F692068F90000
|
| 1143 |
+
E9
|
| 1144 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1145 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1146 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1147 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1148 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1149 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1150 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1151 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1152 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1153 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1154 |
+
0000692468F0690B6901695768E369106971693969606942695D6984696B6980
|
| 1155 |
+
69986978693469CC6987698869CE6989696669636979699B69A769BB69AB69AD
|
| 1156 |
+
69D469B169C169CA69DF699569E0698D69FF6A2F69ED6A176A186A6569F26A44
|
| 1157 |
+
6A3E6AA06A506A5B6A356A8E6A796A3D6A286A586A7C6A916A906AA96A976AAB
|
| 1158 |
+
733773526B816B826B876B846B926B936B8D6B9A6B9B6BA16BAA8F6B8F6D8F71
|
| 1159 |
+
8F728F738F758F768F788F778F798F7A8F7C8F7E8F818F828F848F878F8B0000
|
| 1160 |
+
EA
|
| 1161 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1162 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1163 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1164 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1165 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1166 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1167 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1168 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1169 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1170 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1171 |
+
00008F8D8F8E8F8F8F988F9A8ECE620B6217621B621F6222622162256224622C
|
| 1172 |
+
81E774EF74F474FF750F75117513653465EE65EF65F0660A6619677266036615
|
| 1173 |
+
6600708566F7661D66346631663666358006665F66546641664F665666616657
|
| 1174 |
+
66776684668C66A7669D66BE66DB66DC66E666E98D328D338D368D3B8D3D8D40
|
| 1175 |
+
8D458D468D488D498D478D4D8D558D5989C789CA89CB89CC89CE89CF89D089D1
|
| 1176 |
+
726E729F725D7266726F727E727F7284728B728D728F72926308633263B00000
|
| 1177 |
+
EB
|
| 1178 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1179 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1180 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1181 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1182 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1183 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1184 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1185 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1186 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1187 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1188 |
+
0000643F64D880046BEA6BF36BFD6BF56BF96C056C076C066C0D6C156C186C19
|
| 1189 |
+
6C1A6C216C296C246C2A6C3265356555656B724D72527256723086625216809F
|
| 1190 |
+
809C809380BC670A80BD80B180AB80AD80B480B780E780E880E980EA80DB80C2
|
| 1191 |
+
80C480D980CD80D7671080DD80EB80F180F480ED810D810E80F280FC67158112
|
| 1192 |
+
8C5A8136811E812C811881328148814C815381748159815A817181608169817C
|
| 1193 |
+
817D816D8167584D5AB58188818281916ED581A381AA81CC672681CA81BB0000
|
| 1194 |
+
EC
|
| 1195 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1196 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1197 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1198 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1199 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1200 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1201 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1202 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1203 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1204 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1205 |
+
000081C181A66B246B376B396B436B466B5998D198D298D398D598D998DA6BB3
|
| 1206 |
+
5F406BC289F365909F51659365BC65C665C465C365CC65CE65D265D67080709C
|
| 1207 |
+
7096709D70BB70C070B770AB70B170E870CA711071137116712F71317173715C
|
| 1208 |
+
716871457172714A7178717A719871B371B571A871A071E071D471E771F9721D
|
| 1209 |
+
7228706C7118716671B9623E623D624362486249793B794079467949795B795C
|
| 1210 |
+
7953795A796279577960796F7967797A7985798A799A79A779B35FD15FD00000
|
| 1211 |
+
ED
|
| 1212 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1213 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1214 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1215 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1216 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1217 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1218 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1219 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1220 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1221 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1222 |
+
0000603C605D605A606760416059606360AB6106610D615D61A9619D61CB61D1
|
| 1223 |
+
62068080807F6C936CF66DFC77F677F87800780978177818781165AB782D781C
|
| 1224 |
+
781D7839783A783B781F783C7825782C78237829784E786D7856785778267850
|
| 1225 |
+
7847784C786A789B7893789A7887789C78A178A378B278B978A578D478D978C9
|
| 1226 |
+
78EC78F2790578F479137924791E79349F9B9EF99EFB9EFC76F17704770D76F9
|
| 1227 |
+
77077708771A77227719772D7726773577387750775177477743775A77680000
|
| 1228 |
+
EE
|
| 1229 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1230 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1231 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1232 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1233 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1234 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1235 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1236 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1237 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1238 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1239 |
+
000077627765777F778D777D7780778C7791779F77A077B077B577BD753A7540
|
| 1240 |
+
754E754B7548755B7572757975837F587F617F5F8A487F687F747F717F797F81
|
| 1241 |
+
7F7E76CD76E58832948594869487948B948A948C948D948F9490949494979495
|
| 1242 |
+
949A949B949C94A394A494AB94AA94AD94AC94AF94B094B294B494B694B794B8
|
| 1243 |
+
94B994BA94BC94BD94BF94C494C894C994CA94CB94CC94CD94CE94D094D194D2
|
| 1244 |
+
94D594D694D794D994D894DB94DE94DF94E094E294E494E594E794E894EA0000
|
| 1245 |
+
EF
|
| 1246 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1247 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1248 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1249 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1250 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1251 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1252 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1253 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1254 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1255 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1256 |
+
000094E994EB94EE94EF94F394F494F594F794F994FC94FD94FF950395029506
|
| 1257 |
+
95079509950A950D950E950F951295139514951595169518951B951D951E951F
|
| 1258 |
+
9522952A952B9529952C953195329534953695379538953C953E953F95429535
|
| 1259 |
+
9544954595469549954C954E954F9552955395549556955795589559955B955E
|
| 1260 |
+
955F955D95619562956495659566956795689569956A956B956C956F95719572
|
| 1261 |
+
9573953A77E777EC96C979D579ED79E379EB7A065D477A037A027A1E7A140000
|
| 1262 |
+
F0
|
| 1263 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1264 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1265 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1266 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1267 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1268 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1269 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1270 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1271 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1272 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1273 |
+
00007A397A377A519ECF99A57A707688768E7693769976A474DE74E0752C9E20
|
| 1274 |
+
9E229E289E299E2A9E2B9E2C9E329E319E369E389E379E399E3A9E3E9E419E42
|
| 1275 |
+
9E449E469E479E489E499E4B9E4C9E4E9E519E559E579E5A9E5B9E5C9E5E9E63
|
| 1276 |
+
9E669E679E689E699E6A9E6B9E6C9E719E6D9E7375927594759675A0759D75AC
|
| 1277 |
+
75A375B375B475B875C475B175B075C375C275D675CD75E375E875E675E475EB
|
| 1278 |
+
75E7760375F175FC75FF761076007605760C7617760A76257618761576190000
|
| 1279 |
+
F1
|
| 1280 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1281 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1282 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1283 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1284 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1285 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1286 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1287 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1288 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1289 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1290 |
+
0000761B763C762276207640762D7630763F76357643763E7633764D765E7654
|
| 1291 |
+
765C7656766B766F7FCA7AE67A787A797A807A867A887A957AA67AA07AAC7AA8
|
| 1292 |
+
7AAD7AB3886488698872887D887F888288A288C688B788BC88C988E288CE88E3
|
| 1293 |
+
88E588F1891A88FC88E888FE88F0892189198913891B890A8934892B89368941
|
| 1294 |
+
8966897B758B80E576B276B477DC801280148016801C80208022802580268027
|
| 1295 |
+
802980288031800B803580438046804D80528069807189839878988098830000
|
| 1296 |
+
F2
|
| 1297 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1298 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1299 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1300 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1301 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1302 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1303 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1304 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1305 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1306 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1307 |
+
00009889988C988D988F9894989A989B989E989F98A198A298A598A6864D8654
|
| 1308 |
+
866C866E867F867A867C867B86A8868D868B86AC869D86A786A386AA869386A9
|
| 1309 |
+
86B686C486B586CE86B086BA86B186AF86C986CF86B486E986F186F286ED86F3
|
| 1310 |
+
86D0871386DE86F486DF86D886D18703870786F88708870A870D87098723873B
|
| 1311 |
+
871E8725872E871A873E87488734873187298737873F87828722877D877E877B
|
| 1312 |
+
87608770874C876E878B87538763877C876487598765879387AF87A887D20000
|
| 1313 |
+
F3
|
| 1314 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1315 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1316 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1317 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1318 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1319 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1320 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1321 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1322 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1323 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1324 |
+
000087C68788878587AD8797878387AB87E587AC87B587B387CB87D387BD87D1
|
| 1325 |
+
87C087CA87DB87EA87E087EE8816881387FE880A881B88218839883C7F367F42
|
| 1326 |
+
7F447F4582107AFA7AFD7B087B037B047B157B0A7B2B7B0F7B477B387B2A7B19
|
| 1327 |
+
7B2E7B317B207B257B247B337B3E7B1E7B587B5A7B457B757B4C7B5D7B607B6E
|
| 1328 |
+
7B7B7B627B727B717B907BA67BA77BB87BAC7B9D7BA87B857BAA7B9C7BA27BAB
|
| 1329 |
+
7BB47BD17BC17BCC7BDD7BDA7BE57BE67BEA7C0C7BFE7BFC7C0F7C167C0B0000
|
| 1330 |
+
F4
|
| 1331 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1332 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1333 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1334 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1335 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1336 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1337 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1338 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1339 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1340 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1341 |
+
00007C1F7C2A7C267C387C417C4081FE82018202820481EC8844822182228223
|
| 1342 |
+
822D822F8228822B8238823B82338234823E82448249824B824F825A825F8268
|
| 1343 |
+
887E8885888888D888DF895E7F9D7F9F7FA77FAF7FB07FB27C7C65497C917C9D
|
| 1344 |
+
7C9C7C9E7CA27CB27CBC7CBD7CC17CC77CCC7CCD7CC87CC57CD77CE8826E66A8
|
| 1345 |
+
7FBF7FCE7FD57FE57FE17FE67FE97FEE7FF37CF87D777DA67DAE7E477E9B9EB8
|
| 1346 |
+
9EB48D738D848D948D918DB18D678D6D8C478C49914A9150914E914F91640000
|
| 1347 |
+
F5
|
| 1348 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1349 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1350 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1351 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1352 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1353 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1354 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1355 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1356 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1357 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1358 |
+
00009162916191709169916F917D917E917291749179918C91859190918D9191
|
| 1359 |
+
91A291A391AA91AD91AE91AF91B591B491BA8C559E7E8DB88DEB8E058E598E69
|
| 1360 |
+
8DB58DBF8DBC8DBA8DC48DD68DD78DDA8DDE8DCE8DCF8DDB8DC68DEC8DF78DF8
|
| 1361 |
+
8DE38DF98DFB8DE48E098DFD8E148E1D8E1F8E2C8E2E8E238E2F8E3A8E408E39
|
| 1362 |
+
8E358E3D8E318E498E418E428E518E528E4A8E708E768E7C8E6F8E748E858E8F
|
| 1363 |
+
8E948E908E9C8E9E8C788C828C8A8C858C988C94659B89D689DE89DA89DC0000
|
| 1364 |
+
F6
|
| 1365 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1366 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1367 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1368 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1369 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1370 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1371 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1372 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1373 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1374 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1375 |
+
000089E589EB89EF8A3E8B26975396E996F396EF970697019708970F970E972A
|
| 1376 |
+
972D9730973E9F809F839F859F869F879F889F899F8A9F8C9EFE9F0B9F0D96B9
|
| 1377 |
+
96BC96BD96CE96D277BF96E0928E92AE92C8933E936A93CA938F943E946B9C7F
|
| 1378 |
+
9C829C859C869C879C887A239C8B9C8E9C909C919C929C949C959C9A9C9B9C9E
|
| 1379 |
+
9C9F9CA09CA19CA29CA39CA59CA69CA79CA89CA99CAB9CAD9CAE9CB09CB19CB2
|
| 1380 |
+
9CB39CB49CB59CB69CB79CBA9CBB9CBC9CBD9CC49CC59CC69CC79CCA9CCB0000
|
| 1381 |
+
F7
|
| 1382 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1383 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1384 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1385 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1386 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1387 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1388 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1389 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1390 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1391 |
+
0000000000000000000000000000000000000000000000000000000000000000
|
| 1392 |
+
00009CCC9CCD9CCE9CCF9CD09CD39CD49CD59CD79CD89CD99CDC9CDD9CDF9CE2
|
| 1393 |
+
977C978597919792979497AF97AB97A397B297B49AB19AB09AB79E589AB69ABA
|
| 1394 |
+
9ABC9AC19AC09AC59AC29ACB9ACC9AD19B459B439B479B499B489B4D9B5198E8
|
| 1395 |
+
990D992E995599549ADF9AE19AE69AEF9AEB9AFB9AED9AF99B089B0F9B139B1F
|
| 1396 |
+
9B239EBD9EBE7E3B9E829E879E889E8B9E9293D69E9D9E9F9EDB9EDC9EDD9EE0
|
| 1397 |
+
9EDF9EE29EE99EE79EE59EEA9EEF9F229F2C9F2F9F399F379F3D9F3E9F440000
|
deepseek/lib/tcl8.6/msgs/ar_in.msg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset ar_IN DATE_FORMAT "%A %d %B %Y"
|
| 4 |
+
::msgcat::mcset ar_IN TIME_FORMAT_12 "%I:%M:%S %z"
|
| 5 |
+
::msgcat::mcset ar_IN DATE_TIME_FORMAT "%A %d %B %Y %I:%M:%S %z %z"
|
| 6 |
+
}
|
deepseek/lib/tcl8.6/msgs/ar_jo.msg
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset ar_JO DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"\u0627\u0644\u0623\u062d\u062f"\
|
| 5 |
+
"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"\
|
| 6 |
+
"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"\
|
| 7 |
+
"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621"\
|
| 8 |
+
"\u0627\u0644\u062e\u0645\u064a\u0633"\
|
| 9 |
+
"\u0627\u0644\u062c\u0645\u0639\u0629"\
|
| 10 |
+
"\u0627\u0644\u0633\u0628\u062a"]
|
| 11 |
+
::msgcat::mcset ar_JO MONTHS_ABBREV [list \
|
| 12 |
+
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
|
| 13 |
+
"\u0634\u0628\u0627\u0637"\
|
| 14 |
+
"\u0622\u0630\u0627\u0631"\
|
| 15 |
+
"\u0646\u064a\u0633\u0627\u0646"\
|
| 16 |
+
"\u0646\u0648\u0627\u0631"\
|
| 17 |
+
"\u062d\u0632\u064a\u0631\u0627\u0646"\
|
| 18 |
+
"\u062a\u0645\u0648\u0632"\
|
| 19 |
+
"\u0622\u0628"\
|
| 20 |
+
"\u0623\u064a\u0644\u0648\u0644"\
|
| 21 |
+
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
|
| 22 |
+
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
|
| 23 |
+
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
|
| 24 |
+
""]
|
| 25 |
+
::msgcat::mcset ar_JO MONTHS_FULL [list \
|
| 26 |
+
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
|
| 27 |
+
"\u0634\u0628\u0627\u0637"\
|
| 28 |
+
"\u0622\u0630\u0627\u0631"\
|
| 29 |
+
"\u0646\u064a\u0633\u0627\u0646"\
|
| 30 |
+
"\u0646\u0648\u0627\u0631"\
|
| 31 |
+
"\u062d\u0632\u064a\u0631\u0627\u0646"\
|
| 32 |
+
"\u062a\u0645\u0648\u0632"\
|
| 33 |
+
"\u0622\u0628"\
|
| 34 |
+
"\u0623\u064a\u0644\u0648\u0644"\
|
| 35 |
+
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
|
| 36 |
+
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
|
| 37 |
+
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
|
| 38 |
+
""]
|
| 39 |
+
}
|
deepseek/lib/tcl8.6/msgs/be.msg
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset be DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"\u043d\u0434"\
|
| 5 |
+
"\u043f\u043d"\
|
| 6 |
+
"\u0430\u0442"\
|
| 7 |
+
"\u0441\u0440"\
|
| 8 |
+
"\u0447\u0446"\
|
| 9 |
+
"\u043f\u0442"\
|
| 10 |
+
"\u0441\u0431"]
|
| 11 |
+
::msgcat::mcset be DAYS_OF_WEEK_FULL [list \
|
| 12 |
+
"\u043d\u044f\u0434\u0437\u0435\u043b\u044f"\
|
| 13 |
+
"\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a"\
|
| 14 |
+
"\u0430\u045e\u0442\u043e\u0440\u0430\u043a"\
|
| 15 |
+
"\u0441\u0435\u0440\u0430\u0434\u0430"\
|
| 16 |
+
"\u0447\u0430\u0446\u0432\u0435\u0440"\
|
| 17 |
+
"\u043f\u044f\u0442\u043d\u0456\u0446\u0430"\
|
| 18 |
+
"\u0441\u0443\u0431\u043e\u0442\u0430"]
|
| 19 |
+
::msgcat::mcset be MONTHS_ABBREV [list \
|
| 20 |
+
"\u0441\u0442\u0434"\
|
| 21 |
+
"\u043b\u044e\u0442"\
|
| 22 |
+
"\u0441\u043a\u0432"\
|
| 23 |
+
"\u043a\u0440\u0441"\
|
| 24 |
+
"\u043c\u0430\u0439"\
|
| 25 |
+
"\u0447\u0440\u0432"\
|
| 26 |
+
"\u043b\u043f\u043d"\
|
| 27 |
+
"\u0436\u043d\u0432"\
|
| 28 |
+
"\u0432\u0440\u0441"\
|
| 29 |
+
"\u043a\u0441\u0442"\
|
| 30 |
+
"\u043b\u0441\u0442"\
|
| 31 |
+
"\u0441\u043d\u0436"\
|
| 32 |
+
""]
|
| 33 |
+
::msgcat::mcset be MONTHS_FULL [list \
|
| 34 |
+
"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f"\
|
| 35 |
+
"\u043b\u044e\u0442\u0430\u0433\u0430"\
|
| 36 |
+
"\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430"\
|
| 37 |
+
"\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430"\
|
| 38 |
+
"\u043c\u0430\u044f"\
|
| 39 |
+
"\u0447\u0440\u0432\u0435\u043d\u044f"\
|
| 40 |
+
"\u043b\u0456\u043f\u0435\u043d\u044f"\
|
| 41 |
+
"\u0436\u043d\u0456\u045e\u043d\u044f"\
|
| 42 |
+
"\u0432\u0435\u0440\u0430\u0441\u043d\u044f"\
|
| 43 |
+
"\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430"\
|
| 44 |
+
"\u043b\u0438\u0441\u0442\u0430\u043f\u0430\u0434\u0430"\
|
| 45 |
+
"\u0441\u043d\u0435\u0436\u043d\u044f"\
|
| 46 |
+
""]
|
| 47 |
+
::msgcat::mcset be BCE "\u0434\u0430 \u043d.\u0435."
|
| 48 |
+
::msgcat::mcset be CE "\u043d.\u0435."
|
| 49 |
+
::msgcat::mcset be DATE_FORMAT "%e.%m.%Y"
|
| 50 |
+
::msgcat::mcset be TIME_FORMAT "%k.%M.%S"
|
| 51 |
+
::msgcat::mcset be DATE_TIME_FORMAT "%e.%m.%Y %k.%M.%S %z"
|
| 52 |
+
}
|
deepseek/lib/tcl8.6/msgs/bn.msg
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset bn DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"\u09b0\u09ac\u09bf"\
|
| 5 |
+
"\u09b8\u09cb\u09ae"\
|
| 6 |
+
"\u09ae\u0999\u0997\u09b2"\
|
| 7 |
+
"\u09ac\u09c1\u09a7"\
|
| 8 |
+
"\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf"\
|
| 9 |
+
"\u09b6\u09c1\u0995\u09cd\u09b0"\
|
| 10 |
+
"\u09b6\u09a8\u09bf"]
|
| 11 |
+
::msgcat::mcset bn DAYS_OF_WEEK_FULL [list \
|
| 12 |
+
"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0"\
|
| 13 |
+
"\u09b8\u09cb\u09ae\u09ac\u09be\u09b0"\
|
| 14 |
+
"\u09ae\u0999\u0997\u09b2\u09ac\u09be\u09b0"\
|
| 15 |
+
"\u09ac\u09c1\u09a7\u09ac\u09be\u09b0"\
|
| 16 |
+
"\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0"\
|
| 17 |
+
"\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0"\
|
| 18 |
+
"\u09b6\u09a8\u09bf\u09ac\u09be\u09b0"]
|
| 19 |
+
::msgcat::mcset bn MONTHS_ABBREV [list \
|
| 20 |
+
"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0"\
|
| 21 |
+
"\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09c0"\
|
| 22 |
+
"\u09ae\u09be\u09b0\u09cd\u099a"\
|
| 23 |
+
"\u098f\u09aa\u09cd\u09b0\u09bf\u09b2"\
|
| 24 |
+
"\u09ae\u09c7"\
|
| 25 |
+
"\u099c\u09c1\u09a8"\
|
| 26 |
+
"\u099c\u09c1\u09b2\u09be\u0987"\
|
| 27 |
+
"\u0986\u0997\u09b8\u09cd\u099f"\
|
| 28 |
+
"\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 29 |
+
"\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0"\
|
| 30 |
+
"\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 31 |
+
"\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 32 |
+
""]
|
| 33 |
+
::msgcat::mcset bn MONTHS_FULL [list \
|
| 34 |
+
"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0"\
|
| 35 |
+
"\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09c0"\
|
| 36 |
+
"\u09ae\u09be\u09b0\u09cd\u099a"\
|
| 37 |
+
"\u098f\u09aa\u09cd\u09b0\u09bf\u09b2"\
|
| 38 |
+
"\u09ae\u09c7"\
|
| 39 |
+
"\u099c\u09c1\u09a8"\
|
| 40 |
+
"\u099c\u09c1\u09b2\u09be\u0987"\
|
| 41 |
+
"\u0986\u0997\u09b8\u09cd\u099f"\
|
| 42 |
+
"\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 43 |
+
"\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0"\
|
| 44 |
+
"\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 45 |
+
"\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0"\
|
| 46 |
+
""]
|
| 47 |
+
::msgcat::mcset bn AM "\u09aa\u09c2\u09b0\u09cd\u09ac\u09be\u09b9\u09cd\u09a3"
|
| 48 |
+
::msgcat::mcset bn PM "\u0985\u09aa\u09b0\u09be\u09b9\u09cd\u09a3"
|
| 49 |
+
}
|
deepseek/lib/tcl8.6/msgs/ca.msg
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset ca DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"dg."\
|
| 5 |
+
"dl."\
|
| 6 |
+
"dt."\
|
| 7 |
+
"dc."\
|
| 8 |
+
"dj."\
|
| 9 |
+
"dv."\
|
| 10 |
+
"ds."]
|
| 11 |
+
::msgcat::mcset ca DAYS_OF_WEEK_FULL [list \
|
| 12 |
+
"diumenge"\
|
| 13 |
+
"dilluns"\
|
| 14 |
+
"dimarts"\
|
| 15 |
+
"dimecres"\
|
| 16 |
+
"dijous"\
|
| 17 |
+
"divendres"\
|
| 18 |
+
"dissabte"]
|
| 19 |
+
::msgcat::mcset ca MONTHS_ABBREV [list \
|
| 20 |
+
"gen."\
|
| 21 |
+
"feb."\
|
| 22 |
+
"mar\u00e7"\
|
| 23 |
+
"abr."\
|
| 24 |
+
"maig"\
|
| 25 |
+
"juny"\
|
| 26 |
+
"jul."\
|
| 27 |
+
"ag."\
|
| 28 |
+
"set."\
|
| 29 |
+
"oct."\
|
| 30 |
+
"nov."\
|
| 31 |
+
"des."\
|
| 32 |
+
""]
|
| 33 |
+
::msgcat::mcset ca MONTHS_FULL [list \
|
| 34 |
+
"gener"\
|
| 35 |
+
"febrer"\
|
| 36 |
+
"mar\u00e7"\
|
| 37 |
+
"abril"\
|
| 38 |
+
"maig"\
|
| 39 |
+
"juny"\
|
| 40 |
+
"juliol"\
|
| 41 |
+
"agost"\
|
| 42 |
+
"setembre"\
|
| 43 |
+
"octubre"\
|
| 44 |
+
"novembre"\
|
| 45 |
+
"desembre"\
|
| 46 |
+
""]
|
| 47 |
+
::msgcat::mcset ca DATE_FORMAT "%d/%m/%Y"
|
| 48 |
+
::msgcat::mcset ca TIME_FORMAT "%H:%M:%S"
|
| 49 |
+
::msgcat::mcset ca DATE_TIME_FORMAT "%d/%m/%Y %H:%M:%S %z"
|
| 50 |
+
}
|
deepseek/lib/tcl8.6/msgs/da.msg
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset da DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"s\u00f8"\
|
| 5 |
+
"ma"\
|
| 6 |
+
"ti"\
|
| 7 |
+
"on"\
|
| 8 |
+
"to"\
|
| 9 |
+
"fr"\
|
| 10 |
+
"l\u00f8"]
|
| 11 |
+
::msgcat::mcset da DAYS_OF_WEEK_FULL [list \
|
| 12 |
+
"s\u00f8ndag"\
|
| 13 |
+
"mandag"\
|
| 14 |
+
"tirsdag"\
|
| 15 |
+
"onsdag"\
|
| 16 |
+
"torsdag"\
|
| 17 |
+
"fredag"\
|
| 18 |
+
"l\u00f8rdag"]
|
| 19 |
+
::msgcat::mcset da MONTHS_ABBREV [list \
|
| 20 |
+
"jan"\
|
| 21 |
+
"feb"\
|
| 22 |
+
"mar"\
|
| 23 |
+
"apr"\
|
| 24 |
+
"maj"\
|
| 25 |
+
"jun"\
|
| 26 |
+
"jul"\
|
| 27 |
+
"aug"\
|
| 28 |
+
"sep"\
|
| 29 |
+
"okt"\
|
| 30 |
+
"nov"\
|
| 31 |
+
"dec"\
|
| 32 |
+
""]
|
| 33 |
+
::msgcat::mcset da MONTHS_FULL [list \
|
| 34 |
+
"januar"\
|
| 35 |
+
"februar"\
|
| 36 |
+
"marts"\
|
| 37 |
+
"april"\
|
| 38 |
+
"maj"\
|
| 39 |
+
"juni"\
|
| 40 |
+
"juli"\
|
| 41 |
+
"august"\
|
| 42 |
+
"september"\
|
| 43 |
+
"oktober"\
|
| 44 |
+
"november"\
|
| 45 |
+
"december"\
|
| 46 |
+
""]
|
| 47 |
+
::msgcat::mcset da BCE "f.Kr."
|
| 48 |
+
::msgcat::mcset da CE "e.Kr."
|
| 49 |
+
::msgcat::mcset da DATE_FORMAT "%d-%m-%Y"
|
| 50 |
+
::msgcat::mcset da TIME_FORMAT "%H:%M:%S"
|
| 51 |
+
::msgcat::mcset da DATE_TIME_FORMAT "%d-%m-%Y %H:%M:%S %z"
|
| 52 |
+
}
|
deepseek/lib/tcl8.6/msgs/de_at.msg
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset de_AT MONTHS_ABBREV [list \
|
| 4 |
+
"J\u00e4n"\
|
| 5 |
+
"Feb"\
|
| 6 |
+
"M\u00e4r"\
|
| 7 |
+
"Apr"\
|
| 8 |
+
"Mai"\
|
| 9 |
+
"Jun"\
|
| 10 |
+
"Jul"\
|
| 11 |
+
"Aug"\
|
| 12 |
+
"Sep"\
|
| 13 |
+
"Okt"\
|
| 14 |
+
"Nov"\
|
| 15 |
+
"Dez"\
|
| 16 |
+
""]
|
| 17 |
+
::msgcat::mcset de_AT MONTHS_FULL [list \
|
| 18 |
+
"J\u00e4nner"\
|
| 19 |
+
"Februar"\
|
| 20 |
+
"M\u00e4rz"\
|
| 21 |
+
"April"\
|
| 22 |
+
"Mai"\
|
| 23 |
+
"Juni"\
|
| 24 |
+
"Juli"\
|
| 25 |
+
"August"\
|
| 26 |
+
"September"\
|
| 27 |
+
"Oktober"\
|
| 28 |
+
"November"\
|
| 29 |
+
"Dezember"\
|
| 30 |
+
""]
|
| 31 |
+
::msgcat::mcset de_AT DATE_FORMAT "%Y-%m-%d"
|
| 32 |
+
::msgcat::mcset de_AT TIME_FORMAT "%T"
|
| 33 |
+
::msgcat::mcset de_AT TIME_FORMAT_12 "%T"
|
| 34 |
+
::msgcat::mcset de_AT DATE_TIME_FORMAT "%a %d %b %Y %T %z"
|
| 35 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_ca.msg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_CA DATE_FORMAT "%d/%m/%y"
|
| 4 |
+
::msgcat::mcset en_CA TIME_FORMAT "%r"
|
| 5 |
+
::msgcat::mcset en_CA TIME_FORMAT_12 "%I:%M:%S %p"
|
| 6 |
+
::msgcat::mcset en_CA DATE_TIME_FORMAT "%a %d %b %Y %r %z"
|
| 7 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_gb.msg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_GB DATE_FORMAT "%d/%m/%y"
|
| 4 |
+
::msgcat::mcset en_GB TIME_FORMAT "%T"
|
| 5 |
+
::msgcat::mcset en_GB TIME_FORMAT_12 "%T"
|
| 6 |
+
::msgcat::mcset en_GB DATE_TIME_FORMAT "%a %d %b %Y %T %z"
|
| 7 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_hk.msg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_HK AM "AM"
|
| 4 |
+
::msgcat::mcset en_HK PM "PM"
|
| 5 |
+
::msgcat::mcset en_HK DATE_FORMAT "%B %e, %Y"
|
| 6 |
+
::msgcat::mcset en_HK TIME_FORMAT_12 "%l:%M:%S %P"
|
| 7 |
+
::msgcat::mcset en_HK DATE_TIME_FORMAT "%B %e, %Y %l:%M:%S %P %z"
|
| 8 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_ie.msg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_IE DATE_FORMAT "%d/%m/%y"
|
| 4 |
+
::msgcat::mcset en_IE TIME_FORMAT "%T"
|
| 5 |
+
::msgcat::mcset en_IE TIME_FORMAT_12 "%T"
|
| 6 |
+
::msgcat::mcset en_IE DATE_TIME_FORMAT "%a %d %b %Y %T %z"
|
| 7 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_nz.msg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_NZ DATE_FORMAT "%e/%m/%Y"
|
| 4 |
+
::msgcat::mcset en_NZ TIME_FORMAT "%H:%M:%S"
|
| 5 |
+
::msgcat::mcset en_NZ TIME_FORMAT_12 "%I:%M:%S %P %z"
|
| 6 |
+
::msgcat::mcset en_NZ DATE_TIME_FORMAT "%e/%m/%Y %H:%M:%S %z"
|
| 7 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_ph.msg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_PH AM "AM"
|
| 4 |
+
::msgcat::mcset en_PH PM "PM"
|
| 5 |
+
::msgcat::mcset en_PH DATE_FORMAT "%B %e, %Y"
|
| 6 |
+
::msgcat::mcset en_PH TIME_FORMAT_12 "%l:%M:%S %P"
|
| 7 |
+
::msgcat::mcset en_PH DATE_TIME_FORMAT "%B %e, %Y %l:%M:%S %P %z"
|
| 8 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_sg.msg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_SG DATE_FORMAT "%d %b %Y"
|
| 4 |
+
::msgcat::mcset en_SG TIME_FORMAT_12 "%P %I:%M:%S"
|
| 5 |
+
::msgcat::mcset en_SG DATE_TIME_FORMAT "%d %b %Y %P %I:%M:%S %z"
|
| 6 |
+
}
|
deepseek/lib/tcl8.6/msgs/en_zw.msg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset en_ZW DATE_FORMAT "%d %B %Y"
|
| 4 |
+
::msgcat::mcset en_ZW TIME_FORMAT_12 "%l:%M:%S %P"
|
| 5 |
+
::msgcat::mcset en_ZW DATE_TIME_FORMAT "%d %B %Y %l:%M:%S %P %z"
|
| 6 |
+
}
|
deepseek/lib/tcl8.6/msgs/es.msg
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# created by tools/loadICU.tcl -- do not edit
|
| 2 |
+
namespace eval ::tcl::clock {
|
| 3 |
+
::msgcat::mcset es DAYS_OF_WEEK_ABBREV [list \
|
| 4 |
+
"dom"\
|
| 5 |
+
"lun"\
|
| 6 |
+
"mar"\
|
| 7 |
+
"mi\u00e9"\
|
| 8 |
+
"jue"\
|
| 9 |
+
"vie"\
|
| 10 |
+
"s\u00e1b"]
|
| 11 |
+
::msgcat::mcset es DAYS_OF_WEEK_FULL [list \
|
| 12 |
+
"domingo"\
|
| 13 |
+
"lunes"\
|
| 14 |
+
"martes"\
|
| 15 |
+
"mi\u00e9rcoles"\
|
| 16 |
+
"jueves"\
|
| 17 |
+
"viernes"\
|
| 18 |
+
"s\u00e1bado"]
|
| 19 |
+
::msgcat::mcset es MONTHS_ABBREV [list \
|
| 20 |
+
"ene"\
|
| 21 |
+
"feb"\
|
| 22 |
+
"mar"\
|
| 23 |
+
"abr"\
|
| 24 |
+
"may"\
|
| 25 |
+
"jun"\
|
| 26 |
+
"jul"\
|
| 27 |
+
"ago"\
|
| 28 |
+
"sep"\
|
| 29 |
+
"oct"\
|
| 30 |
+
"nov"\
|
| 31 |
+
"dic"\
|
| 32 |
+
""]
|
| 33 |
+
::msgcat::mcset es MONTHS_FULL [list \
|
| 34 |
+
"enero"\
|
| 35 |
+
"febrero"\
|
| 36 |
+
"marzo"\
|
| 37 |
+
"abril"\
|
| 38 |
+
"mayo"\
|
| 39 |
+
"junio"\
|
| 40 |
+
"julio"\
|
| 41 |
+
"agosto"\
|
| 42 |
+
"septiembre"\
|
| 43 |
+
"octubre"\
|
| 44 |
+
"noviembre"\
|
| 45 |
+
"diciembre"\
|
| 46 |
+
""]
|
| 47 |
+
::msgcat::mcset es BCE "a.C."
|
| 48 |
+
::msgcat::mcset es CE "d.C."
|
| 49 |
+
::msgcat::mcset es DATE_FORMAT "%e de %B de %Y"
|
| 50 |
+
::msgcat::mcset es TIME_FORMAT "%k:%M:%S"
|
| 51 |
+
::msgcat::mcset es DATE_TIME_FORMAT "%e de %B de %Y %k:%M:%S %z"
|
| 52 |
+
}
|