Skip to content

Commit bf1996e

Browse files
Merge branch '3.7' into howto_regex
2 parents 323a35d + bba81da commit bf1996e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+4212
-3465
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ install:
77
- pip install pospell
88
- pospell --version
99
script:
10-
- pospell -p dict -l fr *.po library/[a-b]*.po library/functions.po distributing/*.po installing/*.po install/*.po howto/*.po tutorial/*.po using/*.po whatsnew/*.po
10+
11+
- pospell -p dict -l fr *.po library/[a-k]*.po library/{l,n,q,t,v,w,z}*.po distributing/*.po installing/*.po install/*.po howto/*.po tutorial/*.po using/*.po whatsnew/*.po
1112
- make CPYTHON_CLONE=/tmp/cpython/ BRANCH=3.7

Makefile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ LANGUAGE := fr
1919
VENV := ~/.venvs/python-docs-i18n/
2020
PYTHON := $(shell which python3)
2121
MODE := autobuild-dev-html
22-
BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
22+
BRANCH = 3.7
2323
JOBS = 4
2424

2525

2626
.PHONY: all
27-
all: $(SPHINX_CONF)
27+
all: $(SPHINX_CONF) $(VENV)/bin/activate
28+
ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD)" "$(BRANCH)"
29+
$(warning "Your ../cpython checkout is on the wrong branch, got $(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD) expected $(BRANCH)")
30+
endif
2831
mkdir -p $(CPYTHON_CLONE)/locales/$(LANGUAGE)/
29-
ln -nfs $(shell readlink -f .) $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
30-
sed -i.old 's#python-docs-theme#git+https://github.com/python/python-docs-theme.git#' $(CPYTHON_CLONE)/Doc/Makefile
31-
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
32-
mv $(CPYTHON_CLONE)/Doc/Makefile.old $(CPYTHON_CLONE)/Doc/Makefile
32+
ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
3333
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) SPHINXOPTS='-qaEW -j$(JOBS) -D locale_dirs=../locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE)
3434

3535

@@ -38,12 +38,11 @@ $(SPHINX_CONF):
3838

3939

4040
.PHONY: upgrade_venv
41-
upgrade_venv: $(VENV)/bin/activate
42-
. $(VENV)/bin/activate; python3 -m pip install --upgrade sphinx blurb
41+
upgrade_venv:
42+
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
4343

4444

45-
$(VENV)/bin/activate:
46-
python3 -m venv $(VENV)
45+
$(VENV)/bin/activate: upgrade_venv
4746

4847

4948
.PHONY: progress

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ French Translation of the Python Documentation
44
.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
55
:target: https://travis-ci.org/python/python-docs-fr
66

7-
**Translated: 29%**
7+
**Translated: 30%**
88

99
Documentation Contribution Agreement
1010
------------------------------------
@@ -211,6 +211,7 @@ bug bogue, *bug*
211211
built-in native
212212
call stack pile d'appels
213213
debugging débogage
214+
deep copy copie récursive (préféré), ou copie profonde.
214215
double quote guillemet
215216
e.g. e.g. (pour *exempli gratia*)
216217
garbage collector ramasse-miettes

dict

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
017F
2+
12h
23
212A
34
allocateur
45
allocateurs
@@ -12,6 +13,13 @@ coroutine
1213
coroutine
1314
coroutines
1415
d'allocateurs
16+
déserialisations
17+
déserialise
18+
désérialisé
19+
déserialiser
20+
déserialisés
21+
déserialiseur
22+
déserialiseurs
1523
d'itérateurs
1624
Farrugia
1725
Fredrik
@@ -32,6 +40,8 @@ Kuchling
3240
l'allocateur
3341
l'itérateur
3442
lorsqu'aucune
43+
mar.
44+
mémoïsant
3545
Mersenne
3646
métacaractère
3747
métacaractères
@@ -43,9 +53,20 @@ namespace
4353
pip
4454
pourcent
4555
préemptif
56+
proleptique
57+
réentrants
58+
référençables
4659
résolveurs
60+
sérialisable
61+
sérialisable
62+
sérialisables
63+
sérialiser
64+
sérialiseur
4765
Serwy
4866
shell
67+
tokenisation
68+
tokenisé
69+
tokenisés
4970
tty
5071
Zope
5172
ı

0 commit comments

Comments
 (0)