diff --git a/Lib/_._/builtins/asciiImpl.html b/Lib/_._/builtins/asciiImpl.html index f5d011922..e38cdfc21 100644 --- a/Lib/_._/builtins/asciiImpl.html +++ b/Lib/_._/builtins/asciiImpl.html @@ -98,7 +98,7 @@

Procs

diff --git a/Lib/_._/builtins/iters.html b/Lib/_._/builtins/iters.html index 96d8406c6..d1d37c359 100644 --- a/Lib/_._/builtins/iters.html +++ b/Lib/_._/builtins/iters.html @@ -393,7 +393,7 @@

Exports

diff --git a/Lib/_._/builtins/list.html b/Lib/_._/builtins/list.html index d172f2366..2c381e863 100644 --- a/Lib/_._/builtins/list.html +++ b/Lib/_._/builtins/list.html @@ -798,7 +798,7 @@

Exports

diff --git a/Lib/_._/builtins/list_decl.html b/Lib/_._/builtins/list_decl.html index 1742e203e..4512cbe77 100644 --- a/Lib/_._/builtins/list_decl.html +++ b/Lib/_._/builtins/list_decl.html @@ -330,7 +330,7 @@

Converters

diff --git a/Lib/_._/builtins/private/iterGen.html b/Lib/_._/builtins/private/iterGen.html index 3b85e707d..fdc3b8915 100644 --- a/Lib/_._/builtins/private/iterGen.html +++ b/Lib/_._/builtins/private/iterGen.html @@ -129,7 +129,7 @@

Templates

diff --git a/Lib/_._/builtins/private/mathutils.html b/Lib/_._/builtins/private/mathutils.html index e01a796a7..1a708a314 100644 --- a/Lib/_._/builtins/private/mathutils.html +++ b/Lib/_._/builtins/private/mathutils.html @@ -113,7 +113,7 @@

Procs

diff --git a/Lib/_._/builtins/pyrange.html b/Lib/_._/builtins/pyrange.html index 36d51fede..94050747d 100644 --- a/Lib/_._/builtins/pyrange.html +++ b/Lib/_._/builtins/pyrange.html @@ -361,7 +361,7 @@

Templates

diff --git a/Lib/_._/builtins/pyslice.html b/Lib/_._/builtins/pyslice.html index f6192fb8a..6e7f7fba7 100644 --- a/Lib/_._/builtins/pyslice.html +++ b/Lib/_._/builtins/pyslice.html @@ -281,7 +281,7 @@

Converters

diff --git a/Lib/_._/builtins/reprImpl.html b/Lib/_._/builtins/reprImpl.html index b01a94dd1..bb92cc89d 100644 --- a/Lib/_._/builtins/reprImpl.html +++ b/Lib/_._/builtins/reprImpl.html @@ -120,7 +120,7 @@

Procs

diff --git a/Lib/_._/collections_abc.html b/Lib/_._/collections_abc.html index 494925fe6..6da731510 100644 --- a/Lib/_._/collections_abc.html +++ b/Lib/_._/collections_abc.html @@ -515,7 +515,7 @@

Templates

diff --git a/Lib/_._/io.html b/Lib/_._/io.html index 527a89047..81032282f 100644 --- a/Lib/_._/io.html +++ b/Lib/_._/io.html @@ -94,7 +94,7 @@

Exports

diff --git a/Lib/_._/io_abc.html b/Lib/_._/io_abc.html index fa5ff7003..a3f3a1515 100644 --- a/Lib/_._/io_abc.html +++ b/Lib/_._/io_abc.html @@ -254,7 +254,7 @@

Templates

diff --git a/Lib/_._/noneType.html b/Lib/_._/noneType.html index db18e680b..b43cbfa15 100644 --- a/Lib/_._/noneType.html +++ b/Lib/_._/noneType.html @@ -115,7 +115,7 @@

Consts

diff --git a/Lib/_._/private/backendMark.html b/Lib/_._/private/backendMark.html index fe43e98e0..c080abaec 100644 --- a/Lib/_._/private/backendMark.html +++ b/Lib/_._/private/backendMark.html @@ -193,7 +193,7 @@

Templates

diff --git a/Lib/_._/private/trans_imp.html b/Lib/_._/private/trans_imp.html index 52751308f..a12b22706 100644 --- a/Lib/_._/private/trans_imp.html +++ b/Lib/_._/private/trans_imp.html @@ -96,7 +96,7 @@

Macros

diff --git a/Lib/_._/pybool.html b/Lib/_._/pybool.html index c88816183..0831978c0 100644 --- a/Lib/_._/pybool.html +++ b/Lib/_._/pybool.html @@ -490,7 +490,7 @@

Templates

diff --git a/Lib/_._/pybytes/bytesbltins.html b/Lib/_._/pybytes/bytesbltins.html index 6bc814ecd..82ebcec09 100644 --- a/Lib/_._/pybytes/bytesbltins.html +++ b/Lib/_._/pybytes/bytesbltins.html @@ -141,7 +141,7 @@

Procs

diff --git a/Lib/_._/pybytes/bytesimpl.html b/Lib/_._/pybytes/bytesimpl.html index 9c09094a0..e1c5dc53f 100644 --- a/Lib/_._/pybytes/bytesimpl.html +++ b/Lib/_._/pybytes/bytesimpl.html @@ -684,7 +684,7 @@


- Made with Nim. Generated: 2024-06-29 04:47:20 UTC + Made with Nim. Generated: 2024-06-30 16:23:48 UTC diff --git a/Lib/_._/pyerrors.html b/Lib/_._/pyerrors.html index b04b574af..24d153767 100644 --- a/Lib/_._/pyerrors.html +++ b/Lib/_._/pyerrors.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/_._/pyerrors/lkuperr.html b/Lib/_._/pyerrors/lkuperr.html index 60006d254..531cada24 100644 --- a/Lib/_._/pyerrors/lkuperr.html +++ b/Lib/_._/pyerrors/lkuperr.html @@ -93,7 +93,7 @@

