--- /srv/rebuilderd/tmp/rebuilderd45sbR4/inputs/python-procset-doc_1.0-2_all.deb +++ /srv/rebuilderd/tmp/rebuilderd45sbR4/out/python-procset-doc_1.0-2_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2023-06-15 08:41:54.000000 debian-binary │ -rw-r--r-- 0 0 0 1564 2023-06-15 08:41:54.000000 control.tar.xz │ --rw-r--r-- 0 0 0 36296 2023-06-15 08:41:54.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 36180 2023-06-15 08:41:54.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./control │ │ │ @@ -1,13 +1,13 @@ │ │ │ Package: python-procset-doc │ │ │ Source: python-procset │ │ │ Version: 1.0-2 │ │ │ Architecture: all │ │ │ Maintainer: Raphaël Bleuse │ │ │ -Installed-Size: 272 │ │ │ +Installed-Size: 270 │ │ │ Depends: libjs-sphinxdoc (>= 5.2), libjs-mathjax │ │ │ Section: doc │ │ │ Priority: optional │ │ │ Multi-Arch: foreign │ │ │ Homepage: https://gitlab.inria.fr/bleuse/procset.py │ │ │ Description: Pure Python implementation of the interval set data structure (doc) │ │ │ An interval set (provided as the ProcSet class) is a memory-efficient │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -21,21 +21,21 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 42 2017-05-15 18:58:47.000000 ./usr/share/doc/python3-procset/html/_static/custom.css │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/documentation_options.js │ │ │ -rw-r--r-- 0 root (0) root (0) 286 2023-03-29 08:31:27.000000 ./usr/share/doc/python3-procset/html/_static/file.png │ │ │ -rw-r--r-- 0 root (0) root (0) 7791 2021-06-13 20:22:59.000000 ./usr/share/doc/python3-procset/html/_static/forkme_right_darkblue_121621.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2023-03-29 08:31:27.000000 ./usr/share/doc/python3-procset/html/_static/minus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2023-03-29 08:31:27.000000 ./usr/share/doc/python3-procset/html/_static/plus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 5327 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/pygments.css │ │ │ --rw-r--r-- 0 root (0) root (0) 45690 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/api.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 44725 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/api.html │ │ │ -rw-r--r-- 0 root (0) root (0) 7538 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/genindex.html │ │ │ --rw-r--r-- 0 root (0) root (0) 9488 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/index.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 9010 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 478 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/objects.inv │ │ │ -rw-r--r-- 0 root (0) root (0) 3137 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/search.html │ │ │ -rw-r--r-- 0 root (0) root (0) 8331 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/searchindex.js │ │ │ --rw-r--r-- 0 root (0) root (0) 8338 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/tips.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 8215 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/tips.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc-base/ │ │ │ -rw-r--r-- 0 root (0) root (0) 361 2023-06-15 08:41:54.000000 ./usr/share/doc-base/python-procset-doc.python-procset-doc │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/_sphinx_javascript_frameworks_compat.js -> ../../../../javascript/sphinxdoc/1.0/_sphinx_javascript_frameworks_compat.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/doctools.js -> ../../../../javascript/sphinxdoc/1.0/doctools.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/jquery.js -> ../../../../javascript/sphinxdoc/1.0/jquery.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/language_data.js -> ../../../../javascript/sphinxdoc/1.0/language_data.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-06-15 08:41:54.000000 ./usr/share/doc/python3-procset/html/_static/searchtools.js -> ../../../../javascript/sphinxdoc/1.0/searchtools.js │ │ ├── ./usr/share/doc/python3-procset/html/api.html │ │ │ @@ -79,15 +79,15 @@ │ │ │

ProcSet API

│ │ │
│ │ │
│ │ │ class procset.ProcSet(*intervals)[source]
│ │ │

Set of non-overlapping (i.e., disjoint) non-negative integer intervals.

│ │ │

A ProcSet can be initialized with either nothing (empty set), any │ │ │ number of non-negative integer, any number of ProcInt-compatible │ │ │ -iterable (iterable of exactly two int), any number of ProcSet, │ │ │ +iterable (iterable of exactly two int), any number of ProcSet, │ │ │ or any combination of such objects.

│ │ │

The resulting ProcSet is the union of all the intervals passed to the │ │ │ constructor. │ │ │ There is no restriction on the domains of the intervals passed to the │ │ │ constructor: the domains may overlap.

│ │ │
>>> ProcSet()  # empty set
│ │ │  ProcSet()
│ │ │ @@ -114,18 +114,18 @@
│ │ │  
│ │ │ classmethod from_str(string, insep='-', outsep=' ')[source]
│ │ │

