- Jul 04, 2017
-
-
Damien George authored
The line in docs/conf.py with the release/version number was recently changed and this patch makes the makeversionhdr.py script work again.
-
Damien George authored
-
- Jul 03, 2017
-
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Alberto Petrucci authored
-
Damien George authored
-
Damien George authored
Previous to this patch hexlify(b'', b':') would lead to a bad crash due to the computed length of the result being -1=0xffffffff.
-
Patrick O'Leary authored
The simple NTP client module is named "ntptime.py".
-
- Jul 02, 2017
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This makes top-level ToC of the pyboard docs consistent with other ports (consisting of 3 chapters: QuickRef, General Info, and Tutorial). Also, some other minor tweaks applied, like local ToC for General Info and headings mentioning pyboard.
-
Paul Sokolovsky authored
This pseudo-section causes artifacts with latexpdf generation (almost empty page with list containing literal "genindex", "modeindex", "search" items). For HTML docs, these sections can be accessed from "home" page.
-
Damien George authored
This matches the coding/layout style of all the other objects.
-
Paul Sokolovsky authored
We don't use alpha/beta/RC, so for us version and release should be the same, or it leads to confusion (for example, current, 1.9.1 docs are marked as 1.9 at places).
-
Paul Sokolovsky authored
The idea is to use it for each symbol in builtins.rst.
-
Paul Sokolovsky authored
Cross-reference text/link is implemented as RST substitution, so easy to consistently.
-
Paul Sokolovsky authored
The idea is to allow to define a kind of "macros" for repeatitive text, so all occurrances can be updated in one place. Unfortunately, RST doesn't support replacements with arguments, which limits usefulness of them and should be taken into account.
-
Paul Sokolovsky authored
As described at http://www.sphinx-doc.org/en/stable/ext/intersphinx.html#confval-intersphinx_mapping This will allow to explicitly refer to CPython docs for cross-references.
-
Damien George authored
-
Paul Sokolovsky authored
We have enough terms or references throughout the docs which may be not immediately clear or have some important nuances. Referencing terms in gloassary is the best way to deal with that.
-
- Jul 01, 2017
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also, update heading of 1st sections to "Functions and types".
-
Paul Sokolovsky authored
The old intro talked about "differences", but there were hardly any sections describing differences, mostly MicroPython specific features. On the other hand, we now have real "differences" chapter, though it's mostly concerned with stdlib differences. So, try to avoid confusion by changing wording and linking to the other chapters and contrasting them with what is described in "MicroPython language".
-
Paul Sokolovsky authored
And in our case, "consistent" is where each word in the heading is *not* capitalized.
-
Damien George authored
Later versions of jinja2 need it to be in this subdir, and earlier versions work with it here as well.
-
Paul Sokolovsky authored
It's useful to try different Sphinx versions using virtualenv/venv, so exclude a common venv dir name from Sphinx processing.
-
Paul Sokolovsky authored
-
- Jun 30, 2017
-
-
Paul Sokolovsky authored
This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Jun 29, 2017
-
-
Damien George authored
-
Damien George authored
Prior to this patch there were 2 paths for creating the namedtuple, one for when no keyword args were passed, and one when there were keyword args. And alloca was used in the keyword-arg path to temporarily create the array of elements for the namedtuple, which would then be copied to a heap-allocated object (the namedtuple itself). This patch simplifies the code by combining the no-keyword and keyword paths, and removing the need for the alloca by constructing the namedtuple on the heap before populating it. Heap usage in unchanged, stack usage is reduced, use of alloca is removed, and code size is not increased and is actually reduced by between 20-30 bytes for most ports.
-
- Jun 28, 2017
-
-
Paul Sokolovsky authored
-
Damien George authored
-