{"action":"created","comment":{"url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/comments/39035688","id":39035688,"diff_hunk":"@@ -688,23 +697,36 @@ outils externes de vous fournir du support supplémentaire.\n \n # De plus petits changements\n \n- - [PEP 441](http://www.python.org/dev/peps/pep-0441) : Ajout d'un module `zipapp` améliorant le support et la création d'applications packagés sous forme d'archive `zip` introduit dans Python 2.6.\n- - [PEP 461](https://www.python.org/dev/peps/pep-0461/) : Retour de l'opérateur de formatage `%` pour les types de données `byte` et `bytearray` de la même façon qu'il était utilisable pour les types chaînes (`str`) dans Python 2.7.\n- - [PEP 488](https://www.python.org/dev/peps/pep-0488/) : La suppression des fichiers `pyo`.\n- - [PEP 489](https://www.python.org/dev/peps/pep-0489/) : Un changement de la procédure d'import des modules externes.\n- - [PEP 471](http://www.python.org/dev/peps/pep-0471) : Une nouvelle fonction `os.scandir()` pour itérer plus efficacement sur le contenu d'un dossier sur le disque qu'en utilisant `os.walk()`. Cette dernière fonction l'utilise maintenant en interne et est de 3 à 5 fois plus rapide sur les système POSIX et de 7 à 20 fois plus rapide sur Windows.\n- - [PEP 475](http://www.python.org/dev/peps/pep-0475) : L'interpréteur va maintenant automatiquement retenter le dernier appel système lorsqu'un signal `EINTR` est reçu, évitant aux codes utilisateurs de s'en occuper.\n- - [PEP 479](https://www.python.org/dev/peps/pep-0479/) : Le comportement des générateurs changent lorsqu'une exception `StopIteration` est déclenché à l'intérieur. Avec cette PEP, cette exception est transformé en `RuntimeError` plutôt que de quitter silencieusement le générateur. Cette modification cherche à faciliter le deboguage et clarifie la façon de quitter un générateur : utiliser `return` plutôt que de générer une exception. Cette PEP n'étant pas rétro-compatible, vous devez manuellement l'activer avec `from __future__ import generator_stop` pour en profiter.\n- - [PEP 485](https://www.python.org/dev/peps/pep-0485/) : Une fonction `isclose` est rajouté pour tester la \"proximité\" de deux nombres flottants.\n- - [PEP 486](https://www.python.org/dev/peps/pep-0486/) : Le support de `virtualenv` dans l'installateur de Python sous Windows est amélioré et simplifié.\n- - [Ticket 9951](https://bugs.python.org/issue9951) : Pour les types `byte` et `bytearray`, une nouvelle méthode `hex()` permet maintenant de récupérer une chaîne représentant le contenu sous forme hexadécimale.\n- - [Ticket 16991](https://bugs.python.org/issue16991) : L'implémentation en C, plutôt qu'en Python, des `OrderedDict` (dictionnaires ordonnées) apportant des gains de 4 à 100 sur les performances.\n-\n-De plus, comme d’habitude, tout un tas de fonctions, de petites modifications et de corrections de bugs ont été apportés à la bibliothèque standard qu'il serait trop long de citer entièrement.\n-\n-Notons aussi que le support de Windows XP est supprimé (cela ne veut pas dire que Python 3.5 ne fonctionnera pas dessus, mais rien ne sera fait par les développeurs pour cela).\n-\n-Enfin, le développement de CPython 3.5 (à partir de la première *release candidate*) s'est effectué sur [BitBucket](https://bitbucket.org/larry/cpython350) plutôt que sur le traditionnel [dépôt auto-hébergé](https://hg.python.org/cpython) de la fondation, afin de bénéficier des fonctionnalités proposées par le site ; le gestionnaire de versions est toujours Mercurial. Il n'est pas encore connu si les prochaines versions suivront ce changement et si le développement de CPython se déplacera sur BitBucket : il s'agit d'une expérimentation que les développeurs vont évaluer. Pour le moment, les branches pour les versions 3.5.1 et 3.6 restent sur [https://hg.python.org/cpython](https://hg.python.org/cpython) au moins jusqu'à la sortie de Python 3.5.\n+ - [PEP 441](http://www.python.org/dev/peps/pep-0441) : ajout d'un module `zipapp`, pour améliorer le support et la création d'applications packagées sous forme d'archive `zip` introduit dans Python 2.6.","path":"article.md","position":299,"original_position":299,"commit_id":"cc4365ac79acb44f95f8aea3bbc081076d7e414f","original_commit_id":"cc4365ac79acb44f95f8aea3bbc081076d7e414f","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"body":"A quoi fait référence \"introduit dans Python 2.6\" ? Si ç'a fait l'objet d'une PEP, il serait bien de fournir le lien.","created_at":"2015-09-09T12:28:17Z","updated_at":"2015-09-09T12:28:17Z","html_url":"https://github.com/Vayel/Python-3.5/pull/22#discussion_r39035688","pull_request_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/comments/39035688"},"html":{"href":"https://github.com/Vayel/Python-3.5/pull/22#discussion_r39035688"},"pull_request":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22","id":44518524,"html_url":"https://github.com/Vayel/Python-3.5/pull/22","diff_url":"https://github.com/Vayel/Python-3.5/pull/22.diff","patch_url":"https://github.com/Vayel/Python-3.5/pull/22.patch","issue_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/22","number":22,"state":"open","locked":false,"title":"Update article.md","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"body":"J'ai commencé à relire, histoire de peaufiner l'article. Comme j'ignore si j'aurai le temps de poursuivre rapidement, n'hésite pas à merger.","created_at":"2015-09-09T07:33:47Z","updated_at":"2015-09-09T12:28:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fbe5b6703b09ce1adbffab1f2ef12acb1dc56e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/22/comments","statuses_url":"https://api.github.com/repos/Vayel/Python-3.5/statuses/cc4365ac79acb44f95f8aea3bbc081076d7e414f","head":{"label":"Vayel:Vayel-patch-1","ref":"Vayel-patch-1","sha":"cc4365ac79acb44f95f8aea3bbc081076d7e414f","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"repo":{"id":40726051,"name":"Python-3.5","full_name":"Vayel/Python-3.5","owner":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vayel/Python-3.5","description":"Un article pour ZdS sur la version 3.5 de Python","fork":false,"url":"https://api.github.com/repos/Vayel/Python-3.5","forks_url":"https://api.github.com/repos/Vayel/Python-3.5/forks","keys_url":"https://api.github.com/repos/Vayel/Python-3.5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vayel/Python-3.5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vayel/Python-3.5/teams","hooks_url":"https://api.github.com/repos/Vayel/Python-3.5/hooks","issue_events_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/events{/number}","events_url":"https://api.github.com/repos/Vayel/Python-3.5/events","assignees_url":"https://api.github.com/repos/Vayel/Python-3.5/assignees{/user}","branches_url":"https://api.github.com/repos/Vayel/Python-3.5/branches{/branch}","tags_url":"https://api.github.com/repos/Vayel/Python-3.5/tags","blobs_url":"https://api.github.com/repos/Vayel/Python-3.5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vayel/Python-3.5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vayel/Python-3.5/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vayel/Python-3.5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vayel/Python-3.5/statuses/{sha}","languages_url":"https://api.github.com/repos/Vayel/Python-3.5/languages","stargazers_url":"https://api.github.com/repos/Vayel/Python-3.5/stargazers","contributors_url":"https://api.github.com/repos/Vayel/Python-3.5/contributors","subscribers_url":"https://api.github.com/repos/Vayel/Python-3.5/subscribers","subscription_url":"https://api.github.com/repos/Vayel/Python-3.5/subscription","commits_url":"https://api.github.com/repos/Vayel/Python-3.5/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vayel/Python-3.5/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vayel/Python-3.5/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vayel/Python-3.5/contents/{+path}","compare_url":"https://api.github.com/repos/Vayel/Python-3.5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vayel/Python-3.5/merges","archive_url":"https://api.github.com/repos/Vayel/Python-3.5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vayel/Python-3.5/downloads","issues_url":"https://api.github.com/repos/Vayel/Python-3.5/issues{/number}","pulls_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls{/number}","milestones_url":"https://api.github.com/repos/Vayel/Python-3.5/milestones{/number}","notifications_url":"https://api.github.com/repos/Vayel/Python-3.5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vayel/Python-3.5/labels{/name}","releases_url":"https://api.github.com/repos/Vayel/Python-3.5/releases{/id}","created_at":"2015-08-14T16:53:06Z","updated_at":"2015-08-14T16:53:06Z","pushed_at":"2015-09-09T12:26:59Z","git_url":"git://github.com/Vayel/Python-3.5.git","ssh_url":"git@github.com:Vayel/Python-3.5.git","clone_url":"https://github.com/Vayel/Python-3.5.git","svn_url":"https://github.com/Vayel/Python-3.5","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Vayel:master","ref":"master","sha":"e327c4d5ed11d27746c3762442c03f59b130d434","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"repo":{"id":40726051,"name":"Python-3.5","full_name":"Vayel/Python-3.5","owner":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vayel/Python-3.5","description":"Un article pour ZdS sur la version 3.5 de Python","fork":false,"url":"https://api.github.com/repos/Vayel/Python-3.5","forks_url":"https://api.github.com/repos/Vayel/Python-3.5/forks","keys_url":"https://api.github.com/repos/Vayel/Python-3.5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vayel/Python-3.5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vayel/Python-3.5/teams","hooks_url":"https://api.github.com/repos/Vayel/Python-3.5/hooks","issue_events_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/events{/number}","events_url":"https://api.github.com/repos/Vayel/Python-3.5/events","assignees_url":"https://api.github.com/repos/Vayel/Python-3.5/assignees{/user}","branches_url":"https://api.github.com/repos/Vayel/Python-3.5/branches{/branch}","tags_url":"https://api.github.com/repos/Vayel/Python-3.5/tags","blobs_url":"https://api.github.com/repos/Vayel/Python-3.5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vayel/Python-3.5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vayel/Python-3.5/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vayel/Python-3.5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vayel/Python-3.5/statuses/{sha}","languages_url":"https://api.github.com/repos/Vayel/Python-3.5/languages","stargazers_url":"https://api.github.com/repos/Vayel/Python-3.5/stargazers","contributors_url":"https://api.github.com/repos/Vayel/Python-3.5/contributors","subscribers_url":"https://api.github.com/repos/Vayel/Python-3.5/subscribers","subscription_url":"https://api.github.com/repos/Vayel/Python-3.5/subscription","commits_url":"https://api.github.com/repos/Vayel/Python-3.5/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vayel/Python-3.5/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vayel/Python-3.5/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vayel/Python-3.5/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vayel/Python-3.5/contents/{+path}","compare_url":"https://api.github.com/repos/Vayel/Python-3.5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vayel/Python-3.5/merges","archive_url":"https://api.github.com/repos/Vayel/Python-3.5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vayel/Python-3.5/downloads","issues_url":"https://api.github.com/repos/Vayel/Python-3.5/issues{/number}","pulls_url":"https://api.github.com/repos/Vayel/Python-3.5/pulls{/number}","milestones_url":"https://api.github.com/repos/Vayel/Python-3.5/milestones{/number}","notifications_url":"https://api.github.com/repos/Vayel/Python-3.5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vayel/Python-3.5/labels{/name}","releases_url":"https://api.github.com/repos/Vayel/Python-3.5/releases{/id}","created_at":"2015-08-14T16:53:06Z","updated_at":"2015-08-14T16:53:06Z","pushed_at":"2015-09-09T12:26:59Z","git_url":"git://github.com/Vayel/Python-3.5.git","ssh_url":"git@github.com:Vayel/Python-3.5.git","clone_url":"https://github.com/Vayel/Python-3.5.git","svn_url":"https://github.com/Vayel/Python-3.5","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22"},"html":{"href":"https://github.com/Vayel/Python-3.5/pull/22"},"issue":{"href":"https://api.github.com/repos/Vayel/Python-3.5/issues/22"},"comments":{"href":"https://api.github.com/repos/Vayel/Python-3.5/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vayel/Python-3.5/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Vayel/Python-3.5/statuses/cc4365ac79acb44f95f8aea3bbc081076d7e414f"}}}}