Types

diff --git a/Lib/_._/pyerrors/oserr.html b/Lib/_._/pyerrors/oserr.html index ca7399dbb..966c6d6d2 100644 --- a/Lib/_._/pyerrors/oserr.html +++ b/Lib/_._/pyerrors/oserr.html @@ -422,7 +422,7 @@

Templates

diff --git a/Lib/_._/pyerrors/rterr.html b/Lib/_._/pyerrors/rterr.html index b26c211a1..2b35b0444 100644 --- a/Lib/_._/pyerrors/rterr.html +++ b/Lib/_._/pyerrors/rterr.html @@ -101,7 +101,7 @@

Types

diff --git a/Lib/_._/pyerrors/simperr.html b/Lib/_._/pyerrors/simperr.html index e39377619..21e893df3 100644 --- a/Lib/_._/pyerrors/simperr.html +++ b/Lib/_._/pyerrors/simperr.html @@ -101,7 +101,7 @@

Types

diff --git a/Lib/_._/pystring/strbltins.html b/Lib/_._/pystring/strbltins.html index f71373c33..be51755eb 100644 --- a/Lib/_._/pystring/strbltins.html +++ b/Lib/_._/pystring/strbltins.html @@ -344,7 +344,7 @@

Templates

diff --git a/Lib/_._/pystring/strimpl.html b/Lib/_._/pystring/strimpl.html index 185d4cd67..ee3ade675 100644 --- a/Lib/_._/pystring/strimpl.html +++ b/Lib/_._/pystring/strimpl.html @@ -764,7 +764,7 @@


- Made with Nim. Generated: 2024-06-29 04:47:20 UTC + Made with Nim. Generated: 2024-06-30 16:23:48 UTC diff --git a/Lib/antigravity.html b/Lib/antigravity.html index f7c03a585..11f696298 100644 --- a/Lib/antigravity.html +++ b/Lib/antigravity.html @@ -62,7 +62,7 @@

src/pylib/Lib/antigravity

diff --git a/Lib/array.html b/Lib/array.html index 02b5c6c9d..4af2eefa3 100644 --- a/Lib/array.html +++ b/Lib/array.html @@ -976,7 +976,7 @@

Exports

diff --git a/Lib/cmath.html b/Lib/cmath.html index f57c8e81c..9e3cdce11 100644 --- a/Lib/cmath.html +++ b/Lib/cmath.html @@ -449,7 +449,7 @@

Exports

diff --git a/Lib/datetime.html b/Lib/datetime.html index bcd6a5788..e3ebfe782 100644 --- a/Lib/datetime.html +++ b/Lib/datetime.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/datetime_impl/consts.html b/Lib/datetime_impl/consts.html index e638862b9..82202bc76 100644 --- a/Lib/datetime_impl/consts.html +++ b/Lib/datetime_impl/consts.html @@ -101,7 +101,7 @@

Consts

diff --git a/Lib/datetime_impl/datetime_impl.html b/Lib/datetime_impl/datetime_impl.html index 68330bfa7..cf767acbb 100644 --- a/Lib/datetime_impl/datetime_impl.html +++ b/Lib/datetime_impl/datetime_impl.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/datetime_impl/datetime_impl/decl.html b/Lib/datetime_impl/datetime_impl/decl.html index 72e97d26d..472fa8e25 100644 --- a/Lib/datetime_impl/datetime_impl/decl.html +++ b/Lib/datetime_impl/datetime_impl/decl.html @@ -90,7 +90,7 @@

Types

diff --git a/Lib/datetime_impl/datetime_impl/meth.html b/Lib/datetime_impl/datetime_impl/meth.html index a2380c0b6..ec6e9bde8 100644 --- a/Lib/datetime_impl/datetime_impl/meth.html +++ b/Lib/datetime_impl/datetime_impl/meth.html @@ -112,7 +112,7 @@

Procs

diff --git a/Lib/datetime_impl/timedelta_impl.html b/Lib/datetime_impl/timedelta_impl.html index 5efbbabbe..ae85fddc1 100644 --- a/Lib/datetime_impl/timedelta_impl.html +++ b/Lib/datetime_impl/timedelta_impl.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/datetime_impl/timedelta_impl/decl.html b/Lib/datetime_impl/timedelta_impl/decl.html index 78a0adbac..6fb07640b 100644 --- a/Lib/datetime_impl/timedelta_impl/decl.html +++ b/Lib/datetime_impl/timedelta_impl/decl.html @@ -92,7 +92,7 @@

Types

diff --git a/Lib/datetime_impl/timedelta_impl/meth.html b/Lib/datetime_impl/timedelta_impl/meth.html index 6e80d9eea..62fd0d57b 100644 --- a/Lib/datetime_impl/timedelta_impl/meth.html +++ b/Lib/datetime_impl/timedelta_impl/meth.html @@ -574,7 +574,7 @@

Procs

diff --git a/Lib/datetime_impl/types.html b/Lib/datetime_impl/types.html index e734ffdd1..aa9633225 100644 --- a/Lib/datetime_impl/types.html +++ b/Lib/datetime_impl/types.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/fractions.html b/Lib/fractions.html index a3c9eaaa9..0ca509cab 100644 --- a/Lib/fractions.html +++ b/Lib/fractions.html @@ -1115,7 +1115,7 @@

Templates

diff --git a/Lib/future.html b/Lib/future.html index b500a2d88..8fc86afce 100644 --- a/Lib/future.html +++ b/Lib/future.html @@ -90,7 +90,7 @@

Consts

diff --git a/Lib/index.html b/Lib/index.html index f0453c417..107d7312e 100644 --- a/Lib/index.html +++ b/Lib/index.html @@ -100,7 +100,7 @@

Imports

diff --git a/Lib/io.html b/Lib/io.html index 9cba5602a..c8f065ed4 100644 --- a/Lib/io.html +++ b/Lib/io.html @@ -944,7 +944,7 @@

Exports

diff --git a/Lib/itertools.html b/Lib/itertools.html index 9aea96b7d..3458f8228 100644 --- a/Lib/itertools.html +++ b/Lib/itertools.html @@ -153,7 +153,7 @@

Iterators

diff --git a/Lib/math.html b/Lib/math.html index 7a008611b..7b13b1f29 100644 --- a/Lib/math.html +++ b/Lib/math.html @@ -676,7 +676,7 @@

Templates

diff --git a/Lib/n_pathlib.html b/Lib/n_pathlib.html index 0b9ec265a..8c7c07baa 100644 --- a/Lib/n_pathlib.html +++ b/Lib/n_pathlib.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/n_time.html b/Lib/n_time.html index f3b79e9c0..5fcb5a570 100644 --- a/Lib/n_time.html +++ b/Lib/n_time.html @@ -254,7 +254,7 @@

Procs

Warning: -In current implementation, whitespace in format string means itself AS-IS, unlike C or Python, where any whitespace means a serial of any whitespaces. If really wanting the behavior of C's, consider use std/strscan.
+In current implementation, whitespace in format string means itself AS-IS, unlike C or Python, where any whitespace means a serial of any whitespaces. If really wanting the behavior of C's, consider using std/strscan.
Warning: Current strptime is just locale-unaware, when it comes to "the locale's format", like "%x", it always uses the format of "C" locale, no matter what the locale is. a.k.a. Changing locale via C's api in <locale.h> doesn't affect this function.
@@ -281,7 +281,7 @@

Exports

diff --git a/Lib/ncodec.html b/Lib/ncodec.html index 60a3c99d8..4bae1f75a 100644 --- a/Lib/ncodec.html +++ b/Lib/ncodec.html @@ -209,7 +209,7 @@

Exports

diff --git a/Lib/nitertools.html b/Lib/nitertools.html index 60080e391..5f5d78658 100644 --- a/Lib/nitertools.html +++ b/Lib/nitertools.html @@ -96,7 +96,7 @@

Iterators

diff --git a/Lib/os.html b/Lib/os.html index 22170f4b6..c8cb99326 100644 --- a/Lib/os.html +++ b/Lib/os.html @@ -75,7 +75,7 @@

Imports

Exports

- O_WRONLY, devnull, altsep, |=, O_EXCL, curdir, extsep, O_CREAT, linesep, O_RDWR, |, name, O_APPEND, O_RDONLY, pathsep, sep, defpath, O_TRUNC, pardir, O_CLOEXEC, isatty, unlink, write, utime, close, close, utime, closerange, TimeNsPair, rename, initBufAsPy, readline, stat, open, readline, TimePair, utime, rmdir, replace, remove, raiseOsOrFileNotFoundError, mkdir, scandir, read, stat_result, close, symlink, readline, st_ctime, write, raiseOsOrFileNotFoundError, st_atime, mkdir, scandir, ftruncate, scandir, fdopen, read, read, close, readline, write, symlink, readline, open, truncate, truncate, scandir, readlink, rmdir, seek, read, readline, link, read, stat, st_mtime, open, seek, read, truncate, system, removedirs, getcwd, chdir, makedirs, getcwdb, osErrorMsgWithPath, chars, fspath, getctime, raiseExcWithPath2, splitext, toPyStr, substr, items, raiseFileNotFoundError, ==, str, name, substr, PyStr, getChar, and, $, NotADirectoryError, |, +=, $, pathsAsOne, [], split, curdir, isabs, O_RDONLY, +=, raiseExcWithPath, osErrorMsgWithPath, altsep, substr, bytes, O_APPEND, getCharPtr, |=, isfile, [], runeLenAt, islink, raiseFileNotFoundError, mapPathLike, CanIOOpenT, FileNotFoundError, +, runes, normpath, samefile, ==, fspath, pathsep, noWeirdTarget, str, chars, PathLike, len, errnoMsg, +, bytes, toPyStr, ==, @, extsep, NoneType, str, defpath, contains, FileExistsError, pardir, dirname, +, toPyStr, O_WRONLY, byteLen, toNimString, not, pybytes, O_RDWR, contains, O_EXCL, O_CREAT, StringLike, toNimString, +, sep, repr, pathrepr, not, raiseErrnoWithPath, contains, getChar, $, [], +=, getmtime, hasChar, IsADirectoryError, raiseExcWithPath, ==, linesep, runeAtPos, fspath, raiseErrno, +=, +, pathrepr, +=, None, O_TRUNC, $, relpath, tryOsOp, raiseFileExistsError, [], getatime, str, str, or, abspath, isdir, byteLen, items, splitdrive, [], bytes, bytes, join, repr, O_CLOEXEC, len, bytes, devnull, mapPathLike, +, len, raiseExcWithPath, str, getsize, join, bytes, +, +=, or, bytes, PyBytes, toNimStr, fspath, raiseExcWithPath, bytes, basename, isNotFound, [], $, OnErrorCb, walk, WalkRes, toTup, shallIgnore, repr, walk, walk, walk, [], listdir, get_terminal_size, terminal_size + O_WRONLY, devnull, altsep, |=, O_EXCL, curdir, extsep, O_CREAT, linesep, O_RDWR, |, name, O_APPEND, O_RDONLY, pathsep, sep, defpath, O_TRUNC, pardir, O_CLOEXEC, isatty, unlink, write, utime, close, close, utime, closerange, TimeNsPair, rename, initBufAsPy, readline, stat, open, readline, TimePair, utime, rmdir, replace, remove, raiseOsOrFileNotFoundError, mkdir, scandir, read, stat_result, close, symlink, readline, st_ctime, raiseOsOrFileNotFoundError, write, close, st_atime, mkdir, scandir, ftruncate, scandir, fdopen, read, read, readline, write, symlink, readline, open, truncate, truncate, scandir, truncate, readlink, rmdir, seek, read, readline, link, read, stat, st_mtime, open, seek, read, system, removedirs, getcwd, chdir, makedirs, getcwdb, osErrorMsgWithPath, chars, fspath, getctime, raiseExcWithPath2, splitext, toPyStr, substr, items, raiseFileNotFoundError, ==, str, name, substr, PyStr, getChar, and, $, NotADirectoryError, |, +=, $, pathsAsOne, [], split, curdir, isabs, O_RDONLY, +=, raiseExcWithPath, osErrorMsgWithPath, altsep, substr, bytes, O_APPEND, getCharPtr, |=, isfile, [], runeLenAt, islink, raiseFileNotFoundError, mapPathLike, CanIOOpenT, FileNotFoundError, +, runes, normpath, samefile, ==, fspath, pathsep, noWeirdTarget, str, chars, PathLike, len, errnoMsg, +, bytes, toPyStr, ==, @, extsep, NoneType, str, defpath, contains, FileExistsError, pardir, dirname, +, toPyStr, O_WRONLY, byteLen, toNimString, not, pybytes, O_RDWR, contains, O_EXCL, O_CREAT, StringLike, toNimString, +, sep, repr, pathrepr, not, raiseErrnoWithPath, contains, getChar, $, [], +=, getmtime, hasChar, IsADirectoryError, raiseExcWithPath, ==, linesep, runeAtPos, fspath, raiseErrno, +=, +, pathrepr, +=, None, O_TRUNC, $, relpath, tryOsOp, raiseFileExistsError, [], getatime, str, str, or, abspath, isdir, byteLen, items, splitdrive, [], bytes, bytes, join, repr, O_CLOEXEC, len, bytes, devnull, mapPathLike, +, len, raiseExcWithPath, str, getsize, join, bytes, +, +=, or, bytes, PyBytes, toNimStr, fspath, raiseExcWithPath, bytes, basename, isNotFound, [], $, OnErrorCb, walk, WalkRes, toTup, shallIgnore, repr, walk, walk, walk, [], listdir, get_terminal_size, terminal_size
@@ -85,7 +85,7 @@

Exports

diff --git a/Lib/os_impl/common.html b/Lib/os_impl/common.html index 52b1ab5b4..c720019c7 100644 --- a/Lib/os_impl/common.html +++ b/Lib/os_impl/common.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/os_impl/consts.html b/Lib/os_impl/consts.html index 4f829c035..1a866723d 100644 --- a/Lib/os_impl/consts.html +++ b/Lib/os_impl/consts.html @@ -348,7 +348,7 @@

Templates

diff --git a/Lib/os_impl/listcommon.html b/Lib/os_impl/listcommon.html index 687a296c4..e5e9e7ede 100644 --- a/Lib/os_impl/listcommon.html +++ b/Lib/os_impl/listcommon.html @@ -83,7 +83,7 @@

Exports

diff --git a/Lib/os_impl/listdirx.html b/Lib/os_impl/listdirx.html index e44c75558..f53b6f9e5 100644 --- a/Lib/os_impl/listdirx.html +++ b/Lib/os_impl/listdirx.html @@ -105,7 +105,7 @@

Procs

diff --git a/Lib/os_impl/path.html b/Lib/os_impl/path.html index 48ace4e50..fe7e264ff 100644 --- a/Lib/os_impl/path.html +++ b/Lib/os_impl/path.html @@ -148,7 +148,7 @@

src/pylib/Lib/os_impl/path

Imports

- common, consts + posix_like/stat, common, consts
@@ -160,8 +160,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -173,8 +173,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -186,8 +186,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -199,8 +199,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -212,8 +212,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -225,8 +225,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -234,12 +234,12 @@

Procs

-
func getsize[T](filename: PathLike[T]): int
+
proc getsize[T](filename: PathLike[T]): int
- Source   -Edit   + Source   +Edit  
@@ -251,8 +251,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -264,8 +264,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -277,8 +277,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -290,8 +290,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -303,8 +303,8 @@

Procs

..warning:: NIM-BUG: Currently this variant may fail to compile with Error: type mismatch - Source   -Edit   + Source   +Edit  
@@ -313,8 +313,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -326,8 +326,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -339,8 +339,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -352,8 +352,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -365,8 +365,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -378,8 +378,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -391,8 +391,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -414,7 +414,7 @@

Exports

diff --git a/Lib/os_impl/path.idx b/Lib/os_impl/path.idx index b1c60fbfe..8592028e6 100644 --- a/Lib/os_impl/path.idx +++ b/Lib/os_impl/path.idx @@ -1,21 +1,21 @@ nimTitle path os_impl/path.html module src/pylib/Lib/os_impl/path 0 -nim isabs os_impl/path.html#isabs,PathLike proc isabs(s: PathLike): bool 33 -nim isfile os_impl/path.html#isfile,PathLike proc isfile(s: PathLike): bool 34 -nim isdir os_impl/path.html#isdir,PathLike proc isdir(s: PathLike): bool 35 -nim islink os_impl/path.html#islink,PathLike proc islink(s: PathLike): bool 36 -nim dirname os_impl/path.html#dirname,PathLike[T] proc dirname[T](s: PathLike[T]): T 38 -nim basename os_impl/path.html#basename,PathLike[T] proc basename[T](s: PathLike[T]): T 40 -nim abspath os_impl/path.html#abspath,PathLike[T] proc abspath[T](s: PathLike[T]): T 42 -nim normpath os_impl/path.html#normpath,PathLike[T] proc normpath[T](s: PathLike[T]): T 43 -nim relpath os_impl/path.html#relpath,PathLike[T] proc relpath[T](p: PathLike[T]; start = curdir): T 45 -nim getctime os_impl/path.html#getctime,PathLike[T] proc getctime[T](p: PathLike[T]): float 52 -nim getmtime os_impl/path.html#getmtime,PathLike[T] proc getmtime[T](p: PathLike[T]): float 53 -nim getatime os_impl/path.html#getatime,PathLike[T] proc getatime[T](p: PathLike[T]): float 54 -nim getsize os_impl/path.html#getsize,PathLike[T] proc getsize[T](filename: PathLike[T]): int 56 -nim samefile os_impl/path.html#samefile,PathLike,PathLike proc samefile(a, b: PathLike): bool 66 -nim split os_impl/path.html#split,PathLike[T] proc split[T](p: PathLike[T]): (T, T) 74 -nim splitdrive os_impl/path.html#splitdrive,PathLike[T] proc splitdrive[T](p: PathLike[T]): (T, T) 75 -nim splitext os_impl/path.html#splitext,PathLike[T] proc splitext[T](p: PathLike[T]): (T, T) 78 -nim join os_impl/path.html#join,PathLike[T],PathLike[T] proc join[T](a, b: PathLike[T]): T 91 -nim join os_impl/path.html#join,PathLike[T],PathLike[T],PathLike[T],varargs[PathLike[T]] proc join[T](a, b, c: PathLike[T]; ps: varargs[PathLike[T]]): T 95 -nimgrp join os_impl/path.html#join-procs-all proc 91 +nim isabs os_impl/path.html#isabs,PathLike proc isabs(s: PathLike): bool 34 +nim isfile os_impl/path.html#isfile,PathLike proc isfile(s: PathLike): bool 35 +nim isdir os_impl/path.html#isdir,PathLike proc isdir(s: PathLike): bool 36 +nim islink os_impl/path.html#islink,PathLike proc islink(s: PathLike): bool 37 +nim dirname os_impl/path.html#dirname,PathLike[T] proc dirname[T](s: PathLike[T]): T 39 +nim basename os_impl/path.html#basename,PathLike[T] proc basename[T](s: PathLike[T]): T 41 +nim abspath os_impl/path.html#abspath,PathLike[T] proc abspath[T](s: PathLike[T]): T 43 +nim normpath os_impl/path.html#normpath,PathLike[T] proc normpath[T](s: PathLike[T]): T 44 +nim relpath os_impl/path.html#relpath,PathLike[T] proc relpath[T](p: PathLike[T]; start = curdir): T 46 +nim getctime os_impl/path.html#getctime,PathLike[T] proc getctime[T](p: PathLike[T]): float 53 +nim getmtime os_impl/path.html#getmtime,PathLike[T] proc getmtime[T](p: PathLike[T]): float 54 +nim getatime os_impl/path.html#getatime,PathLike[T] proc getatime[T](p: PathLike[T]): float 55 +nim getsize os_impl/path.html#getsize,PathLike[T] proc getsize[T](filename: PathLike[T]): int 57 +nim samefile os_impl/path.html#samefile,PathLike,PathLike proc samefile(a, b: PathLike): bool 61 +nim split os_impl/path.html#split,PathLike[T] proc split[T](p: PathLike[T]): (T, T) 69 +nim splitdrive os_impl/path.html#splitdrive,PathLike[T] proc splitdrive[T](p: PathLike[T]): (T, T) 70 +nim splitext os_impl/path.html#splitext,PathLike[T] proc splitext[T](p: PathLike[T]): (T, T) 73 +nim join os_impl/path.html#join,PathLike[T],PathLike[T] proc join[T](a, b: PathLike[T]): T 86 +nim join os_impl/path.html#join,PathLike[T],PathLike[T],PathLike[T],varargs[PathLike[T]] proc join[T](a, b, c: PathLike[T]; ps: varargs[PathLike[T]]): T 90 +nimgrp join os_impl/path.html#join-procs-all proc 86 diff --git a/Lib/os_impl/posix_like.html b/Lib/os_impl/posix_like.html index f55e7e12f..a94086c30 100644 --- a/Lib/os_impl/posix_like.html +++ b/Lib/os_impl/posix_like.html @@ -73,7 +73,7 @@

Imports

Exports

- write, close, fdopen, read, raiseOsOrFileNotFoundError, read, readline, initBufAsPy, readline, write, open, readline, readline, truncate, truncate, raiseOsOrFileNotFoundError, read, close, readline, readline, read, write, close, open, read, seek, read, seek, open, close, closerange, truncate, ftruncate, st_atime, stat, st_mtime, stat, stat_result, st_ctime, scandir, scandir, scandir, scandir, rmdir, mkdir, mkdir, rmdir, unlink, remove, rename, replace, isatty, symlink, link, readlink, symlink, utime, utime, TimeNsPair, TimePair, utime + st_ctime, stat, stat, st_mtime, st_atime, stat_result, write, close, fdopen, read, raiseOsOrFileNotFoundError, read, readline, initBufAsPy, readline, write, open, readline, readline, truncate, truncate, raiseOsOrFileNotFoundError, read, close, readline, readline, read, write, close, open, read, seek, read, seek, open, close, closerange, truncate, ftruncate, scandir, scandir, scandir, scandir, rmdir, mkdir, mkdir, rmdir, unlink, remove, rename, replace, isatty, symlink, link, readlink, symlink, utime, utime, TimeNsPair, TimePair, utime
@@ -83,7 +83,7 @@

Exports

diff --git a/Lib/os_impl/posix_like/fdopen.html b/Lib/os_impl/posix_like/fdopen.html index bda8180cf..46c9be778 100644 --- a/Lib/os_impl/posix_like/fdopen.html +++ b/Lib/os_impl/posix_like/fdopen.html @@ -116,7 +116,7 @@

Exports

diff --git a/Lib/os_impl/posix_like/isatty.html b/Lib/os_impl/posix_like/isatty.html index c2df6ff98..be80b19b2 100644 --- a/Lib/os_impl/posix_like/isatty.html +++ b/Lib/os_impl/posix_like/isatty.html @@ -96,7 +96,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/links.html b/Lib/os_impl/posix_like/links.html index c3eb558a6..13fbc945b 100644 --- a/Lib/os_impl/posix_like/links.html +++ b/Lib/os_impl/posix_like/links.html @@ -150,7 +150,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/mkrmdir.html b/Lib/os_impl/posix_like/mkrmdir.html index ab3317ebc..1a257da40 100644 --- a/Lib/os_impl/posix_like/mkrmdir.html +++ b/Lib/os_impl/posix_like/mkrmdir.html @@ -145,7 +145,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/mkrmdirImpl.html b/Lib/os_impl/posix_like/mkrmdirImpl.html index 09d2cbd9b..090ecbb17 100644 --- a/Lib/os_impl/posix_like/mkrmdirImpl.html +++ b/Lib/os_impl/posix_like/mkrmdirImpl.html @@ -126,7 +126,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/open_close.html b/Lib/os_impl/posix_like/open_close.html index d2aa86945..01f407925 100644 --- a/Lib/os_impl/posix_like/open_close.html +++ b/Lib/os_impl/posix_like/open_close.html @@ -139,7 +139,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/rename.html b/Lib/os_impl/posix_like/rename.html index 8bca234fc..089d353a6 100644 --- a/Lib/os_impl/posix_like/rename.html +++ b/Lib/os_impl/posix_like/rename.html @@ -122,7 +122,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/scandirImpl.html b/Lib/os_impl/posix_like/scandirImpl.html index e78128387..b7a871dff 100644 --- a/Lib/os_impl/posix_like/scandirImpl.html +++ b/Lib/os_impl/posix_like/scandirImpl.html @@ -348,7 +348,7 @@

Iterators

diff --git a/Lib/os_impl/posix_like/stat.html b/Lib/os_impl/posix_like/stat.html index 20f01237f..0b624a730 100644 --- a/Lib/os_impl/posix_like/stat.html +++ b/Lib/os_impl/posix_like/stat.html @@ -90,6 +90,10 @@

src/pylib/Lib/os_impl/posix_like/stat

+ @@ -140,8 +144,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -159,8 +163,8 @@

Procs

template zero(x) = assert x.int == 0 zero s.st_gid zero s.st_uid - Source   -Edit   + Source   +Edit   @@ -210,6 +214,19 @@

Templates

+ +
+
+
template statAttr(path: PathLike | int; attr: untyped): untyped
+
+ + stat(path).attr + Source   +Edit   + +
+
+
@@ -221,7 +238,7 @@

Templates

diff --git a/Lib/os_impl/posix_like/stat.idx b/Lib/os_impl/posix_like/stat.idx index 1de95587b..44d3150ff 100644 --- a/Lib/os_impl/posix_like/stat.idx +++ b/Lib/os_impl/posix_like/stat.idx @@ -3,6 +3,7 @@ nim st_atime os_impl/posix_like/stat.html#st_atime.t,Stat template st_atime(s: S nim st_mtime os_impl/posix_like/stat.html#st_mtime.t,Stat template st_mtime(s: Stat): untyped 50 nim st_ctime os_impl/posix_like/stat.html#st_ctime.t,Stat template st_ctime(s: Stat): untyped 51 nim stat_result os_impl/posix_like/stat.html#stat_result tuple stat_result 56 -nim stat os_impl/posix_like/stat.html#stat,int proc stat(path: int): stat_result 101 -nim stat os_impl/posix_like/stat.html#stat,PathLike[T] proc stat[T](path: PathLike[T]): stat_result 102 -nimgrp stat os_impl/posix_like/stat.html#stat-procs-all proc 101 +nim statAttr os_impl/posix_like/stat.html#statAttr.t,,untyped template statAttr(path: PathLike | int; attr: untyped): untyped 99 +nim stat os_impl/posix_like/stat.html#stat,int proc stat(path: int): stat_result 110 +nim stat os_impl/posix_like/stat.html#stat,PathLike[T] proc stat[T](path: PathLike[T]): stat_result 111 +nimgrp stat os_impl/posix_like/stat.html#stat-procs-all proc 110 diff --git a/Lib/os_impl/posix_like/truncate.html b/Lib/os_impl/posix_like/truncate.html index 1221e4dc2..e412dbf9c 100644 --- a/Lib/os_impl/posix_like/truncate.html +++ b/Lib/os_impl/posix_like/truncate.html @@ -123,7 +123,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/unlink.html b/Lib/os_impl/posix_like/unlink.html index 6325e9cf7..941e9bce2 100644 --- a/Lib/os_impl/posix_like/unlink.html +++ b/Lib/os_impl/posix_like/unlink.html @@ -122,7 +122,7 @@

Procs

diff --git a/Lib/os_impl/posix_like/unlinkImpl.html b/Lib/os_impl/posix_like/unlinkImpl.html index 7479b7d36..edb248b58 100644 --- a/Lib/os_impl/posix_like/unlinkImpl.html +++ b/Lib/os_impl/posix_like/unlinkImpl.html @@ -119,7 +119,7 @@

Exports

diff --git a/Lib/os_impl/posix_like/utime.html b/Lib/os_impl/posix_like/utime.html index e06d5701e..8d90a98b7 100644 --- a/Lib/os_impl/posix_like/utime.html +++ b/Lib/os_impl/posix_like/utime.html @@ -169,7 +169,7 @@

Procs

diff --git a/Lib/os_impl/subp.html b/Lib/os_impl/subp.html index 706f4a500..60e72c7c3 100644 --- a/Lib/os_impl/subp.html +++ b/Lib/os_impl/subp.html @@ -96,7 +96,7 @@

Procs

diff --git a/Lib/os_impl/term.html b/Lib/os_impl/term.html index 997493f2b..33b339e5c 100644 --- a/Lib/os_impl/term.html +++ b/Lib/os_impl/term.html @@ -124,7 +124,7 @@

Procs

diff --git a/Lib/os_impl/utils.html b/Lib/os_impl/utils.html index 2e66516fc..c5f50aa77 100644 --- a/Lib/os_impl/utils.html +++ b/Lib/os_impl/utils.html @@ -173,7 +173,7 @@

Procs

diff --git a/Lib/os_impl/walkImpl.html b/Lib/os_impl/walkImpl.html index b5d1bb272..118b7321f 100644 --- a/Lib/os_impl/walkImpl.html +++ b/Lib/os_impl/walkImpl.html @@ -327,7 +327,7 @@

Templates

diff --git a/Lib/pathlib.html b/Lib/pathlib.html index 9bb6075f0..9e68be4fd 100644 --- a/Lib/pathlib.html +++ b/Lib/pathlib.html @@ -595,7 +595,7 @@

Exports

diff --git a/Lib/pathlib_impl/init.html b/Lib/pathlib_impl/init.html index f6209fb8a..99902143b 100644 --- a/Lib/pathlib_impl/init.html +++ b/Lib/pathlib_impl/init.html @@ -105,7 +105,7 @@

Procs

diff --git a/Lib/pathlib_impl/meth.html b/Lib/pathlib_impl/meth.html index d53e68eab..a668f0a6f 100644 --- a/Lib/pathlib_impl/meth.html +++ b/Lib/pathlib_impl/meth.html @@ -457,7 +457,7 @@

Iterators

diff --git a/Lib/pathlib_impl/segments.html b/Lib/pathlib_impl/segments.html index 2092bdcdf..3d2dc5515 100644 --- a/Lib/pathlib_impl/segments.html +++ b/Lib/pathlib_impl/segments.html @@ -308,7 +308,7 @@

Iterators

diff --git a/Lib/pathlib_impl/types.html b/Lib/pathlib_impl/types.html index 3e09be808..b1f4065db 100644 --- a/Lib/pathlib_impl/types.html +++ b/Lib/pathlib_impl/types.html @@ -172,7 +172,7 @@

Procs

diff --git a/Lib/platform.html b/Lib/platform.html index 07eff92d7..d4b40a444 100644 --- a/Lib/platform.html +++ b/Lib/platform.html @@ -167,7 +167,7 @@

Exports

diff --git a/Lib/random.html b/Lib/random.html index 55147dead..30839fe24 100644 --- a/Lib/random.html +++ b/Lib/random.html @@ -183,7 +183,7 @@

Templates

diff --git a/Lib/shutil.html b/Lib/shutil.html index 91496d819..580753748 100644 --- a/Lib/shutil.html +++ b/Lib/shutil.html @@ -192,7 +192,7 @@

Procs

diff --git a/Lib/string.html b/Lib/string.html index 17d0bb165..a9d963595 100644 --- a/Lib/string.html +++ b/Lib/string.html @@ -131,8 +131,7 @@

Types

Hint: -Currently inheriting Template is not supported.
-

(In Python, you can custom formatting via defining subclass of Template and overwrite some attributes).

+Currently inheriting Template is not supported. (In Python, you can custom formatting via defining subclass of Template and overwrite some attributes).
Warning:

Currently substitute is implemented via % in std/strutils, in which there are two different behaviors from Python's Template:

1. the variables are compared with cmpIgnoreStyle, whereas in Python they are compared in 'ignorecase' flag by default.

@@ -328,7 +327,7 @@

Macros

diff --git a/Lib/sys.html b/Lib/sys.html index a5108e2e8..7641b2183 100644 --- a/Lib/sys.html +++ b/Lib/sys.html @@ -96,6 +96,10 @@

src/pylib/Lib/sys

+ @@ -135,11 +139,13 @@

src/pylib/Lib/sys

-

+

Lib/sys

Hint: +if not defined pylibConfigIsolated, this module will call setlocale(LC_CTYPE, ""), a.k.a. changing locale to user's configure, just as CPython's initialization.
+

Imports

- version, list, noneType, strimpl, platformInfo, io + version, list, noneType, strimpl, fileutils, force_ascii_utils, envutils, localeutils, platformInfo, io
@@ -150,8 +156,8 @@

Vars

- Source   -Edit   + Source   +Edit  
@@ -160,8 +166,8 @@

Vars

- Source   -Edit   + Source   +Edit  
@@ -170,8 +176,8 @@

Vars

- Source   -Edit   + Source   +Edit  
@@ -180,8 +186,8 @@

Vars

- Source   -Edit   + Source   +Edit  
@@ -190,8 +196,8 @@

Vars

- Source   -Edit   + Source   +Edit  
@@ -206,8 +212,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -216,8 +222,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -228,8 +234,8 @@

Consts

float_info.rounds is defined as a getter, see rounds - Source   -Edit   + Source   +Edit  
@@ -238,8 +244,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -248,8 +254,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -258,8 +264,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -271,8 +277,8 @@

Consts

the value is standalone for bare system

and haiku/netbsd appended with major version instead of "unknown". In short, this won't be "unknown" as Python does.

- Source   -Edit   + Source   +Edit   @@ -281,8 +287,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -291,8 +297,8 @@