Build a ProcSet from a string representation of an interval set. │ │ │ The parsed string need not to be in canonical form.

│ │ │
│ │ │
Parameters:
│ │ │
    │ │ │ -
  • string (str) – string representation to parse

  • │ │ │ -
  • insep (str) – delimiter character between the boundaries of a single interval │ │ │ +

  • string (str) – string representation to parse

  • │ │ │ +
  • insep (str) – delimiter character between the boundaries of a single interval │ │ │ (defaults to -, ascii dash symbol 0x2d)

  • │ │ │ -
  • outsep (str) – delimiter character between two intervals │ │ │ +

  • outsep (str) – delimiter character between two intervals │ │ │ (defaults to , ascii space symbol 0x20)

  • │ │ │
│ │ │
│ │ │
│ │ │
>>> ProcSet.from_str('1-3 5 7')
│ │ │  ProcSet((1, 3), 5, 7)
│ │ │  >>> ProcSet.from_str('5 2-2 7 1-3')
│ │ │ @@ -148,18 +148,18 @@
│ │ │  
│ │ │
│ │ │ str(pset)
│ │ │
│ │ │ format(pset[, format_spec])
│ │ │

Return the canonical string representation │ │ │ of pset.

│ │ │ -

When using str() or format() without format_spec, the │ │ │ +

When using str() or format() without format_spec, the │ │ │ default delimiters are used (default inner delimiter is -, default │ │ │ outer delimiter is ).

│ │ │ -

When using format(), the parameter format_spec may be used to │ │ │ +

When using format(), the parameter format_spec may be used to │ │ │ change the delimiters. │ │ │ The format specification is a length-2 string, where the first character │ │ │ encodes the inner delimiter, and the second character encodes the outer │ │ │ delimiter.

│ │ │
>>> pset = ProcSet((1, 3), 5, 7)
│ │ │  >>> str(pset)
│ │ │  '1-3 5 7'
│ │ │ @@ -224,17 +224,17 @@
│ │ │  pset[i:j]
│ │ │  
│ │ │ pset[i:j:k]
│ │ │

Access processors of pset by position. │ │ │ ProcSet supports element index lookup, slicing and negative indices.

│ │ │

The semantic of the [] operator is defined to behave the same as if │ │ │ pset was a list of integers.

│ │ │ -

When used with an int i, pset[i] returns the processor │ │ │ +

When used with an int i, pset[i] returns the processor │ │ │ at the i-th position.

│ │ │ -

When used with a slice, pset[i:j:k] returns the │ │ │ +

When used with a slice, pset[i:j:k] returns the │ │ │ corresponding list of processors (see also iter_slice()).

│ │ │
>>> pset = ProcSet(ProcInt(0), ProcInt(2, 5), ProcInt(7, 13))
│ │ │  >>> pset[0], pset[2], pset[-1]
│ │ │  (0, 3, 13)
│ │ │  >>> pset[1:5]
│ │ │  [2, 3, 4, 5]
│ │ │  >>> pset[:-3]
│ │ │ ├── html2text {}
│ │ │ │ @@ -11,15 +11,15 @@
│ │ │ │  ******** QQuuiicckk sseeaarrcchh ********
│ │ │ │  [q                   ][Go]
│ │ │ │  ************ PPrrooccSSeett AAPPII_?¶ ************
│ │ │ │    ccllaassss procset.ProcSet(**iinntteerrvvaallss)_[_s_o_u_r_c_e_]_¶
│ │ │ │        Set of non-overlapping (i.e., disjoint) non-negative integer intervals.
│ │ │ │        A ProcSet can be initialized with either nothing (empty set), any number
│ │ │ │        of non-negative integer, any number of ProcInt-compatible iterable
│ │ │ │ -      (iterable of exactly two _i_n_t), any number of ProcSet, or any combination
│ │ │ │ +      (iterable of exactly two int), any number of ProcSet, or any combination
│ │ │ │        of such objects.
│ │ │ │        The resulting ProcSet is the union of all the intervals passed to the
│ │ │ │        constructor. There is no restriction on the domains of the intervals
│ │ │ │        passed to the constructor: the domains may overlap.
│ │ │ │        >>> ProcSet()  # empty set
│ │ │ │        ProcSet()
│ │ │ │        >>> ProcSet(1)
│ │ │ │ @@ -36,19 +36,19 @@
│ │ │ │        ProcInt. The memory complexity is hence linear in the number of disjoint
│ │ │ │        intervals contained in the set.
│ │ │ │        Changed in version 1.0: The constructor now supports ProcSet objects.
│ │ │ │          ccllaassssmmeetthhoodd from_str(ssttrriinngg, iinnsseepp==''--'', oouuttsseepp=='' '')_[_s_o_u_r_c_e_]_¶
│ │ │ │              Build a ProcSet from a string representation of an interval set.
│ │ │ │              The parsed string need not to be in canonical form.
│ │ │ │                Parameters:
│ │ │ │ -                      * ssttrriinngg (_ss_tt_rr) – string representation to parse
│ │ │ │ -                      * iinnsseepp (_ss_tt_rr) – delimiter character between the
│ │ │ │ +                      * ssttrriinngg (ssttrr) – string representation to parse
│ │ │ │ +                      * iinnsseepp (ssttrr) – delimiter character between the
│ │ │ │                          boundaries of a single interval (defaults to -, ascii
│ │ │ │                          dash symbol 0x2d)
│ │ │ │ -                      * oouuttsseepp (_ss_tt_rr) – delimiter character between two
│ │ │ │ +                      * oouuttsseepp (ssttrr) – delimiter character between two
│ │ │ │                          intervals (defaults to ␣, ascii space symbol 0x20)
│ │ │ │              >>> ProcSet.from_str('1-3 5 7')
│ │ │ │              ProcSet((1, 3), 5, 7)
│ │ │ │              >>> ProcSet.from_str('5 2-2 7 1-3')
│ │ │ │              ProcSet((1, 3), 5, 7)
│ │ │ │              >>> ProcSet.from_str('1:3,5,7', insep=':', outsep=',')
│ │ │ │              ProcSet((1, 3), 5, 7)
│ │ │ │ @@ -56,18 +56,18 @@
│ │ │ │              _f_r_o_m___s_t_r_(_) only supports single character strings for insep and
│ │ │ │              outsep delimiters.
│ │ │ │              See also
│ │ │ │              _S_t_r_i_n_g_ _r_e_p_r_e_s_e_n_t_a_t_i_o_n_ _o_f_ _i_n_t_e_r_v_a_l_ _s_e_t_s
│ │ │ │          str(pset)
│ │ │ │          format(pset[, format_spec])
│ │ │ │              Return the canonical _s_t_r_i_n_g_ _r_e_p_r_e_s_e_n_t_a_t_i_o_n of ppsseett.
│ │ │ │ -            When using str() or _f_o_r_m_a_t_(_) without ffoorrmmaatt__ssppeecc, the default
│ │ │ │ +            When using str() or format() without ffoorrmmaatt__ssppeecc, the default
│ │ │ │              delimiters are used (default inner delimiter is -, default outer
│ │ │ │              delimiter is ␣).
│ │ │ │ -            When using _f_o_r_m_a_t_(_), the parameter ffoorrmmaatt__ssppeecc may be used to
│ │ │ │ +            When using format(), the parameter ffoorrmmaatt__ssppeecc may be used to
│ │ │ │              change the delimiters. The format specification is a length-
│ │ │ │              2 string, where the first character encodes the inner delimiter,
│ │ │ │              and the second character encodes the outer delimiter.
│ │ │ │              >>> pset = ProcSet((1, 3), 5, 7)
│ │ │ │              >>> str(pset)
│ │ │ │              '1-3 5 7'
│ │ │ │              >>> format(pset)
│ │ │ │ @@ -100,17 +100,17 @@
│ │ │ │          pset[i]
│ │ │ │          pset[i:j]
│ │ │ │          pset[i:j:k]
│ │ │ │              Access processors of ppsseett by position. ProcSet supports element
│ │ │ │              index lookup, slicing and negative indices.
│ │ │ │              The semantic of the [] operator is defined to behave the same as if
│ │ │ │              ppsseett was a list of integers.
│ │ │ │ -            When used with an _i_n_t i, pset[i] returns the processor at the i-th
│ │ │ │ +            When used with an int i, pset[i] returns the processor at the i-th
│ │ │ │              position.
│ │ │ │ -            When used with a _s_l_i_c_e, pset[i:j:k] returns the corresponding list
│ │ │ │ +            When used with a slice, pset[i:j:k] returns the corresponding list
│ │ │ │              of processors (see also _i_t_e_r___s_l_i_c_e_(_)).
│ │ │ │              >>> pset = ProcSet(ProcInt(0), ProcInt(2, 5), ProcInt(7, 13))
│ │ │ │              >>> pset[0], pset[2], pset[-1]
│ │ │ │              (0, 3, 13)
│ │ │ │              >>> pset[1:5]
│ │ │ │              [2, 3, 4, 5]
│ │ │ │              >>> pset[:-3]
│ │ ├── ./usr/share/doc/python3-procset/html/index.html
│ │ │ @@ -77,19 +77,19 @@
│ │ │    
│ │ │

Overview

│ │ │
│ │ │
│ │ │

This package implements for Python a memory-efficient representation of │ │ │ closed-interval sets.

│ │ │

The package provides the procset module.

│ │ │ -

A ProcSet is an hybrid between a set and a list of │ │ │ +

A ProcSet is an hybrid between a set and a list of │ │ │ indexes. │ │ │ More precisely, a ProcSet object is an ordered collection of │ │ │ -unique non-negative int. │ │ │ -It supports most of set operations: notably membership testing, │ │ │ +unique non-negative int. │ │ │ +It supports most of set operations: notably membership testing, │ │ │ mathematical operations such as intersection, union, and (symmetric) │ │ │ difference; with the additional ability to access its elements by position.

│ │ │

The ProcSet type is mutable, as its content can be modified using │ │ │ methods such as insert(). │ │ │ Since it is mutable, it has no hash value and cannot be used as either a │ │ │ dictionary key or as an element of another set.

│ │ │
│ │ │ ├── html2text {} │ │ │ │ @@ -9,17 +9,17 @@ │ │ │ │ o Next: _P_r_o_c_S_e_t_ _A_P_I │ │ │ │ ******** QQuuiicckk sseeaarrcchh ******** │ │ │ │ [q ][Go] │ │ │ │ ************ OOvveerrvviieeww_?¶ ************ │ │ │ │ This package implements for Python a memory-efficient representation of closed- │ │ │ │ interval sets. │ │ │ │ The package provides the procset module. │ │ │ │ -A _P_r_o_c_S_e_t is an hybrid between a _s_e_t and a _l_i_s_t of indexes. More precisely, a │ │ │ │ -_P_r_o_c_S_e_t object is an ordered collection of unique non-negative _i_n_t. It supports │ │ │ │ -most of _s_e_t operations: notably membership testing, mathematical operations │ │ │ │ +A _P_r_o_c_S_e_t is an hybrid between a set and a list of indexes. More precisely, a │ │ │ │ +_P_r_o_c_S_e_t object is an ordered collection of unique non-negative int. It supports │ │ │ │ +most of set operations: notably membership testing, mathematical operations │ │ │ │ such as intersection, union, and (symmetric) difference; with the additional │ │ │ │ ability to access its elements by position. │ │ │ │ The _P_r_o_c_S_e_t type is mutable, as its content can be modified using methods such │ │ │ │ as _i_n_s_e_r_t_(_). Since it is mutable, it has no hash value and cannot be used as │ │ │ │ either a dictionary key or as an element of another set. │ │ │ │ ********** EExxaammppllee uussee_?¶ ********** │ │ │ │ You can get the library directly from PyPI: │ │ ├── ./usr/share/doc/python3-procset/html/tips.html │ │ │ @@ -107,15 +107,15 @@ │ │ │ return str(obj) # use canonical string representation │ │ │ return json.JSONEncoder.default(self, obj) │ │ │ │ │ │ │ │ │ json.dumps({'alloc': procset.ProcSet((0, 3))}, cls=ProcSetJSONEncoder) │ │ │
│ │ │
│ │ │ -

For more advanced usages, see the standard module json, or the │ │ │ +

For more advanced usages, see the standard module json, or the │ │ │ third-party package jsonpickle.

│ │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ ├── html2text {} │ │ │ │ @@ -33,11 +33,11 @@ │ │ │ │ def default(self, obj): │ │ │ │ if isinstance(obj, procset.ProcSet): │ │ │ │ return str(obj) # use canonical string representation │ │ │ │ return json.JSONEncoder.default(self, obj) │ │ │ │ │ │ │ │ │ │ │ │ json.dumps({'alloc': procset.ProcSet((0, 3))}, cls=ProcSetJSONEncoder) │ │ │ │ -For more advanced usages, see the standard module _j_s_o_n, or the third-party │ │ │ │ +For more advanced usages, see the standard module json, or the third-party │ │ │ │ package _j_s_o_n_p_i_c_k_l_e. │ │ │ │ ©2023, Raphaël Bleuse. | Powered by _S_p_h_i_n_x_ _5_._3_._0 & _A_l_a_b_a_s_t_e_r_ _0_._7_._1_2 | _P_a_g_e │ │ │ │ _s_o_u_r_c_e