--- /srv/rebuilderd/tmp/rebuilderd3k83Pn/inputs/python-hexbytes-doc_0.3.0-1_all.deb +++ /srv/rebuilderd/tmp/rebuilderd3k83Pn/out/python-hexbytes-doc_0.3.0-1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2022-09-16 19:08:04.000000 debian-binary │ -rw-r--r-- 0 0 0 1348 2022-09-16 19:08:04.000000 control.tar.xz │ --rw-r--r-- 0 0 0 14404 2022-09-16 19:08:04.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 14292 2022-09-16 19:08:04.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./control │ │ │ @@ -1,13 +1,13 @@ │ │ │ Package: python-hexbytes-doc │ │ │ Source: python-hexbytes │ │ │ Version: 0.3.0-1 │ │ │ Architecture: all │ │ │ Maintainer: Debian Python Team │ │ │ -Installed-Size: 123 │ │ │ +Installed-Size: 122 │ │ │ Depends: libjs-sphinxdoc (>= 4.3), sphinx-rtd-theme-common (>= 1.0.0+dfsg) │ │ │ Section: doc │ │ │ Priority: optional │ │ │ Multi-Arch: foreign │ │ │ Homepage: https://github.com/ethereum/hexbytes │ │ │ Description: Python bytes subclass decodes hex (common documentation) │ │ │ HexBytes is a very thin wrapper around the Python built-in bytes class. │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -17,15 +17,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 286 2021-01-01 06:53:29.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/file.png │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/fonts/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/js/ │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2021-01-01 06:53:29.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/minus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2021-01-01 06:53:29.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/plus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 4846 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/_static/pygments.css │ │ │ -rw-r--r-- 0 root (0) root (0) 4164 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/genindex.html │ │ │ --rw-r--r-- 0 root (0) root (0) 13033 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/hexbytes.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 11281 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/hexbytes.html │ │ │ -rw-r--r-- 0 root (0) root (0) 7370 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 321 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/objects.inv │ │ │ -rw-r--r-- 0 root (0) root (0) 3952 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/py-modindex.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12897 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/release_notes.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3622 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/search.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3173 2022-09-16 19:08:04.000000 ./usr/share/doc/python-hexbytes-doc/html/searchindex.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-09-16 19:08:04.000000 ./usr/share/doc-base/ │ │ ├── ./usr/share/doc/python-hexbytes-doc/html/hexbytes.html │ │ │ @@ -103,31 +103,31 @@ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │

HexBytes

│ │ │
│ │ │
│ │ │ -class hexbytes.main.HexBytes(val: Union[bool, bytearray, bytes, int, str, memoryview])
│ │ │ -

Bases: bytes

│ │ │ -

HexBytes is a very thin wrapper around the python built-in bytes class.

│ │ │ +class hexbytes.main.HexBytes(val: Union[bool, bytearray, bytes, int, str, memoryview]) │ │ │ +

Bases: bytes

│ │ │ +

HexBytes is a very thin wrapper around the python built-in bytes class.

│ │ │
│ │ │
It has these three changes:
    │ │ │
  1. Accepts more initializing values, like hex strings, non-negative integers, │ │ │ and booleans

  2. │ │ │
  3. Returns hex with prefix ‘0x’ from HexBytes.hex()

  4. │ │ │
  5. The representation at console is in hex

  6. │ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -hex(sep: Union[str, bytes] = None, bytes_per_sep: SupportsIndex = 1) str
│ │ │ +hex(sep: Union[str, bytes] = None, bytes_per_sep: SupportsIndex = 1) str │ │ │

Output hex-encoded bytes, with an “0x” prefix.

│ │ │ -

Everything following the “0x” is output exactly like bytes.hex().

│ │ │ +

Everything following the “0x” is output exactly like bytes.hex().

│ │ │
│ │ │ │ │ │
│ │ │ │ │ │
│ │ │ │ │ │ ├── html2text {} │ │ │ │ @@ -37,24 +37,24 @@ │ │ │ │ 32 │ │ │ │ │ │ │ │ # cast back to the basic `bytes` type │ │ │ │ >>> bytes(hb) │ │ │ │ b"\x03\x08wf\xbfh\xe7\x86q\xd1\xeaCj\xe0\x87\xdat\xa1'a\xda\xc0 │ │ │ │ \x01\x1a\x9e\xdd\xc4\x90\x0b\xf1;" │ │ │ │ ********** HHeexxBByytteess_? ********** │ │ │ │ - ccllaassss hexbytes.main.HexBytes(vvaall:: _UU_nn_ii_oo_nn[[_bb_oo_oo_ll,, _bb_yy_tt_ee_aa_rr_rr_aa_yy,, _bb_yy_tt_ee_ss,, _ii_nn_tt,, _ss_tt_rr,, │ │ │ │ - _mm_ee_mm_oo_rr_yy_vv_ii_ee_ww]])_ │ │ │ │ - Bases: _b_y_t_e_s │ │ │ │ - HexBytes is a vveerryy thin wrapper around the python built-in _b_y_t_e_s class. │ │ │ │ + ccllaassss hexbytes.main.HexBytes(vvaall:: UUnniioonn[[bbooooll,, bbyytteeaarrrraayy,, bbyytteess,, iinntt,, ssttrr,, │ │ │ │ + mmeemmoorryyvviieeww]])_ │ │ │ │ + Bases: bytes │ │ │ │ + HexBytes is a vveerryy thin wrapper around the python built-in bytes class. │ │ │ │ It has these three changes: │ │ │ │ 1. Accepts more initializing values, like hex strings, non- │ │ │ │ negative integers, and booleans │ │ │ │ 2. Returns hex with prefix ‘0x’ from _H_e_x_B_y_t_e_s_._h_e_x_(_) │ │ │ │ 3. The representation at console is in hex │ │ │ │ - hex(sseepp:: _UU_nn_ii_oo_nn[[_ss_tt_rr,, _bb_yy_tt_ee_ss]] == NNoonnee, bbyytteess__ppeerr__sseepp:: SSuuppppoorrttssIInnddeexx == 11) → │ │ │ │ - _s_t_r_ │ │ │ │ + hex(sseepp:: UUnniioonn[[ssttrr,, bbyytteess]] == NNoonnee, bbyytteess__ppeerr__sseepp:: SSuuppppoorrttssIInnddeexx == 11) → │ │ │ │ + str_ │ │ │ │ Output hex-encoded bytes, with an “0x” prefix. │ │ │ │ - Everything following the “0x” is output exactly like _b_y_t_e_s_._h_e_x_(_). │ │ │ │ + Everything following the “0x” is output exactly like bytes.hex(). │ │ │ │ _P_r_e_v_i_o_u_s _N_e_x_t │ │ │ │ =============================================================================== │ │ │ │ © Copyright 2022, The Ethereum Foundation. │ │ │ │ Built with _S_p_h_i_n_x using a _t_h_e_m_e provided by _R_e_a_d_ _t_h_e_ _D_o_c_s.