Consts

- Source   -Edit   + Source   +Edit  
@@ -308,8 +314,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -318,8 +324,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -328,8 +334,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -338,11 +344,10 @@

Procs

Warning: -this does not raise SystemExit,
-

which differs Python's

+this does not raise SystemExit, which differs Python's - Source   -Edit   + Source   +Edit  
@@ -356,8 +361,21 @@

Procs

Return the current default encoding used by the Unicode implementation.

Always "utf-8" in Nim

- Source   -Edit   + Source   +Edit   + + + + + +
+
+
proc getfilesystemencoding(): PyStr {....raises: [], tags: [], forbids: [].}
+
+ + + Source   +Edit  
@@ -378,8 +396,8 @@

Templates

when nimscript, this is path of Nim;

otherwise, it's the path of current app/exe.

- Source   -Edit   + Source   +Edit   @@ -391,8 +409,8 @@

Templates

- Source   -Edit   + Source   +Edit  
@@ -401,8 +419,8 @@

Templates

may be used when sizeof(x) is a compile-error e.g. func sizeof(x: O): int{.error.} for O - Source   -Edit   + Source   +Edit  
@@ -414,8 +432,8 @@

Templates

not available when nimscript - Source   -Edit   + Source   +Edit  
@@ -437,7 +455,7 @@

Exports

diff --git a/Lib/tempfile.html b/Lib/tempfile.html index 806af19d8..933b11502 100644 --- a/Lib/tempfile.html +++ b/Lib/tempfile.html @@ -145,33 +145,23 @@

src/pylib/Lib/tempfile

@@ -205,8 +195,8 @@

Types

- Source   -Edit   + Source   +Edit  
@@ -263,8 +253,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -277,8 +267,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -291,8 +281,8 @@

Procs

used to be called in with stmt (Python's doesn't have this) - Source   -Edit   + Source   +Edit  
@@ -301,8 +291,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -311,8 +301,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -324,8 +314,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -339,8 +329,8 @@

Procs

- Source   -Edit   + Source   +Edit  
@@ -387,8 +377,8 @@

Procs

assert dirExists d.name d.cleanup() assert not dirExists d.name - Source   -Edit   + Source   +Edit   @@ -454,8 +444,8 @@

Templates

assert fileExists tempf.name tempf.close() assert not fileExists tempf.name - Source   -Edit   + Source   +Edit   @@ -463,13 +453,13 @@

Templates

-
template read[IO](self`gensym5: TemporaryFileWrapper[IO];
+  
template read[IO](self: TemporaryFileWrapper[IO];
                   args`gensym5: varargs[typed]): untyped
- Source   -Edit   + Source   +Edit  
@@ -477,13 +467,13 @@

Templates

-
template readline[IO](self`gensym6: TemporaryFileWrapper[IO];
+  
template readline[IO](self: TemporaryFileWrapper[IO];
                       args`gensym6: varargs[typed]): untyped
- Source   -Edit   + Source   +Edit  
@@ -491,13 +481,13 @@

Templates

-
template seek[IO](self`gensym7: TemporaryFileWrapper[IO];
+  
template seek[IO](self: TemporaryFileWrapper[IO];
                   args`gensym7: varargs[typed]): untyped
- Source   -Edit   + Source   +Edit  
@@ -505,13 +495,13 @@

Templates

-
template tell[IO](self`gensym8: TemporaryFileWrapper[IO];
+  
template tell[IO](self: TemporaryFileWrapper[IO];
                   args`gensym8: varargs[typed]): untyped
- Source   -Edit   + Source   +Edit  
@@ -519,13 +509,13 @@

Templates

-
template write[IO](self`gensym4: TemporaryFileWrapper[IO];
+  
template write[IO](self: TemporaryFileWrapper[IO];
                    args`gensym4: varargs[typed]): untyped
- Source   -Edit   + Source   +Edit  
@@ -541,7 +531,7 @@

Templates

diff --git a/Lib/theindex.html b/Lib/theindex.html index 1bfccf19e..e5c205221 100644 --- a/Lib/theindex.html +++ b/Lib/theindex.html @@ -1750,6 +1750,10 @@

Index

  • pathlib: proc stat(self: Path): stat_result
  • +
    statAttr:
    st_atime:
    @@ -506,9 +512,9 @@

    Index

    asHashSet:
    as_integer_ratio:
    @@ -874,15 +880,21 @@

    Index

    difference:
    difference_update:
    divmod:
    excl:
    expandtabs:
    +
    frozenset:
    fspath:
    hex:
    incl:
    index:
    +
    inner_incl:
    input:
    intersection:
    intersection_update:
    IOBase:
    isdisjoint:
    isinstance:
    issubset:
    issuperset:
    istitle:
    +
    newPyFrozenSet:
    newPyIterator:
    newPySet:
    next:
    +
    PyFrozenSet:
    PyIterator:
    @@ -2218,6 +2268,8 @@

    Index

  • pyslice: proc repr(self: PySlice): string
  • set_decl: proc repr(self: PyFrozenSet): string
  • +
  • set_decl: proc repr(self: PySet): string
  • pybool: proc repr(self: PyBool): string
  • @@ -2406,7 +2458,7 @@

    Index

  • set: proc set[H](arr: openArray[H]): PySet[H]
  • set: proc set[H](s: PySet[H]): PySet[H]
  • + data-doc-search-tag="set: proc set[H](s: SomePySet[H]): PySet[H]" href="pylib/builtins/set.html#set%2CSomePySet%5BH%5D">set: proc set[H](s: SomePySet[H]): PySet[H]
  • set: proc set[H](): PySet[H]
  • Index
  • dict: type SomePyDictView
  • +
    SomePySet:
    SomeSet:
    symmetric_difference:
    SystemExit:
    union:
    unpack:
    upper: