mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Remove trailing whitespace from all files (#497)
This commit is contained in:
parent
d3f3cb7ab4
commit
7e2eae5c15
356 changed files with 41701 additions and 41680 deletions
118
third_party/python/Include/Python-ast.h
generated
vendored
118
third_party/python/Include/Python-ast.h
generated
vendored
|
@ -51,19 +51,19 @@ struct _mod {
|
|||
struct {
|
||||
asdl_seq *body;
|
||||
} Module;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *body;
|
||||
} Interactive;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty body;
|
||||
} Expression;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *body;
|
||||
} Suite;
|
||||
|
||||
|
||||
} v;
|
||||
};
|
||||
|
||||
|
@ -85,7 +85,7 @@ struct _stmt {
|
|||
asdl_seq *decorator_list;
|
||||
expr_ty returns;
|
||||
} FunctionDef;
|
||||
|
||||
|
||||
struct {
|
||||
identifier name;
|
||||
arguments_ty args;
|
||||
|
@ -93,7 +93,7 @@ struct _stmt {
|
|||
asdl_seq *decorator_list;
|
||||
expr_ty returns;
|
||||
} AsyncFunctionDef;
|
||||
|
||||
|
||||
struct {
|
||||
identifier name;
|
||||
asdl_seq *bases;
|
||||
|
@ -101,108 +101,108 @@ struct _stmt {
|
|||
asdl_seq *body;
|
||||
asdl_seq *decorator_list;
|
||||
} ClassDef;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} Return;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *targets;
|
||||
} Delete;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *targets;
|
||||
expr_ty value;
|
||||
} Assign;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty target;
|
||||
operator_ty op;
|
||||
expr_ty value;
|
||||
} AugAssign;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty target;
|
||||
expr_ty annotation;
|
||||
expr_ty value;
|
||||
int simple;
|
||||
} AnnAssign;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty target;
|
||||
expr_ty iter;
|
||||
asdl_seq *body;
|
||||
asdl_seq *orelse;
|
||||
} For;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty target;
|
||||
expr_ty iter;
|
||||
asdl_seq *body;
|
||||
asdl_seq *orelse;
|
||||
} AsyncFor;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty test;
|
||||
asdl_seq *body;
|
||||
asdl_seq *orelse;
|
||||
} While;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty test;
|
||||
asdl_seq *body;
|
||||
asdl_seq *orelse;
|
||||
} If;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *items;
|
||||
asdl_seq *body;
|
||||
} With;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *items;
|
||||
asdl_seq *body;
|
||||
} AsyncWith;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty exc;
|
||||
expr_ty cause;
|
||||
} Raise;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *body;
|
||||
asdl_seq *handlers;
|
||||
asdl_seq *orelse;
|
||||
asdl_seq *finalbody;
|
||||
} Try;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty test;
|
||||
expr_ty msg;
|
||||
} Assert;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *names;
|
||||
} Import;
|
||||
|
||||
|
||||
struct {
|
||||
identifier module;
|
||||
asdl_seq *names;
|
||||
int level;
|
||||
} ImportFrom;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *names;
|
||||
} Global;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *names;
|
||||
} Nonlocal;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} Expr;
|
||||
|
||||
|
||||
} v;
|
||||
int lineno;
|
||||
int col_offset;
|
||||
|
@ -224,145 +224,145 @@ struct _expr {
|
|||
boolop_ty op;
|
||||
asdl_seq *values;
|
||||
} BoolOp;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty left;
|
||||
operator_ty op;
|
||||
expr_ty right;
|
||||
} BinOp;
|
||||
|
||||
|
||||
struct {
|
||||
unaryop_ty op;
|
||||
expr_ty operand;
|
||||
} UnaryOp;
|
||||
|
||||
|
||||
struct {
|
||||
arguments_ty args;
|
||||
expr_ty body;
|
||||
} Lambda;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty test;
|
||||
expr_ty body;
|
||||
expr_ty orelse;
|
||||
} IfExp;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *keys;
|
||||
asdl_seq *values;
|
||||
} Dict;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *elts;
|
||||
} Set;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty elt;
|
||||
asdl_seq *generators;
|
||||
} ListComp;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty elt;
|
||||
asdl_seq *generators;
|
||||
} SetComp;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty key;
|
||||
expr_ty value;
|
||||
asdl_seq *generators;
|
||||
} DictComp;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty elt;
|
||||
asdl_seq *generators;
|
||||
} GeneratorExp;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} Await;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} Yield;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} YieldFrom;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty left;
|
||||
asdl_int_seq *ops;
|
||||
asdl_seq *comparators;
|
||||
} Compare;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty func;
|
||||
asdl_seq *args;
|
||||
asdl_seq *keywords;
|
||||
} Call;
|
||||
|
||||
|
||||
struct {
|
||||
object n;
|
||||
} Num;
|
||||
|
||||
|
||||
struct {
|
||||
string s;
|
||||
} Str;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
int conversion;
|
||||
expr_ty format_spec;
|
||||
} FormattedValue;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *values;
|
||||
} JoinedStr;
|
||||
|
||||
|
||||
struct {
|
||||
bytes s;
|
||||
} Bytes;
|
||||
|
||||
|
||||
struct {
|
||||
singleton value;
|
||||
} NameConstant;
|
||||
|
||||
|
||||
struct {
|
||||
constant value;
|
||||
} Constant;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
identifier attr;
|
||||
expr_context_ty ctx;
|
||||
} Attribute;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
slice_ty slice;
|
||||
expr_context_ty ctx;
|
||||
} Subscript;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
expr_context_ty ctx;
|
||||
} Starred;
|
||||
|
||||
|
||||
struct {
|
||||
identifier id;
|
||||
expr_context_ty ctx;
|
||||
} Name;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *elts;
|
||||
expr_context_ty ctx;
|
||||
} List;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *elts;
|
||||
expr_context_ty ctx;
|
||||
} Tuple;
|
||||
|
||||
|
||||
} v;
|
||||
int lineno;
|
||||
int col_offset;
|
||||
|
@ -377,15 +377,15 @@ struct _slice {
|
|||
expr_ty upper;
|
||||
expr_ty step;
|
||||
} Slice;
|
||||
|
||||
|
||||
struct {
|
||||
asdl_seq *dims;
|
||||
} ExtSlice;
|
||||
|
||||
|
||||
struct {
|
||||
expr_ty value;
|
||||
} Index;
|
||||
|
||||
|
||||
} v;
|
||||
};
|
||||
|
||||
|
@ -405,7 +405,7 @@ struct _excepthandler {
|
|||
identifier name;
|
||||
asdl_seq *body;
|
||||
} ExceptHandler;
|
||||
|
||||
|
||||
} v;
|
||||
int lineno;
|
||||
int col_offset;
|
||||
|
|
8
third_party/python/Include/Python.h
vendored
8
third_party/python/Include/Python.h
vendored
|
@ -2,9 +2,9 @@
|
|||
#define Py_PYTHON_H
|
||||
/* clang-format off */
|
||||
|
||||
/*
|
||||
* PYTHON DIAMOND DEPENDENCY HEADER
|
||||
*
|
||||
/*
|
||||
* PYTHON DIAMOND DEPENDENCY HEADER
|
||||
*
|
||||
* If your editor isn't able to automatically insert #include lines,
|
||||
* then this header can make development easier. It's also great for
|
||||
* making beginner's tutorials simpler and more attractive.
|
||||
|
@ -12,7 +12,7 @@
|
|||
* However it's sloppy to use something like this in the long term since
|
||||
* it's not a scalable dependency model. It makes builds slower, because
|
||||
* changing any single header will invalidate all the build artifacts.
|
||||
*
|
||||
*
|
||||
* So please consider doing the conscientious thing and avoid using it!
|
||||
*/
|
||||
|
||||
|
|
|
@ -454,8 +454,8 @@ inline T _Py_ANNOTATE_UNPROTECTED_READ(const volatile T &x) {
|
|||
#define _Py_ANNOTATE_HAPPENS_BEFORE(obj)
|
||||
#define _Py_ANNOTATE_HAPPENS_AFTER(obj)
|
||||
#define _Py_ANNOTATE_PUBLISH_MEMORY_RANGE(address, size)
|
||||
#define _Py_ANNOTATE_UNPUBLISH_MEMORY_RANGE(address, size)
|
||||
#define _Py_ANNOTATE_SWAP_MEMORY_RANGE(address, size)
|
||||
#define _Py_ANNOTATE_UNPUBLISH_MEMORY_RANGE(address, size)
|
||||
#define _Py_ANNOTATE_SWAP_MEMORY_RANGE(address, size)
|
||||
#define _Py_ANNOTATE_PCQ_CREATE(pcq)
|
||||
#define _Py_ANNOTATE_PCQ_DESTROY(pcq)
|
||||
#define _Py_ANNOTATE_PCQ_PUT(pcq)
|
||||
|
|
|
@ -28,6 +28,6 @@ class x(Command):
|
|||
|
||||
def finalize_options(self):
|
||||
if self.x is None:
|
||||
self.x =
|
||||
self.x =
|
||||
|
||||
def run(self):
|
||||
|
|
|
@ -14,7 +14,7 @@ PORTTIME = -lporttime
|
|||
#--EndConfig
|
||||
|
||||
#DEBUG = -C-W -C-Wall
|
||||
DEBUG =
|
||||
DEBUG =
|
||||
|
||||
#the following modules are optional. you will want to compile
|
||||
#everything you can, but you can ignore ones you don't have
|
||||
|
@ -31,8 +31,8 @@ scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
|
|||
_camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG)
|
||||
pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG)
|
||||
|
||||
GFX = src/SDL_gfx/SDL_gfxPrimitives.c
|
||||
#GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c
|
||||
GFX = src/SDL_gfx/SDL_gfxPrimitives.c
|
||||
#GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c
|
||||
gfxdraw src/gfxdraw.c $(SDL) $(GFX) $(DEBUG)
|
||||
|
||||
|
||||
|
|
102
third_party/python/Lib/test/cfgparser.2
vendored
102
third_party/python/Lib/test/cfgparser.2
vendored
|
@ -3,19 +3,19 @@
|
|||
# here. Samba has a huge number of configurable options (perhaps too
|
||||
# many!) most of which are not shown in this example
|
||||
#
|
||||
# Any line which starts with a ; (semi-colon) or a # (hash)
|
||||
# Any line which starts with a ; (semi-colon) or a # (hash)
|
||||
# is a comment and is ignored. In this example we will use a #
|
||||
# for commentry and a ; for parts of the config file that you
|
||||
# may wish to enable
|
||||
#
|
||||
# NOTE: Whenever you modify this file you should run the command #"testparm" # to check that you have not made any basic syntactic #errors.
|
||||
# NOTE: Whenever you modify this file you should run the command #"testparm" # to check that you have not made any basic syntactic #errors.
|
||||
#
|
||||
#======================= Global Settings =====================================
|
||||
[global]
|
||||
|
||||
# 1. Server Naming Options:
|
||||
# workgroup = NT-Domain-Name or Workgroup-Name
|
||||
|
||||
|
||||
workgroup = MDKGROUP
|
||||
|
||||
# netbios name is the name you will see in "Network Neighbourhood",
|
||||
|
@ -24,7 +24,7 @@
|
|||
; netbios name = <name_of_this_server>
|
||||
|
||||
# server string is the equivalent of the NT Description field
|
||||
|
||||
|
||||
server string = Samba Server %v
|
||||
|
||||
# Message command is run by samba when a "popup" message is sent to it.
|
||||
|
@ -36,20 +36,20 @@
|
|||
# (as cups is now used in linux-mandrake 7.2 by default)
|
||||
# if you want to automatically load your printer list rather
|
||||
# than setting them up individually then you'll need this
|
||||
|
||||
|
||||
printcap name = lpstat
|
||||
load printers = yes
|
||||
|
||||
# It should not be necessary to spell out the print system type unless
|
||||
# yours is non-standard. Currently supported print systems include:
|
||||
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
|
||||
|
||||
|
||||
printing = cups
|
||||
|
||||
# Samba 2.2 supports the Windows NT-style point-and-print feature. To
|
||||
# use this, you need to be able to upload print drivers to the samba
|
||||
# server. The printer admins (or root) may install drivers onto samba.
|
||||
# Note that this feature uses the print$ share, so you will need to
|
||||
# Note that this feature uses the print$ share, so you will need to
|
||||
# enable it below.
|
||||
# This parameter works like domain admin group:
|
||||
# printer admin = @<group> <user>
|
||||
|
@ -92,7 +92,7 @@
|
|||
|
||||
# Use password server option only with security = server or security = # domain
|
||||
# When using security = domain, you should use password server = *
|
||||
; password server =
|
||||
; password server =
|
||||
; password server = *
|
||||
|
||||
# Password Level allows matching of _n_ characters of the password for
|
||||
|
@ -122,7 +122,7 @@
|
|||
# enable pam password change
|
||||
; pam password change = yes
|
||||
; passwd program = /usr/bin/passwd %u
|
||||
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
|
||||
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
|
||||
# %n\n
|
||||
;*passwd:*all*authentication*tokens*updated*successfully*
|
||||
|
||||
|
@ -137,7 +137,7 @@
|
|||
# Options for using winbind. Winbind allows you to do all account and
|
||||
# authentication from a Windows or samba domain controller, creating
|
||||
# accounts on the fly, and maintaining a mapping of Windows RIDs to
|
||||
# unix uid's
|
||||
# unix uid's
|
||||
# and gid's. winbind uid and winbind gid are the only required
|
||||
# parameters.
|
||||
#
|
||||
|
@ -163,8 +163,8 @@
|
|||
; template homedir = /home/%D/%U
|
||||
|
||||
# When using winbind, you may want to have samba create home
|
||||
# directories on the fly for authenticated users. Ensure that
|
||||
# /etc/pam.d/samba is using 'service=system-auth-winbind' in pam_stack
|
||||
# directories on the fly for authenticated users. Ensure that
|
||||
# /etc/pam.d/samba is using 'service=system-auth-winbind' in pam_stack
|
||||
# modules, and then enable obedience of pam restrictions below:
|
||||
; obey pam restrictions = yes
|
||||
|
||||
|
@ -181,7 +181,7 @@
|
|||
# Configure Samba to use multiple interfaces
|
||||
# If you have multiple network interfaces then you must list them
|
||||
# here. See the man page for details.
|
||||
; interfaces = 192.168.12.2/24 192.168.13.2/24
|
||||
; interfaces = 192.168.12.2/24 192.168.13.2/24
|
||||
|
||||
# Configure remote browse list synchronisation here
|
||||
# request announcement to, or browse list sync from:
|
||||
|
@ -201,14 +201,14 @@
|
|||
# Domain Master specifies Samba to be the Domain Master Browser. This
|
||||
# allows Samba to collate browse lists between subnets. Don't use this
|
||||
# if you already have a Windows NT domain controller doing this job
|
||||
; domain master = yes
|
||||
; domain master = yes
|
||||
|
||||
# Preferred Master causes Samba to force a local browser election on
|
||||
# startup and gives it a slightly higher chance of winning the election
|
||||
; preferred master = yes
|
||||
|
||||
# 6. Domain Control Options:
|
||||
# Enable this if you want Samba to be a domain logon server for
|
||||
# Enable this if you want Samba to be a domain logon server for
|
||||
# Windows95 workstations or Primary Domain Controller for WinNT and
|
||||
# Win2k
|
||||
|
||||
|
@ -232,16 +232,16 @@
|
|||
; logon home = \\%L\%U\.profile
|
||||
|
||||
# The add user script is used by a domain member to add local user
|
||||
# accounts that have been authenticated by the domain controller, or by
|
||||
# the domain controller to add local machine accounts when adding
|
||||
# accounts that have been authenticated by the domain controller, or by
|
||||
# the domain controller to add local machine accounts when adding
|
||||
# machines to the domain.
|
||||
# The script must work from the command line when replacing the macros,
|
||||
# or the operation will fail. Check that groups exist if forcing a
|
||||
# or the operation will fail. Check that groups exist if forcing a
|
||||
# group.
|
||||
# Script for domain controller for adding machines:
|
||||
; add user script = /usr/sbin/useradd -d /dev/null -g machines –c
|
||||
# 'Machine Account' -s /bin/false -M %u
|
||||
# Script for domain controller with LDAP backend for adding machines
|
||||
# Script for domain controller with LDAP backend for adding machines
|
||||
#(please
|
||||
# configure in /etc/samba/smbldap_conf.pm first):
|
||||
; add user script = /usr/share/samba/scripts/smbldap-useradd.pl -w –d
|
||||
|
@ -264,7 +264,7 @@
|
|||
# LDAP configuration for Domain Controlling:
|
||||
# The account (dn) that samba uses to access the LDAP server
|
||||
# This account needs to have write access to the LDAP tree
|
||||
# You will need to give samba the password for this dn, by
|
||||
# You will need to give samba the password for this dn, by
|
||||
# running 'smbpasswd -w mypassword'
|
||||
; ldap admin dn = cn=root,dc=mydomain,dc=com
|
||||
; ldap ssl = start_tls
|
||||
|
@ -277,16 +277,16 @@
|
|||
# 7. Name Resolution Options:
|
||||
# All NetBIOS names must be resolved to IP Addresses
|
||||
# 'Name Resolve Order' allows the named resolution mechanism to be
|
||||
# specified the default order is "host lmhosts wins bcast". "host"
|
||||
# means use the unix system gethostbyname() function call that will use
|
||||
# either /etc/hosts OR DNS or NIS depending on the settings of
|
||||
# specified the default order is "host lmhosts wins bcast". "host"
|
||||
# means use the unix system gethostbyname() function call that will use
|
||||
# either /etc/hosts OR DNS or NIS depending on the settings of
|
||||
# /etc/host.config, /etc/nsswitch.conf
|
||||
# and the /etc/resolv.conf file. "host" therefore is system
|
||||
# configuration dependent. This parameter is most often of use to
|
||||
# and the /etc/resolv.conf file. "host" therefore is system
|
||||
# configuration dependent. This parameter is most often of use to
|
||||
# prevent DNS lookups
|
||||
# in order to resolve NetBIOS names to IP Addresses. Use with care!
|
||||
# The example below excludes use of name resolution for machines that
|
||||
# are NOT on the local network segment - OR - are not deliberately to
|
||||
# are NOT on the local network segment - OR - are not deliberately to
|
||||
# be known via lmhosts or via WINS.
|
||||
; name resolve order = wins lmhosts bcast
|
||||
|
||||
|
@ -296,7 +296,7 @@
|
|||
; wins support = yes
|
||||
|
||||
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
|
||||
# Note: Samba can be either a WINS Server, or a WINS Client, but
|
||||
# Note: Samba can be either a WINS Server, or a WINS Client, but
|
||||
# NOT both
|
||||
; wins server = w.x.y.z
|
||||
|
||||
|
@ -305,11 +305,11 @@
|
|||
# at least one WINS Server on the network. The default is NO.
|
||||
; wins proxy = yes
|
||||
|
||||
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS
|
||||
# names via DNS nslookups. The built-in default for versions 1.9.17 is
|
||||
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS
|
||||
# names via DNS nslookups. The built-in default for versions 1.9.17 is
|
||||
# yes, this has been changed in version 1.9.18 to no.
|
||||
|
||||
dns proxy = no
|
||||
dns proxy = no
|
||||
|
||||
# 8. File Naming Options:
|
||||
# Case Preservation can be handy - system default is _no_
|
||||
|
@ -325,7 +325,7 @@
|
|||
# you can match a Windows code page with a UNIX character set.
|
||||
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
|
||||
# 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
|
||||
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean
|
||||
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean
|
||||
# Hangul),
|
||||
# 950 (Trad. Chin.).
|
||||
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
|
||||
|
@ -373,7 +373,7 @@
|
|||
; guest ok = yes
|
||||
|
||||
|
||||
# NOTE: If you have a CUPS print system there is no need to
|
||||
# NOTE: If you have a CUPS print system there is no need to
|
||||
# specifically define each individual printer.
|
||||
# You must configure the samba printers with the appropriate Windows
|
||||
# drivers on your Windows clients. On the Samba server no filtering is
|
||||
|
@ -395,9 +395,9 @@
|
|||
# print command: see above for details.
|
||||
# =====================================
|
||||
|
||||
print command = lpr-cups -P %p -o raw %s -r
|
||||
print command = lpr-cups -P %p -o raw %s -r
|
||||
# using client side printer drivers.
|
||||
; print command = lpr-cups -P %p %s
|
||||
; print command = lpr-cups -P %p %s
|
||||
# using cups own drivers (use generic PostScript on clients).
|
||||
# The following two commands are the samba defaults for printing=cups
|
||||
# change them only if you need different options:
|
||||
|
@ -406,11 +406,11 @@
|
|||
|
||||
# This share is used for Windows NT-style point-and-print support.
|
||||
# To be able to install drivers, you need to be either root, or listed
|
||||
# in the printer admin parameter above. Note that you also need write
|
||||
# access to the directory and share definition to be able to upload the
|
||||
# in the printer admin parameter above. Note that you also need write
|
||||
# access to the directory and share definition to be able to upload the
|
||||
# drivers.
|
||||
# For more information on this, please see the Printing Support Section
|
||||
# of /usr/share/doc/samba-/docs/Samba-HOWTO-Collection.pdf
|
||||
# of /usr/share/doc/samba-/docs/Samba-HOWTO-Collection.pdf
|
||||
|
||||
[print$]
|
||||
path = /var/lib/samba/printers
|
||||
|
@ -419,7 +419,7 @@
|
|||
write list = @adm root
|
||||
|
||||
# A useful application of samba is to make a PDF-generation service
|
||||
# To streamline this, install windows postscript drivers (preferably
|
||||
# To streamline this, install windows postscript drivers (preferably
|
||||
# colour)on the samba server, so that clients can automatically install
|
||||
# them.
|
||||
|
||||
|
@ -455,11 +455,11 @@
|
|||
# Uncomment next line.
|
||||
; vfs object = /usr/lib/samba/vfs/audit.so
|
||||
|
||||
# Other examples.
|
||||
# Other examples.
|
||||
#
|
||||
# A private printer, usable only by Fred. Spool data will be placed in
|
||||
# Fred's
|
||||
# home directory. Note that fred must have write access to the spool
|
||||
# home directory. Note that fred must have write access to the spool
|
||||
# directory,
|
||||
# wherever it is.
|
||||
;[fredsprn]
|
||||
|
@ -473,7 +473,7 @@
|
|||
|
||||
|
||||
-----------------------------------------------------------
|
||||
# A private directory, usable only by Fred. Note that Fred requires
|
||||
# A private directory, usable only by Fred. Note that Fred requires
|
||||
# write access to the directory.
|
||||
|
||||
;[fredsdir]
|
||||
|
@ -493,8 +493,8 @@
|
|||
|
||||
-----------------------------------------------------------
|
||||
|
||||
# a service which has a different directory for each machine that
|
||||
# connects this allows you to tailor configurations to incoming
|
||||
# a service which has a different directory for each machine that
|
||||
# connects this allows you to tailor configurations to incoming
|
||||
# machines. You could also use the %u option to tailor it by user name.
|
||||
# The %m gets replaced with the machine name that is connecting.
|
||||
;[pchome]
|
||||
|
@ -506,10 +506,10 @@
|
|||
|
||||
-----------------------------------------------------------
|
||||
# A publicly accessible directory, read/write to all users. Note that
|
||||
# all files created in the directory by users will be owned by the
|
||||
# default user, so any user with access can delete any other user's
|
||||
# files. Obviously this directory must be writable by the default user.
|
||||
# Another user could of course be specified, in which case all files
|
||||
# all files created in the directory by users will be owned by the
|
||||
# default user, so any user with access can delete any other user's
|
||||
# files. Obviously this directory must be writable by the default user.
|
||||
# Another user could of course be specified, in which case all files
|
||||
# would be owned by that user instead.
|
||||
|
||||
;[public]
|
||||
|
@ -521,10 +521,10 @@
|
|||
|
||||
-----------------------------------------------------------
|
||||
|
||||
# The following two entries demonstrate how to share a directory so
|
||||
# that two users can place files there that will be owned by the
|
||||
# specific users. In this setup, the directory should be writable by
|
||||
# both users and should have the sticky bit set on it to prevent abuse.
|
||||
# The following two entries demonstrate how to share a directory so
|
||||
# that two users can place files there that will be owned by the
|
||||
# specific users. In this setup, the directory should be writable by
|
||||
# both users and should have the sticky bit set on it to prevent abuse.
|
||||
# Obviously this could be extended to as many users as required.
|
||||
|
||||
;[myshare]
|
||||
|
|
8
third_party/python/Lib/test/cfgparser.3
vendored
8
third_party/python/Lib/test/cfgparser.3
vendored
|
@ -1,6 +1,6 @@
|
|||
# INI with as many tricky parts as possible
|
||||
# Most of them could not be used before 3.2
|
||||
|
||||
|
||||
# This will be parsed with the following options
|
||||
# delimiters = {'='}
|
||||
# comment_prefixes = {'#'}
|
||||
|
@ -21,7 +21,7 @@ go = %(interpolate)s
|
|||
|
||||
|
||||
[corruption]
|
||||
value = that is
|
||||
value = that is
|
||||
|
||||
|
||||
actually still here
|
||||
|
@ -45,7 +45,7 @@ go = %(interpolate)s
|
|||
[another one!]
|
||||
even if values are indented like this = seriously
|
||||
yes, this still applies to = section "another one!"
|
||||
this too = are there people with configurations broken as this?
|
||||
this too = are there people with configurations broken as this?
|
||||
beware, this is going to be a continuation
|
||||
of the value for
|
||||
key "this too"
|
||||
|
@ -63,7 +63,7 @@ interpolate = anything will do
|
|||
[tricky interpolation]
|
||||
interpolate = do this
|
||||
lets = %(go)s
|
||||
|
||||
|
||||
[more interpolation]
|
||||
interpolate = go shopping
|
||||
lets = %(go)s
|
||||
|
|
|
@ -10,7 +10,7 @@ python$target:::function-entry
|
|||
/self->trace/
|
||||
{
|
||||
printf("%d\t%*s:", timestamp, 15, probename);
|
||||
printf("%*s", self->indent, "");
|
||||
printf("%*s", self->indent, "");
|
||||
printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2);
|
||||
self->indent++;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ python$target:::function-return
|
|||
{
|
||||
self->indent--;
|
||||
printf("%d\t%*s:", timestamp, 15, probename);
|
||||
printf("%*s", self->indent, "");
|
||||
printf("%*s", self->indent, "");
|
||||
printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define python_width 16
|
||||
#define python_height 16
|
||||
static char python_bits[] = {
|
||||
0xDF, 0xFE, 0x8F, 0xFD, 0x5F, 0xFB, 0xAB, 0xFE, 0xB5, 0x8D, 0xDA, 0x8F,
|
||||
0xA5, 0x86, 0xFA, 0x83, 0x1A, 0x80, 0x0D, 0x80, 0x0D, 0x80, 0x0F, 0xE0,
|
||||
0xDF, 0xFE, 0x8F, 0xFD, 0x5F, 0xFB, 0xAB, 0xFE, 0xB5, 0x8D, 0xDA, 0x8F,
|
||||
0xA5, 0x86, 0xFA, 0x83, 0x1A, 0x80, 0x0D, 0x80, 0x0D, 0x80, 0x0F, 0xE0,
|
||||
0x0F, 0xF8, 0x0F, 0xF8, 0x0F, 0xFC, 0xFF, 0xFF, };
|
||||
|
|
12
third_party/python/Lib/test/keycert3.pem
vendored
12
third_party/python/Lib/test/keycert3.pem
vendored
|
@ -81,26 +81,26 @@ Certificate:
|
|||
c1:96:02:a1:de:96:1d:8a:b9:4d
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Subject Alternative Name:
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:localhost
|
||||
X509v3 Key Usage: critical
|
||||
Digital Signature, Key Encipherment
|
||||
X509v3 Extended Key Usage:
|
||||
X509v3 Extended Key Usage:
|
||||
TLS Web Server Authentication, TLS Web Client Authentication
|
||||
X509v3 Basic Constraints: critical
|
||||
CA:FALSE
|
||||
X509v3 Subject Key Identifier:
|
||||
X509v3 Subject Key Identifier:
|
||||
8F:EA:1D:E3:33:5C:00:16:B3:8B:6F:6B:6F:D3:4C:CB:B5:CB:7C:55
|
||||
X509v3 Authority Key Identifier:
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:DD:BF:CA:DA:E6:D1:34:BA:37:75:21:CA:6F:9A:08:28:F2:35:B6:48
|
||||
DirName:/C=XY/O=Python Software Foundation CA/CN=our-ca-server
|
||||
serial:CB:2D:80:99:5A:69:52:5B
|
||||
|
||||
Authority Information Access:
|
||||
Authority Information Access:
|
||||
CA Issuers - URI:http://testca.pythontest.net/testca/pycacert.cer
|
||||
OCSP - URI:http://testca.pythontest.net/testca/ocsp/
|
||||
|
||||
X509v3 CRL Distribution Points:
|
||||
X509v3 CRL Distribution Points:
|
||||
|
||||
Full Name:
|
||||
URI:http://testca.pythontest.net/testca/revocation.crl
|
||||
|
|
12
third_party/python/Lib/test/keycert4.pem
vendored
12
third_party/python/Lib/test/keycert4.pem
vendored
|
@ -81,26 +81,26 @@ Certificate:
|
|||
59:98:2d:b7:6a:45:f9:a2:76:73
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Subject Alternative Name:
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:fakehostname
|
||||
X509v3 Key Usage: critical
|
||||
Digital Signature, Key Encipherment
|
||||
X509v3 Extended Key Usage:
|
||||
X509v3 Extended Key Usage:
|
||||
TLS Web Server Authentication, TLS Web Client Authentication
|
||||
X509v3 Basic Constraints: critical
|
||||
CA:FALSE
|
||||
X509v3 Subject Key Identifier:
|
||||
X509v3 Subject Key Identifier:
|
||||
52:E0:93:AA:52:55:B7:BB:E7:A8:E0:8C:DE:41:2E:F4:07:F0:36:FB
|
||||
X509v3 Authority Key Identifier:
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:DD:BF:CA:DA:E6:D1:34:BA:37:75:21:CA:6F:9A:08:28:F2:35:B6:48
|
||||
DirName:/C=XY/O=Python Software Foundation CA/CN=our-ca-server
|
||||
serial:CB:2D:80:99:5A:69:52:5B
|
||||
|
||||
Authority Information Access:
|
||||
Authority Information Access:
|
||||
CA Issuers - URI:http://testca.pythontest.net/testca/pycacert.cer
|
||||
OCSP - URI:http://testca.pythontest.net/testca/ocsp/
|
||||
|
||||
X509v3 CRL Distribution Points:
|
||||
X509v3 CRL Distribution Points:
|
||||
|
||||
Full Name:
|
||||
URI:http://testca.pythontest.net/testca/revocation.crl
|
||||
|
|
|
@ -24,7 +24,7 @@ Here's an example interpreter session for test_gestalt which still leaks:
|
|||
[28938 refs]
|
||||
>>> leak()
|
||||
[28940 refs]
|
||||
>>>
|
||||
>>>
|
||||
|
||||
Once the leak is fixed, the test case should be moved into an appropriate
|
||||
test (even if it was originally from the test suite). This ensures the
|
||||
|
|
6
third_party/python/Lib/test/pycacert.pem
vendored
6
third_party/python/Lib/test/pycacert.pem
vendored
|
@ -41,12 +41,12 @@ Certificate:
|
|||
6a:1a:2f:7c:5f:83:c6:78:4f:1f
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Subject Key Identifier:
|
||||
X509v3 Subject Key Identifier:
|
||||
DD:BF:CA:DA:E6:D1:34:BA:37:75:21:CA:6F:9A:08:28:F2:35:B6:48
|
||||
X509v3 Authority Key Identifier:
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:DD:BF:CA:DA:E6:D1:34:BA:37:75:21:CA:6F:9A:08:28:F2:35:B6:48
|
||||
|
||||
X509v3 Basic Constraints:
|
||||
X509v3 Basic Constraints:
|
||||
CA:TRUE
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
33:6a:54:d3:6b:c0:d7:01:5f:9d:f4:05:c1:93:66:90:50:d0:
|
||||
|
|
32
third_party/python/Lib/test/sgml_input.html
vendored
32
third_party/python/Lib/test/sgml_input.html
vendored
|
@ -22,11 +22,11 @@ function haha(z1) {
|
|||
<td>
|
||||
<table border="1">
|
||||
<select size="1" onchange="haha(this)">
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=33875341&mode=Flotte&gid=&messageziel=&re=0" selected>Alien sex friend [2:250:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=33905100&mode=Flotte&gid=&messageziel=&re=0" >1989 [2:248:14]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34570808&mode=Flotte&gid=&messageziel=&re=0" >1990 [2:248:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34570858&mode=Flotte&gid=&messageziel=&re=0" >1991 [2:254:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34572929&mode=Flotte&gid=&messageziel=&re=0" >Colonia [2:253:12]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=33875341&mode=Flotte&gid=&messageziel=&re=0" selected>Alien sex friend [2:250:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=33905100&mode=Flotte&gid=&messageziel=&re=0" >1989 [2:248:14]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34570808&mode=Flotte&gid=&messageziel=&re=0" >1990 [2:248:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34570858&mode=Flotte&gid=&messageziel=&re=0" >1991 [2:254:6]</option>
|
||||
<option value="/game/flotten1.php?session=8912ae912fec&cp=34572929&mode=Flotte&gid=&messageziel=&re=0" >Colonia [2:253:12]</option>
|
||||
</select>
|
||||
</table>
|
||||
</td>
|
||||
|
@ -93,15 +93,15 @@ function haha(z1) {
|
|||
<th>Salida</th>
|
||||
<th>Objetivo</th>
|
||||
<th>Llegada</th>
|
||||
<th>Orden</th>
|
||||
<th>Orden</th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th>1</th>
|
||||
<th>
|
||||
<th>
|
||||
<a title="">Espionaje</a>
|
||||
<a title="Flota en el planeta">(F)</a>
|
||||
</th>
|
||||
<th> <a title="Sonda de espionaje: 3
|
||||
<th> <a title="Sonda de espionaje: 3
|
||||
">3</a></th>
|
||||
<th>[2:250:6]</th>
|
||||
<th>Wed Aug 9 18:00:02</th>
|
||||
|
@ -116,11 +116,11 @@ function haha(z1) {
|
|||
</tr>
|
||||
<tr height="20">
|
||||
<th>2</th>
|
||||
<th>
|
||||
<th>
|
||||
<a title="">Espionaje</a>
|
||||
<a title="Volver al planeta">(V)</a>
|
||||
</th>
|
||||
<th> <a title="Sonda de espionaje: 3
|
||||
<th> <a title="Sonda de espionaje: 3
|
||||
">3</a></th>
|
||||
<th>[2:250:6]</th>
|
||||
<th>Wed Aug 9 17:59:55</th>
|
||||
|
@ -132,7 +132,7 @@ function haha(z1) {
|
|||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<form action="flotten2.php?session=8912ae912fec" method="POST">
|
||||
<table width="519" border="0" cellpadding="0" cellspacing="1">
|
||||
<tr height="20">
|
||||
|
@ -146,7 +146,7 @@ function haha(z1) {
|
|||
<th>-</th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th><a title="Velocidad: 8500">Nave pequeña de carga</a></th>
|
||||
<th><a title="Velocidad: 8500">Nave pequeña de carga</a></th>
|
||||
<th>10<input type="hidden" name="maxship202" value="10"/></th>
|
||||
<!-- <th>8500 -->
|
||||
<input type="hidden" name="consumption202" value="10"/>
|
||||
|
@ -156,7 +156,7 @@ function haha(z1) {
|
|||
<th><input name="ship202" size="10" value="0" alt="Nave pequeña de carga 10"/></th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th><a title="Velocidad: 12750">Nave grande de carga</a></th>
|
||||
<th><a title="Velocidad: 12750">Nave grande de carga</a></th>
|
||||
<th>19<input type="hidden" name="maxship203" value="19"/></th>
|
||||
<!-- <th>12750 -->
|
||||
<input type="hidden" name="consumption203" value="50"/>
|
||||
|
@ -166,7 +166,7 @@ function haha(z1) {
|
|||
<th><input name="ship203" size="10" value="0" alt="Nave grande de carga 19"/></th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th><a title="Velocidad: 27000">Crucero</a></th>
|
||||
<th><a title="Velocidad: 27000">Crucero</a></th>
|
||||
<th>6<input type="hidden" name="maxship206" value="6"/></th>
|
||||
<!-- <th>27000 -->
|
||||
<input type="hidden" name="consumption206" value="300"/>
|
||||
|
@ -176,7 +176,7 @@ function haha(z1) {
|
|||
<th><input name="ship206" size="10" value="0" alt="Crucero 6"/></th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th><a title="Velocidad: 3400">Reciclador</a></th>
|
||||
<th><a title="Velocidad: 3400">Reciclador</a></th>
|
||||
<th>1<input type="hidden" name="maxship209" value="1"/></th>
|
||||
<!-- <th>3400 -->
|
||||
<input type="hidden" name="consumption209" value="300"/>
|
||||
|
@ -186,7 +186,7 @@ function haha(z1) {
|
|||
<th><input name="ship209" size="10" value="0" alt="Reciclador 1"/></th>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<th><a title="Velocidad: 170000000">Sonda de espionaje</a></th>
|
||||
<th><a title="Velocidad: 170000000">Sonda de espionaje</a></th>
|
||||
<th>139<input type="hidden" name="maxship210" value="139"/></th>
|
||||
<!-- <th>170000000 -->
|
||||
<input type="hidden" name="consumption210" value="1"/>
|
||||
|
|
2
third_party/python/Lib/test/test_cmd_line.py
vendored
2
third_party/python/Lib/test/test_cmd_line.py
vendored
|
@ -365,7 +365,7 @@ class CmdLineTest(unittest.TestCase):
|
|||
# Issue #7111: Python should work without standard streams
|
||||
|
||||
@unittest.skipIf(True, # TODO: sys, os need to be tested first
|
||||
# os.name != 'posix',
|
||||
# os.name != 'posix',
|
||||
"test needs POSIX semantics")
|
||||
def _test_no_stdio(self, streams):
|
||||
code = """if 1:
|
||||
|
|
2
third_party/python/Lib/test/test_dict.py
vendored
2
third_party/python/Lib/test/test_dict.py
vendored
|
@ -1268,7 +1268,7 @@ class CAPITest(unittest.TestCase):
|
|||
self.assertEqual(dict_getitem_knownhash(d, 'y', hash('y')), 2)
|
||||
self.assertEqual(dict_getitem_knownhash(d, 'z', hash('z')), 3)
|
||||
|
||||
# # TODO: Did this break? What did this do?
|
||||
# # TODO: Did this break? What did this do?
|
||||
# (likely related to disabling BadInternalCall in #264)
|
||||
# # not a dict
|
||||
# # find the APE compilation mode, run this test in dbg only #
|
||||
|
|
|
@ -20,7 +20,7 @@ Content-type: multipart/alternative;
|
|||
Content-type: text/plain; charset="ISO-8859-1"
|
||||
Content-transfer-encoding: quoted-printable
|
||||
|
||||
Some removed test.
|
||||
Some removed test.
|
||||
|
||||
--MS_Mac_OE_3071477847_720252_MIME_Part
|
||||
Content-type: text/html; charset="ISO-8859-1"
|
||||
|
|
|
@ -17,10 +17,10 @@ Content-Transfer-Encoding: 7bit
|
|||
|
||||
|
||||
Unlike the test test_nested-multiples-with-internal-boundary, this
|
||||
piece of text not only contains the outer boundary tags
|
||||
------- =_aaaaaaaaaa1
|
||||
and
|
||||
------- =_aaaaaaaaaa0
|
||||
piece of text not only contains the outer boundary tags
|
||||
------- =_aaaaaaaaaa1
|
||||
and
|
||||
------- =_aaaaaaaaaa0
|
||||
but puts them at the start of a line! And, to be even nastier, it
|
||||
even includes a couple of end tags, such as this one:
|
||||
|
||||
|
@ -30,7 +30,7 @@ and this one, which is from a multipart we haven't even seen yet!
|
|||
|
||||
------- =_aaaaaaaaaa4--
|
||||
|
||||
This will, I'm sure, cause much breakage of MIME parsers. But, as
|
||||
This will, I'm sure, cause much breakage of MIME parsers. But, as
|
||||
far as I can tell, it's perfectly legal. I have not yet ever seen
|
||||
a case of this in the wild, but I've seen *similar* things.
|
||||
|
||||
|
|
2
third_party/python/Lib/test/test_re.py
vendored
2
third_party/python/Lib/test/test_re.py
vendored
|
@ -1342,7 +1342,7 @@ class ReTests(unittest.TestCase):
|
|||
self.assertTrue(re.match(' (?x) (?i) ' + upper_char, lower_char, re.X))
|
||||
|
||||
# [jart] why does it care if it's a py or pyc?
|
||||
|
||||
|
||||
# p = upper_char + '(?i)'
|
||||
# with self.assertWarns(DeprecationWarning) as warns:
|
||||
# self.assertTrue(re.match(p, lower_char))
|
||||
|
|
2
third_party/python/Lib/test/test_stat.py
vendored
2
third_party/python/Lib/test/test_stat.py
vendored
|
@ -86,7 +86,7 @@ class TestFilemode:
|
|||
|
||||
def get_mode(self, fname=TESTFN, lstat=True):
|
||||
if lstat:
|
||||
st_mode = os.lstat(fname).st_mode
|
||||
st_mode = os.lstat(fname).st_mode
|
||||
else:
|
||||
st_mode = os.stat(fname).st_mode
|
||||
modestr = self.statmod.filemode(st_mode)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: latin1 -*-
|
||||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# at the start of it. Make sure this is preserved if any changes
|
||||
# are made! Also note that the coding cookie above conflicts with
|
||||
# the presence of a utf-8 BOM signature -- this is intended.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# at the start of it. Make sure this is preserved if any changes
|
||||
# are made!
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
|
||||
# at the start of it. Make sure this is preserved if any changes
|
||||
# are made!
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Tests for the 'tokenize' module.
|
||||
# Large bits stolen from test_grammar.py.
|
||||
# Large bits stolen from test_grammar.py.
|
||||
|
||||
# Comments
|
||||
"#"
|
||||
|
|
|
@ -52,7 +52,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
|||
set -l old_status $status
|
||||
|
||||
# Prompt override?
|
||||
if test -n "__VENV_PROMPT__"
|
||||
if test -n "__VENV_PROMPT__"
|
||||
printf "%s%s" "__VENV_PROMPT__" (set_color normal)
|
||||
else
|
||||
# ...Otherwise, prepend env
|
||||
|
|
|
@ -562,7 +562,7 @@ read_console_w(HANDLE handle, DWORD maxlen, DWORD *readlen) {
|
|||
Py_BEGIN_ALLOW_THREADS
|
||||
DWORD off = 0;
|
||||
while (off < maxlen) {
|
||||
DWORD n = (DWORD)-1;
|
||||
DWORD n = (DWORD)-1;
|
||||
DWORD len = min(maxlen - off, BUFSIZ);
|
||||
SetLastError(0);
|
||||
BOOL res = ReadConsoleW(handle, &buf[off], len, &n, NULL);
|
||||
|
|
|
@ -1585,7 +1585,7 @@ PREFIX(getAtts)(const ENCODING *enc, const char *ptr, int attsMax,
|
|||
/* not reached */
|
||||
}
|
||||
|
||||
static int
|
||||
static int
|
||||
PREFIX(charRefNumber)(const ENCODING *enc, const char *ptr) {
|
||||
int result = 0;
|
||||
/* skip &# */
|
||||
|
@ -1716,7 +1716,7 @@ PREFIX(nameMatchesAscii)(const ENCODING *enc, const char *ptr1,
|
|||
return ptr1 == end1;
|
||||
}
|
||||
|
||||
static int
|
||||
static int
|
||||
PREFIX(nameLength)(const ENCODING *enc, const char *ptr) {
|
||||
const char *start = ptr;
|
||||
for (;;) {
|
||||
|
|
4
third_party/python/Modules/getpath.c
vendored
4
third_party/python/Modules/getpath.c
vendored
|
@ -548,8 +548,8 @@ calculate_path(void)
|
|||
*/
|
||||
/* not searching for pyvenv.cfg */
|
||||
/* Avoid absolute path for prefix */
|
||||
wcsncpy(prefix,
|
||||
L"third_party/python/Lib",
|
||||
wcsncpy(prefix,
|
||||
L"third_party/python/Lib",
|
||||
MAXPATHLEN);
|
||||
/* wcsncpy(prefix, */
|
||||
/* L"/zip/.python", */
|
||||
|
|
2
third_party/python/Modules/resource.c
vendored
2
third_party/python/Modules/resource.c
vendored
|
@ -357,7 +357,7 @@ PyInit_resource(void)
|
|||
if (RLIMIT_NPROC!=127) PyModule_AddIntMacro(m, RLIMIT_NPROC);
|
||||
if (RLIMIT_MEMLOCK!=127) PyModule_AddIntMacro(m, RLIMIT_MEMLOCK);
|
||||
if (RLIMIT_SBSIZE!=127) PyModule_AddIntMacro(m, RLIMIT_SBSIZE);
|
||||
|
||||
|
||||
/* Linux specific */
|
||||
if (RLIMIT_MSGQUEUE!=127) PyModule_AddIntMacro(m, RLIMIT_MSGQUEUE);
|
||||
if (RLIMIT_NICE!=127) PyModule_AddIntMacro(m, RLIMIT_NICE);
|
||||
|
|
2
third_party/python/Modules/socketmodule.c
vendored
2
third_party/python/Modules/socketmodule.c
vendored
|
@ -2575,7 +2575,7 @@ sock_setsockopt(PySocketSockObject *s, PyObject *args)
|
|||
PyObject *none;
|
||||
|
||||
backup_optname = SO_REUSEADDR;
|
||||
if(IsWindows() && SO_REUSEADDR != 1)
|
||||
if(IsWindows() && SO_REUSEADDR != 1)
|
||||
backup_optname = 1;
|
||||
|
||||
/* setsockopt(level, opt, flag) */
|
||||
|
|
2
third_party/python/Modules/socketmodule.h
vendored
2
third_party/python/Modules/socketmodule.h
vendored
|
@ -21,7 +21,7 @@ typedef int SOCKET_T;
|
|||
#define PyLong_FromSocket_t(fd) PyLong_FromLongLong((SOCKET_T)(fd))
|
||||
#define PyLong_AsSocket_t(fd) (SOCKET_T)PyLong_AsLongLong(fd)
|
||||
#endif
|
||||
|
||||
|
||||
/* Socket address */
|
||||
typedef union sock_addr {
|
||||
struct sockaddr_in in;
|
||||
|
|
2
third_party/python/Modules/unicodedata.c
vendored
2
third_party/python/Modules/unicodedata.c
vendored
|
@ -73,7 +73,7 @@ static PyMemberDef DB_members[] = {
|
|||
};
|
||||
|
||||
static PyObject *
|
||||
new_previous_version(const char *name,
|
||||
new_previous_version(const char *name,
|
||||
const _PyUnicode_ChangeRecord* (*getrecord)(Py_UCS4),
|
||||
Py_UCS4 (*normalization)(Py_UCS4))
|
||||
{
|
||||
|
|
9810
third_party/python/Modules/unicodedata_codehash.c
vendored
9810
third_party/python/Modules/unicodedata_codehash.c
vendored
File diff suppressed because it is too large
Load diff
294
third_party/python/Modules/unicodedata_comp.c
vendored
294
third_party/python/Modules/unicodedata_comp.c
vendored
|
@ -1166,152 +1166,152 @@ const void *const _PyUnicode_CompIndex_ctor[] initarray = {
|
|||
};
|
||||
|
||||
const unsigned int _PyUnicode_CompData[1449] = {
|
||||
0, 0, 0, 922746880, 17, 9011200, 3758096384, 1101, 0, 50594176,
|
||||
204473872, 1082138624, 3288404736, 339559424, 3489660931, 2151677980,
|
||||
128, 0, 31360, 122880, 2181038080, 0, 7866368, 2147483648, 960, 0,
|
||||
2014838784, 274726912, 8448, 0, 136192, 0, 0, 67, 199, 0, 123040, 0,
|
||||
469762048, 2, 0, 0, 3846, 0, 61568, 246336, 234881024, 30, 0, 1075380224,
|
||||
6619186, 35921596, 145753168, 3611298992, 3, 134289920, 530436, 0,
|
||||
128843776, 0, 144703488, 3783264448, 2256535553, 7, 2013265920,
|
||||
1073741944, 2326559, 252706816, 37749022, 0, 0, 31104, 74240, 0, 1196032,
|
||||
0, 505544704, 15436, 0, 17344, 0, 0, 15802368, 0, 252968960, 0, 30888,
|
||||
427819008, 1728066368, 1409361920, 2147790850, 847881, 985, 30343168,
|
||||
136840208, 0, 2994733056, 7, 0, 618496, 0, 1931, 0, 1232, 123648, 0, 0,
|
||||
499712, 31662080, 0, 20316160, 0, 0, 247424, 0, 0, 641024, 2596864, 0, 0,
|
||||
4054843392, 0, 2642411520, 2013265920, 60, 31694848, 0, 0, 2029518848, 0,
|
||||
0, 991232, 134217728, 2147483769, 2646047, 6848512, 0, 30992, 0,
|
||||
2743074816, 2348810240, 60, 2684354560, 40, 3877, 2032140288, 0, 0,
|
||||
3540019456, 1409394688, 3758776323, 2152054804, 258408501, 44040192,
|
||||
274728772, 8416, 3489660928, 2018304, 0, 1073741824, 61, 0, 0,
|
||||
3848336032, 1, 0, 1342177280, 5, 0, 254541824, 69206360, 2120, 0, 497280,
|
||||
0, 350208, 0, 0, 3887, 91226804, 0, 2550136832, 7, 0, 720896, 63717376,
|
||||
0, 45875736, 0, 3443523584, 3, 0, 364544, 31899648, 0, 23200013,
|
||||
2042626048, 0, 249280, 0, 1677721600, 2953236483, 2150432781, 11927642,
|
||||
28835840, 191921048, 979375872, 184583424, 1, 537312256, 31924471, 0,
|
||||
24248320, 15596, 3888182176, 1, 0, 4160749568, 121, 63980008, 93, 0,
|
||||
4095769112, 3506438144, 3, 335544320, 8007741, 0, 2277277696, 24510574,
|
||||
147340784, 3906994176, 3179294465, 7, 0, 16228352, 1073741824, 256376926,
|
||||
0, 198705152, 6096, 0, 0, 8013824, 0, 0, 14683978, 59244994, 269485848,
|
||||
2311069792, 2734715392, 117278, 269381632, 4218912, 0, 1027735552,
|
||||
4027056128, 0, 16704, 100663296, 60, 31477760, 0, 0, 15374, 0, 0,
|
||||
151028608, 1, 2952790016, 16, 0, 35258368, 0, 0, 1937768448, 0,
|
||||
1476395008, 1110256, 0, 0, 2016673792, 0, 2218786816, 318767111, 30,
|
||||
2163243008, 2149392398, 257851450, 36307219, 123208796, 125872,
|
||||
2373976064, 235013376, 4, 536870912, 983, 0, 73663570, 61640, 246624, 0,
|
||||
3948032, 0, 0, 16416768, 285, 150501508, 4624, 0, 3456106496, 3, 0,
|
||||
2147483648, 145, 0, 2344, 0, 655298944, 30, 4026531840, 33, 0, 0, 30868,
|
||||
0, 494144, 1442840576, 2952790076, 2685321460, 2151383069, 19595412, 602,
|
||||
3968862072, 1, 151054336, 267778, 0, 64577536, 0, 0, 1212, 3315597312, 3,
|
||||
1778384896, 2, 0, 8126464, 0, 0, 61832, 15648, 0, 0, 15833088, 0,
|
||||
10190848, 7733, 0, 0, 20096, 81408, 0, 0, 126730240, 0, 82837504,
|
||||
3822059520, 1, 990592, 3964416, 0, 1073741824, 1936, 1015414784, 0, 0,
|
||||
4236247040, 82944, 246784, 2684354560, 968, 0, 85983232, 3832545280, 1,
|
||||
1174405120, 738197505, 121, 63512576, 0, 0, 127402952, 513806144,
|
||||
2810204992, 3959566080, 8076289, 1075122176, 2156085306, 263, 109314048,
|
||||
514913896, 0, 0, 1409286144, 121, 0, 254509056, 44695552, 0, 0, 497216,
|
||||
0, 3355443200, 1612779530, 66, 0, 15542, 0, 10976, 0, 2080374784,
|
||||
2952790137, 2859029, 0, 1019346944, 0, 0, 22592, 1991424, 3355443200,
|
||||
1437712, 0, 510328832, 15662, 0, 11424, 0, 0, 15951872, 3221225472,
|
||||
11632774, 1021444096, 0, 124656, 0, 4060086272, 3624134657, 1612091399,
|
||||
5980205, 16515072, 96222670, 490736520, 2243969696, 0, 2483249152,
|
||||
15964283, 0, 12156928, 7799, 31188, 0, 1048576000, 4261412879, 60, 0,
|
||||
2147483648, 511905600, 746, 0, 2705576160, 2550136839, 30, 2415919104,
|
||||
488, 0, 1025121931, 0, 3730833408, 3145744195, 1713305856, 2013265924,
|
||||
3759141108, 128336862, 0, 2077491200, 0, 2755669824, 7, 4026531840, 5, 0,
|
||||
12517376, 1025900544, 0, 0, 501056, 0, 1744830464, 3690751, 0, 0, 0,
|
||||
65032, 2843738112, 1004039, 4019200, 0, 0, 1962, 62652416, 0, 1061158912,
|
||||
0, 130048, 268435456, 15, 0, 3844, 2063089024, 3963617280, 1, 0, 4031488,
|
||||
0, 63291392, 0, 0, 4136632320, 126208, 505216, 0, 2684354560, 246, 0,
|
||||
3878, 145752064, 0, 248256, 0, 283648, 0, 4177920, 0, 0, 249036800, 7536,
|
||||
3934257152, 0, 484352, 0, 2276048896, 3922, 15702, 0, 2856321024, 7,
|
||||
245248, 0, 4153344, 0, 509, 253231104, 0, 75497472, 2181038095, 8059965,
|
||||
32264192, 0, 0, 15750, 0, 247264, 0, 0, 284596224, 3221225965, 1973, 0,
|
||||
4138205184, 0, 645922816, 15, 570368, 3758096384, 969, 0, 1110, 0, 16352,
|
||||
0, 0, 2148458496, 29, 15400960, 0, 1896, 0, 1460120576, 1744830479, 61,
|
||||
0, 128745472, 0, 2059156834, 3947888640, 1, 0, 4023808, 1073741824,
|
||||
63095265, 0, 0, 4037541888, 123248, 0, 0, 2423865344, 536871154,
|
||||
127189962, 0, 2039480320, 0, 248992, 1711276032, 30, 0, 0, 255033344,
|
||||
1022361600, 0, 124816, 0, 4093640704, 60, 31961088, 0, 0, 2053898240, 0,
|
||||
0, 3658444288, 2147483678, 123, 0, 258932736, 7906, 0, 0, 1837610816,
|
||||
3254779919, 61, 0, 129482752, 0, 0, 63256, 3120815424, 3992977415, 30, 0,
|
||||
64847872, 0, 0, 31680, 3709988528, 2004877315, 2026767, 0, 536870912,
|
||||
990, 0, 129499136, 0, 2063597568, 0, 252416, 0, 30, 0, 0, 252182528, 0,
|
||||
234881024, 15, 7894016, 2293760, 0, 0, 0, 4488, 15840, 0, 406811648, 14,
|
||||
66527232, 2030, 0, 4164943872, 127120, 0, 0, 8318976, 33325056, 113, 0,
|
||||
2086666240, 63688, 0, 2299520256, 3, 0, 1139081216, 1994, 8140, 0, 0,
|
||||
3305633408, 1, 3229574144, 1073742078, 117, 523763712, 15986, 0,
|
||||
3808689920, 0, 0, 2432319488, 500, 0, 0, 4284481536, 0, 4110417920,
|
||||
232975, 1207959552, 33456383, 15384576, 0, 2103705600, 0, 4269801472,
|
||||
1744947079, 4117023, 0, 0, 268304384, 0, 32464, 4169138176, 3, 0,
|
||||
2147483648, 3850491, 2147483648, 531632088, 0, 0, 3225673728, 7, 0,
|
||||
821932032, 507, 0, 0, 493387208, 3793875200, 3, 3892314112, 964670, 0, 0,
|
||||
522260368, 0, 0, 4039375040, 1979711495, 482847, 268435456, 66716157,
|
||||
31784960, 0, 4186471616, 130400, 0, 0, 3221225472, 3981563, 0, 0,
|
||||
2097430144, 4265607168, 261281, 0, 876540928, 15, 66854912, 2040, 971, 0,
|
||||
0, 2818572288, 2052367, 0, 3221225472, 1020, 528220160, 1948, 0,
|
||||
3623878656, 4128223367, 4187679, 0, 0, 266928128, 912, 0, 0, 3951034368,
|
||||
15, 2155841536, 29, 133808128, 0, 2144337920, 0, 31328, 0, 0, 2007040,
|
||||
3221225472, 257, 0, 645922816, 2587885568, 0, 0, 1051648, 4194304, 0, 0,
|
||||
2476, 1276125192, 922746880, 1, 637952, 0, 8495104, 0, 163840000, 4196,
|
||||
20032, 0, 402653184, 8, 0, 20545536, 0, 330825728, 8304, 40448,
|
||||
4060086272, 4, 1073741824, 79, 0, 0, 666894336, 0, 80640, 0, 2281701376,
|
||||
1610612774, 154, 0, 290193408, 1157627904, 0, 0, 634368, 539133952,
|
||||
1073741900, 311, 163446784, 0, 2342518784, 0, 3321888768, 1106953,
|
||||
5132288, 0, 0, 2232, 0, 968884224, 1, 3154116608, 2289683, 10362880, 0,
|
||||
1267, 0, 20304, 0, 0, 3355443200, 39, 20660224, 0, 2222, 0, 36544,
|
||||
1996488704, 4, 0, 2147483648, 310, 162922496, 0, 20128, 0, 0, 1476395008,
|
||||
1073741863, 2173223108, 786, 3144, 1650458624, 0, 0, 0, 3543040,
|
||||
3221225472, 436, 226492416, 0, 0, 150080, 1644167168, 18, 9650176, 0,
|
||||
164298752, 5016, 0, 3523307872, 2483398146, 11, 0, 2147483648, 98960114,
|
||||
395706368, 0, 0, 201216, 0, 0, 1073741926, 53592473, 1636, 6550, 0,
|
||||
1384120320, 435715, 1742336, 0, 2147483648, 116261750, 3550, 0,
|
||||
3147825152, 1, 0, 805306368, 129, 0, 3459, 1814036480, 0, 221504,
|
||||
201326592, 27, 0, 0, 226951168, 0, 27720, 1734344704, 3, 1785088, 0, 0,
|
||||
0, 3488, 1828978688, 0, 223328, 0, 3960832, 2415919104, 483, 0, 0,
|
||||
4074766336, 0, 497472, 0, 1073741824, 243, 127549440, 0, 15704,
|
||||
3948937216, 1, 2902458368, 30, 16103424, 0, 258146304, 0, 31516,
|
||||
3674210304, 3, 2021632, 0, 1073741824, 130089952, 0, 2113945100,
|
||||
4029677568, 254113, 117440512, 4129311, 536870912, 504, 0, 0, 4229431296,
|
||||
0, 516352, 167772160, 63, 33054720, 0, 0, 0, 64568, 3271811392, 7,
|
||||
540941312, 2952790142, 65118704, 0, 1058152207, 0, 129184, 0, 0,
|
||||
1476395008, 252, 132317184, 0, 16154, 4175429632, 1, 0, 0, 16545792,
|
||||
65159168, 1989, 1042947859, 0, 0, 2365587456, 2038799, 0, 0, 2277949440,
|
||||
3982, 2089827908, 0, 3825460416, 587202567, 4082207, 1879048192,
|
||||
66200050, 0, 8082, 0, 0, 3380609024, 15, 8278016, 2684354560, 1010,
|
||||
529924096, 0, 0, 0, 1035136, 2956874752, 124, 65388544, 2022, 1046093611,
|
||||
0, 4079088368, 3, 2071040, 0, 0, 2147483648, 4045, 2121269248, 0, 258976,
|
||||
2650800128, 31, 0, 0, 265256960, 1046740992, 31952, 3871342592, 3,
|
||||
1780429568, 62, 32731136, 0, 0, 0, 4089510352, 1, 0, 0, 16379904,
|
||||
3221225472, 262047694, 0, 31996, 3896508416, 512259, 2317304576, 62, 0,
|
||||
0, 525078437, 0, 0, 3535798272, 1025671, 1346282496, 125, 65716224, 0,
|
||||
1051336531, 0, 128368, 0, 0, 3623878656, 32887034, 0, 0, 0, 64248,
|
||||
3632267264, 1028615, 2550136832, 16580733, 1139564544, 2009, 1053687808,
|
||||
32388, 4097835008, 3, 2073344, 0, 0, 0, 4050, 2123628544, 0, 259264,
|
||||
2801795072, 31, 0, 2147483648, 263587802, 0, 4248862136, 3982491648,
|
||||
514883, 3724541952, 8299582, 1073741824, 1013, 531300352, 0, 0, 0,
|
||||
1037824, 3019898880, 126, 66437120, 0, 8111, 0, 0, 3640655872, 15,
|
||||
8325120, 1073741824, 1022, 532086784, 0, 0, 4081057792, 1042183,
|
||||
1006632960, 127, 3221225472, 2033, 1072562176, 0, 0, 4001366016, 2088463,
|
||||
0, 0, 2147483648, 4079, 17204, 430964736, 2, 0, 0, 17657856, 1073741824,
|
||||
2163, 1134428160, 0, 138464, 0, 0, 536870912, 272, 142753792, 0, 17432,
|
||||
574619648, 2, 0, 0, 17903616, 1073741824, 2192, 1149763584, 0, 140400, 0,
|
||||
0, 1207959552, 274, 144392192, 0, 17604, 654311424, 2, 0, 0, 18057216, 0,
|
||||
2205, 1156186112, 0, 141184, 0, 0, 3355443200, 275, 144703488, 0, 17666,
|
||||
771751936, 2, 0, 0, 18286592, 0, 2209, 1158283264, 0, 141440, 0, 0,
|
||||
1207959552, 276, 146309120, 0, 17862, 717225984, 2, 0, 0, 18180096,
|
||||
2147483648, 2219, 1163788288, 0, 143008, 0, 0, 1476395008, 279,
|
||||
146472960, 0, 17882, 0, 397952, 1275068416, 48, 0, 0, 405209088, 0,
|
||||
49472, 171966464, 6, 3167232, 0, 0, 0, 6187, 3244294144, 0, 396096,
|
||||
1543503872, 48, 0, 0, 405733376, 0, 49536, 205520896, 6, 3171584, 0, 0,
|
||||
2147483648, 6195, 3248750592, 0, 474353152, 1929379852, 6350896, 0, 0,
|
||||
406519808, 12407, 0, 0, 1024204352, 4160749592, 12711008, 50978816, 0, 0,
|
||||
0, 100256, 721420288, 12, 6380544, 0, 779, 0, 0, 2240806912, 1, 797952,
|
||||
1811939328, 97, 51085312, 0, 0, 0, 99792, 788529152, 12, 6388736, 0, 780,
|
||||
0, 0, 2249195520, 1, 799040, 2382364672, 97, 51154944, 0, 0, 0,
|
||||
219252352, 3, 0, 1275068416, 25600195, 3323641856, 3125, 1639198937, 0,
|
||||
0, 1845493760, 3202328, 0, 0, 205373440, 0, 25072, 261095424, 3, 0, 0,
|
||||
25677824, 2147483648, 3135, 0, 2228224000, 8, 4466432, 1442840576, 545,
|
||||
3221225472, 8741, 288292864, 1, 883949568, 2255249, 0, 3995695104,
|
||||
145093714, 0, 2329739264, 0, 284396, 0, 4607488,
|
||||
0, 0, 0, 922746880, 17, 9011200, 3758096384, 1101, 0, 50594176,
|
||||
204473872, 1082138624, 3288404736, 339559424, 3489660931, 2151677980,
|
||||
128, 0, 31360, 122880, 2181038080, 0, 7866368, 2147483648, 960, 0,
|
||||
2014838784, 274726912, 8448, 0, 136192, 0, 0, 67, 199, 0, 123040, 0,
|
||||
469762048, 2, 0, 0, 3846, 0, 61568, 246336, 234881024, 30, 0, 1075380224,
|
||||
6619186, 35921596, 145753168, 3611298992, 3, 134289920, 530436, 0,
|
||||
128843776, 0, 144703488, 3783264448, 2256535553, 7, 2013265920,
|
||||
1073741944, 2326559, 252706816, 37749022, 0, 0, 31104, 74240, 0, 1196032,
|
||||
0, 505544704, 15436, 0, 17344, 0, 0, 15802368, 0, 252968960, 0, 30888,
|
||||
427819008, 1728066368, 1409361920, 2147790850, 847881, 985, 30343168,
|
||||
136840208, 0, 2994733056, 7, 0, 618496, 0, 1931, 0, 1232, 123648, 0, 0,
|
||||
499712, 31662080, 0, 20316160, 0, 0, 247424, 0, 0, 641024, 2596864, 0, 0,
|
||||
4054843392, 0, 2642411520, 2013265920, 60, 31694848, 0, 0, 2029518848, 0,
|
||||
0, 991232, 134217728, 2147483769, 2646047, 6848512, 0, 30992, 0,
|
||||
2743074816, 2348810240, 60, 2684354560, 40, 3877, 2032140288, 0, 0,
|
||||
3540019456, 1409394688, 3758776323, 2152054804, 258408501, 44040192,
|
||||
274728772, 8416, 3489660928, 2018304, 0, 1073741824, 61, 0, 0,
|
||||
3848336032, 1, 0, 1342177280, 5, 0, 254541824, 69206360, 2120, 0, 497280,
|
||||
0, 350208, 0, 0, 3887, 91226804, 0, 2550136832, 7, 0, 720896, 63717376,
|
||||
0, 45875736, 0, 3443523584, 3, 0, 364544, 31899648, 0, 23200013,
|
||||
2042626048, 0, 249280, 0, 1677721600, 2953236483, 2150432781, 11927642,
|
||||
28835840, 191921048, 979375872, 184583424, 1, 537312256, 31924471, 0,
|
||||
24248320, 15596, 3888182176, 1, 0, 4160749568, 121, 63980008, 93, 0,
|
||||
4095769112, 3506438144, 3, 335544320, 8007741, 0, 2277277696, 24510574,
|
||||
147340784, 3906994176, 3179294465, 7, 0, 16228352, 1073741824, 256376926,
|
||||
0, 198705152, 6096, 0, 0, 8013824, 0, 0, 14683978, 59244994, 269485848,
|
||||
2311069792, 2734715392, 117278, 269381632, 4218912, 0, 1027735552,
|
||||
4027056128, 0, 16704, 100663296, 60, 31477760, 0, 0, 15374, 0, 0,
|
||||
151028608, 1, 2952790016, 16, 0, 35258368, 0, 0, 1937768448, 0,
|
||||
1476395008, 1110256, 0, 0, 2016673792, 0, 2218786816, 318767111, 30,
|
||||
2163243008, 2149392398, 257851450, 36307219, 123208796, 125872,
|
||||
2373976064, 235013376, 4, 536870912, 983, 0, 73663570, 61640, 246624, 0,
|
||||
3948032, 0, 0, 16416768, 285, 150501508, 4624, 0, 3456106496, 3, 0,
|
||||
2147483648, 145, 0, 2344, 0, 655298944, 30, 4026531840, 33, 0, 0, 30868,
|
||||
0, 494144, 1442840576, 2952790076, 2685321460, 2151383069, 19595412, 602,
|
||||
3968862072, 1, 151054336, 267778, 0, 64577536, 0, 0, 1212, 3315597312, 3,
|
||||
1778384896, 2, 0, 8126464, 0, 0, 61832, 15648, 0, 0, 15833088, 0,
|
||||
10190848, 7733, 0, 0, 20096, 81408, 0, 0, 126730240, 0, 82837504,
|
||||
3822059520, 1, 990592, 3964416, 0, 1073741824, 1936, 1015414784, 0, 0,
|
||||
4236247040, 82944, 246784, 2684354560, 968, 0, 85983232, 3832545280, 1,
|
||||
1174405120, 738197505, 121, 63512576, 0, 0, 127402952, 513806144,
|
||||
2810204992, 3959566080, 8076289, 1075122176, 2156085306, 263, 109314048,
|
||||
514913896, 0, 0, 1409286144, 121, 0, 254509056, 44695552, 0, 0, 497216,
|
||||
0, 3355443200, 1612779530, 66, 0, 15542, 0, 10976, 0, 2080374784,
|
||||
2952790137, 2859029, 0, 1019346944, 0, 0, 22592, 1991424, 3355443200,
|
||||
1437712, 0, 510328832, 15662, 0, 11424, 0, 0, 15951872, 3221225472,
|
||||
11632774, 1021444096, 0, 124656, 0, 4060086272, 3624134657, 1612091399,
|
||||
5980205, 16515072, 96222670, 490736520, 2243969696, 0, 2483249152,
|
||||
15964283, 0, 12156928, 7799, 31188, 0, 1048576000, 4261412879, 60, 0,
|
||||
2147483648, 511905600, 746, 0, 2705576160, 2550136839, 30, 2415919104,
|
||||
488, 0, 1025121931, 0, 3730833408, 3145744195, 1713305856, 2013265924,
|
||||
3759141108, 128336862, 0, 2077491200, 0, 2755669824, 7, 4026531840, 5, 0,
|
||||
12517376, 1025900544, 0, 0, 501056, 0, 1744830464, 3690751, 0, 0, 0,
|
||||
65032, 2843738112, 1004039, 4019200, 0, 0, 1962, 62652416, 0, 1061158912,
|
||||
0, 130048, 268435456, 15, 0, 3844, 2063089024, 3963617280, 1, 0, 4031488,
|
||||
0, 63291392, 0, 0, 4136632320, 126208, 505216, 0, 2684354560, 246, 0,
|
||||
3878, 145752064, 0, 248256, 0, 283648, 0, 4177920, 0, 0, 249036800, 7536,
|
||||
3934257152, 0, 484352, 0, 2276048896, 3922, 15702, 0, 2856321024, 7,
|
||||
245248, 0, 4153344, 0, 509, 253231104, 0, 75497472, 2181038095, 8059965,
|
||||
32264192, 0, 0, 15750, 0, 247264, 0, 0, 284596224, 3221225965, 1973, 0,
|
||||
4138205184, 0, 645922816, 15, 570368, 3758096384, 969, 0, 1110, 0, 16352,
|
||||
0, 0, 2148458496, 29, 15400960, 0, 1896, 0, 1460120576, 1744830479, 61,
|
||||
0, 128745472, 0, 2059156834, 3947888640, 1, 0, 4023808, 1073741824,
|
||||
63095265, 0, 0, 4037541888, 123248, 0, 0, 2423865344, 536871154,
|
||||
127189962, 0, 2039480320, 0, 248992, 1711276032, 30, 0, 0, 255033344,
|
||||
1022361600, 0, 124816, 0, 4093640704, 60, 31961088, 0, 0, 2053898240, 0,
|
||||
0, 3658444288, 2147483678, 123, 0, 258932736, 7906, 0, 0, 1837610816,
|
||||
3254779919, 61, 0, 129482752, 0, 0, 63256, 3120815424, 3992977415, 30, 0,
|
||||
64847872, 0, 0, 31680, 3709988528, 2004877315, 2026767, 0, 536870912,
|
||||
990, 0, 129499136, 0, 2063597568, 0, 252416, 0, 30, 0, 0, 252182528, 0,
|
||||
234881024, 15, 7894016, 2293760, 0, 0, 0, 4488, 15840, 0, 406811648, 14,
|
||||
66527232, 2030, 0, 4164943872, 127120, 0, 0, 8318976, 33325056, 113, 0,
|
||||
2086666240, 63688, 0, 2299520256, 3, 0, 1139081216, 1994, 8140, 0, 0,
|
||||
3305633408, 1, 3229574144, 1073742078, 117, 523763712, 15986, 0,
|
||||
3808689920, 0, 0, 2432319488, 500, 0, 0, 4284481536, 0, 4110417920,
|
||||
232975, 1207959552, 33456383, 15384576, 0, 2103705600, 0, 4269801472,
|
||||
1744947079, 4117023, 0, 0, 268304384, 0, 32464, 4169138176, 3, 0,
|
||||
2147483648, 3850491, 2147483648, 531632088, 0, 0, 3225673728, 7, 0,
|
||||
821932032, 507, 0, 0, 493387208, 3793875200, 3, 3892314112, 964670, 0, 0,
|
||||
522260368, 0, 0, 4039375040, 1979711495, 482847, 268435456, 66716157,
|
||||
31784960, 0, 4186471616, 130400, 0, 0, 3221225472, 3981563, 0, 0,
|
||||
2097430144, 4265607168, 261281, 0, 876540928, 15, 66854912, 2040, 971, 0,
|
||||
0, 2818572288, 2052367, 0, 3221225472, 1020, 528220160, 1948, 0,
|
||||
3623878656, 4128223367, 4187679, 0, 0, 266928128, 912, 0, 0, 3951034368,
|
||||
15, 2155841536, 29, 133808128, 0, 2144337920, 0, 31328, 0, 0, 2007040,
|
||||
3221225472, 257, 0, 645922816, 2587885568, 0, 0, 1051648, 4194304, 0, 0,
|
||||
2476, 1276125192, 922746880, 1, 637952, 0, 8495104, 0, 163840000, 4196,
|
||||
20032, 0, 402653184, 8, 0, 20545536, 0, 330825728, 8304, 40448,
|
||||
4060086272, 4, 1073741824, 79, 0, 0, 666894336, 0, 80640, 0, 2281701376,
|
||||
1610612774, 154, 0, 290193408, 1157627904, 0, 0, 634368, 539133952,
|
||||
1073741900, 311, 163446784, 0, 2342518784, 0, 3321888768, 1106953,
|
||||
5132288, 0, 0, 2232, 0, 968884224, 1, 3154116608, 2289683, 10362880, 0,
|
||||
1267, 0, 20304, 0, 0, 3355443200, 39, 20660224, 0, 2222, 0, 36544,
|
||||
1996488704, 4, 0, 2147483648, 310, 162922496, 0, 20128, 0, 0, 1476395008,
|
||||
1073741863, 2173223108, 786, 3144, 1650458624, 0, 0, 0, 3543040,
|
||||
3221225472, 436, 226492416, 0, 0, 150080, 1644167168, 18, 9650176, 0,
|
||||
164298752, 5016, 0, 3523307872, 2483398146, 11, 0, 2147483648, 98960114,
|
||||
395706368, 0, 0, 201216, 0, 0, 1073741926, 53592473, 1636, 6550, 0,
|
||||
1384120320, 435715, 1742336, 0, 2147483648, 116261750, 3550, 0,
|
||||
3147825152, 1, 0, 805306368, 129, 0, 3459, 1814036480, 0, 221504,
|
||||
201326592, 27, 0, 0, 226951168, 0, 27720, 1734344704, 3, 1785088, 0, 0,
|
||||
0, 3488, 1828978688, 0, 223328, 0, 3960832, 2415919104, 483, 0, 0,
|
||||
4074766336, 0, 497472, 0, 1073741824, 243, 127549440, 0, 15704,
|
||||
3948937216, 1, 2902458368, 30, 16103424, 0, 258146304, 0, 31516,
|
||||
3674210304, 3, 2021632, 0, 1073741824, 130089952, 0, 2113945100,
|
||||
4029677568, 254113, 117440512, 4129311, 536870912, 504, 0, 0, 4229431296,
|
||||
0, 516352, 167772160, 63, 33054720, 0, 0, 0, 64568, 3271811392, 7,
|
||||
540941312, 2952790142, 65118704, 0, 1058152207, 0, 129184, 0, 0,
|
||||
1476395008, 252, 132317184, 0, 16154, 4175429632, 1, 0, 0, 16545792,
|
||||
65159168, 1989, 1042947859, 0, 0, 2365587456, 2038799, 0, 0, 2277949440,
|
||||
3982, 2089827908, 0, 3825460416, 587202567, 4082207, 1879048192,
|
||||
66200050, 0, 8082, 0, 0, 3380609024, 15, 8278016, 2684354560, 1010,
|
||||
529924096, 0, 0, 0, 1035136, 2956874752, 124, 65388544, 2022, 1046093611,
|
||||
0, 4079088368, 3, 2071040, 0, 0, 2147483648, 4045, 2121269248, 0, 258976,
|
||||
2650800128, 31, 0, 0, 265256960, 1046740992, 31952, 3871342592, 3,
|
||||
1780429568, 62, 32731136, 0, 0, 0, 4089510352, 1, 0, 0, 16379904,
|
||||
3221225472, 262047694, 0, 31996, 3896508416, 512259, 2317304576, 62, 0,
|
||||
0, 525078437, 0, 0, 3535798272, 1025671, 1346282496, 125, 65716224, 0,
|
||||
1051336531, 0, 128368, 0, 0, 3623878656, 32887034, 0, 0, 0, 64248,
|
||||
3632267264, 1028615, 2550136832, 16580733, 1139564544, 2009, 1053687808,
|
||||
32388, 4097835008, 3, 2073344, 0, 0, 0, 4050, 2123628544, 0, 259264,
|
||||
2801795072, 31, 0, 2147483648, 263587802, 0, 4248862136, 3982491648,
|
||||
514883, 3724541952, 8299582, 1073741824, 1013, 531300352, 0, 0, 0,
|
||||
1037824, 3019898880, 126, 66437120, 0, 8111, 0, 0, 3640655872, 15,
|
||||
8325120, 1073741824, 1022, 532086784, 0, 0, 4081057792, 1042183,
|
||||
1006632960, 127, 3221225472, 2033, 1072562176, 0, 0, 4001366016, 2088463,
|
||||
0, 0, 2147483648, 4079, 17204, 430964736, 2, 0, 0, 17657856, 1073741824,
|
||||
2163, 1134428160, 0, 138464, 0, 0, 536870912, 272, 142753792, 0, 17432,
|
||||
574619648, 2, 0, 0, 17903616, 1073741824, 2192, 1149763584, 0, 140400, 0,
|
||||
0, 1207959552, 274, 144392192, 0, 17604, 654311424, 2, 0, 0, 18057216, 0,
|
||||
2205, 1156186112, 0, 141184, 0, 0, 3355443200, 275, 144703488, 0, 17666,
|
||||
771751936, 2, 0, 0, 18286592, 0, 2209, 1158283264, 0, 141440, 0, 0,
|
||||
1207959552, 276, 146309120, 0, 17862, 717225984, 2, 0, 0, 18180096,
|
||||
2147483648, 2219, 1163788288, 0, 143008, 0, 0, 1476395008, 279,
|
||||
146472960, 0, 17882, 0, 397952, 1275068416, 48, 0, 0, 405209088, 0,
|
||||
49472, 171966464, 6, 3167232, 0, 0, 0, 6187, 3244294144, 0, 396096,
|
||||
1543503872, 48, 0, 0, 405733376, 0, 49536, 205520896, 6, 3171584, 0, 0,
|
||||
2147483648, 6195, 3248750592, 0, 474353152, 1929379852, 6350896, 0, 0,
|
||||
406519808, 12407, 0, 0, 1024204352, 4160749592, 12711008, 50978816, 0, 0,
|
||||
0, 100256, 721420288, 12, 6380544, 0, 779, 0, 0, 2240806912, 1, 797952,
|
||||
1811939328, 97, 51085312, 0, 0, 0, 99792, 788529152, 12, 6388736, 0, 780,
|
||||
0, 0, 2249195520, 1, 799040, 2382364672, 97, 51154944, 0, 0, 0,
|
||||
219252352, 3, 0, 1275068416, 25600195, 3323641856, 3125, 1639198937, 0,
|
||||
0, 1845493760, 3202328, 0, 0, 205373440, 0, 25072, 261095424, 3, 0, 0,
|
||||
25677824, 2147483648, 3135, 0, 2228224000, 8, 4466432, 1442840576, 545,
|
||||
3221225472, 8741, 288292864, 1, 883949568, 2255249, 0, 3995695104,
|
||||
145093714, 0, 2329739264, 0, 284396, 0, 4607488,
|
||||
};
|
||||
|
||||
|
|
4204
third_party/python/Modules/unicodedata_decomp.c
vendored
4204
third_party/python/Modules/unicodedata_decomp.c
vendored
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@
|
|||
/* clang-format off */
|
||||
|
||||
/**
|
||||
* Returns 1 if the input is certainly normalized, 0 if it might not be.
|
||||
* Returns 1 if the input is certainly normalized, 0 if it might not be.
|
||||
*/
|
||||
int
|
||||
_PyUnicode_IsNormalized(PyObject *self, PyObject *input, int nfc, int k)
|
||||
|
|
16778
third_party/python/Modules/unicodedata_lexicon.c
vendored
16778
third_party/python/Modules/unicodedata_lexicon.c
vendored
File diff suppressed because it is too large
Load diff
29872
third_party/python/Modules/unicodedata_phrasebook.c
vendored
29872
third_party/python/Modules/unicodedata_phrasebook.c
vendored
File diff suppressed because it is too large
Load diff
4
third_party/python/Objects/call.c
vendored
4
third_party/python/Objects/call.c
vendored
|
@ -678,13 +678,13 @@ _PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self, PyObject *
|
|||
result = ((_PyCFunctionFastWithKeywords)meth) (self, args, nargs, kwnames);
|
||||
break;
|
||||
|
||||
|
||||
|
||||
case METH_VARARGS:
|
||||
if (nkwargs) {
|
||||
goto no_keyword_error;
|
||||
}
|
||||
/* fall through next case */
|
||||
|
||||
|
||||
case METH_VARARGS | METH_KEYWORDS:
|
||||
{
|
||||
/* Slow-path: create a temporary tuple for positional arguments
|
||||
|
|
2
third_party/python/Objects/floatobject.c
vendored
2
third_party/python/Objects/floatobject.c
vendored
|
@ -1047,7 +1047,7 @@ float_round(PyObject *v, PyObject **args, Py_ssize_t nargs)
|
|||
x = PyFloat_AsDouble(v);
|
||||
if (!_PyArg_UnpackStack(args, nargs, "__round__", 0, 1, &o_ndigits))
|
||||
return NULL;
|
||||
|
||||
|
||||
if (o_ndigits == NULL || o_ndigits == Py_None) {
|
||||
/* single-argument round or with None ndigits:
|
||||
* round to nearest integer */
|
||||
|
|
2
third_party/python/Objects/frameobject.c
vendored
2
third_party/python/Objects/frameobject.c
vendored
|
@ -469,7 +469,7 @@ frame_dealloc(PyFrameObject *restrict f)
|
|||
|
||||
if (_PyObject_GC_IS_TRACKED(f))
|
||||
_PyObject_GC_UNTRACK(f);
|
||||
|
||||
|
||||
Py_TRASHCAN_SAFE_BEGIN(f)
|
||||
/* Kill all local variables */
|
||||
valuestack = f->f_valuestack;
|
||||
|
|
2
third_party/python/Python/errors.c
vendored
2
third_party/python/Python/errors.c
vendored
|
@ -611,7 +611,7 @@ PyObject *PyErr_SetExcFromWindowsErrWithFilenameObjects(
|
|||
buf32 = utf16to32(s_buf, len, &buf32z);
|
||||
message = PyUnicode_FromWideChar(buf32, buf32z);
|
||||
free(buf32);
|
||||
|
||||
|
||||
}
|
||||
if (message == NULL) {
|
||||
LocalFree(s_buf);
|
||||
|
|
2
third_party/python/Python/getargs.c
vendored
2
third_party/python/Python/getargs.c
vendored
|
@ -2142,7 +2142,7 @@ vgetargskeywordsfast(PyObject *args, PyObject *kwargs,
|
|||
PyObject **stack;
|
||||
Py_ssize_t nargs;
|
||||
|
||||
if(args == NULL
|
||||
if(args == NULL
|
||||
|| !PyTuple_Check(args)
|
||||
|| (kwargs != NULL && !PyDict_Check(kwargs)))
|
||||
{
|
||||
|
|
2
third_party/python/Python/initimport.c
vendored
2
third_party/python/Python/initimport.c
vendored
|
@ -77,5 +77,5 @@ _Py_InitImport(PyInterpreterState *interp, PyObject *sysmod)
|
|||
Py_FatalError("Py_Initialize: importlib install failed");
|
||||
}
|
||||
Py_DECREF(value);
|
||||
Py_DECREF(impmod);
|
||||
Py_DECREF(impmod);
|
||||
}
|
||||
|
|
2
third_party/python/Python/random.c
vendored
2
third_party/python/Python/random.c
vendored
|
@ -437,7 +437,7 @@ _PyRandom_Init(void)
|
|||
_PyRandom_Init() must not block Python initialization: call
|
||||
pyurandom() is non-blocking mode (blocking=0): see the PEP 524. */
|
||||
#if 1
|
||||
/*
|
||||
/*
|
||||
* [jart] modified to be more efficient
|
||||
*/
|
||||
for (i = 0; i < secret_size;) {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# (c) Copyright Marc-Andre Lemburg, 2005.
|
||||
# Licensed to PSF under a Contributor Agreement.
|
||||
#
|
||||
# Based on the file
|
||||
# Based on the file
|
||||
# ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/CP037.TXT
|
||||
# which is:
|
||||
#
|
||||
|
|
|
@ -255,4 +255,4 @@
|
|||
0xFE 0x00DA #LATIN CAPITAL LETTER U WITH ACUTE
|
||||
0xFF 0x009F #APPLICATION PROGRAM COMMAND (APC)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# (c) Copyright Marc-Andre Lemburg, 2005.
|
||||
# Licensed to PSF under a Contributor Agreement.
|
||||
#
|
||||
# Based on the file
|
||||
# Based on the file
|
||||
# ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT
|
||||
# which is:
|
||||
#
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# (c) Copyright Marc-Andre Lemburg, 2005.
|
||||
# Licensed to PSF under a Contributor Agreement.
|
||||
#
|
||||
# Based on the file
|
||||
# Based on the file
|
||||
# ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-11.TXT
|
||||
# which is:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue