-
- Notifications
You must be signed in to change notification settings - Fork 264
Petit essai Pickle #457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Petit essai Pickle #457
Conversation
Seluj78 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relu rapidement, je ferai une plus grosse review plus tard
| #: ../Doc/library/pickle.rst:2 | ||
| msgid ":mod:`pickle` --- Python object serialization" | ||
| msgstr "" | ||
| msgstr ":mod:`pickle` --- Module Python de sérialisation en objet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je comprends ca plutot comme Module de sérialisation d'objets Python
@JulienPalard, ton avis ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pareil
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci de la reco, je me fais à l'outil donc je pensais qu'il fallait le laisser en anglais. Je retiens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| msgstr ":mod:`pickle` --- Module Python de sérialisation en objet" | |
| msgstr ":mod:`pickle` --- Module de sérialisation d'objets Python" |
| #: ../Doc/library/pickle.rst:10 | ||
| msgid "**Source code:** :source:`Lib/pickle.py`" | ||
| msgstr "" | ||
| msgstr "**Source code:** :source:`Lib/pickle.py`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unchanged ?
| msgstr "**Source code:** :source:`Lib/pickle.py`" | |
| msgstr "**Code source :** :source:`Lib/pickle.py`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prise en main de l'outil toujours (je pensais que vous pouviez faire les modifs directement)
J'essaie de m'y mettre demain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikaelMonjour du coup tu peux accepter directement dans github les propositions de modifications que on fait. CF https://help.github.com/en/articles/incorporating-feedback-in-your-pull-request
😄
| #: ../Doc/library/pickle.rst:39 | ||
| msgid "Relationship to other Python modules" | ||
| msgstr "" | ||
| msgstr "Relation par rapport aux autres modules python" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| msgstr "Relation par rapport aux autres modules python" | |
| msgstr "Relations aux autres modules Python" |
Me semble plus clair et moins mot a mot
| "The :mod:`pickle` module differs from :mod:`marshal` in several significant " | ||
| "ways:" | ||
| msgstr "" | ||
| "Le module :mod:`pickle`diffère du module :mod:`marshal` sur plusieurs " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "Le module :mod:`pickle`diffère du module :mod:`marshal` sur plusieurs " | |
| "Le module :mod:`pickle` diffère du module :mod:`marshal` sur plusieurs " |
| "\"serialization\", \"marshalling,\" [#]_ or \"flattening\"; however, to " | ||
| "avoid confusion, the terms used here are \"pickling\" and \"unpickling\"." | ||
| msgstr "" | ||
| "Le module :mod:`pickle` implémente des protocole binaires pour permettre la " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "Le module :mod:`pickle` implémente des protocole binaires pour permettre la " | |
| "Le module :mod:`pickle` implémente des protocoles binaires pour permettre la " |
| msgstr "" | ||
| "Le module :mod:`pickle` garde la trace des objets qu'il a déjà sérialisé, " | ||
| "pour faire en sorte que les prochaines références à cet objet ne soient plus " | ||
| "sérialisé à nouveau. :mod:`marshal` lui ne le fait pas. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sérialisées
| "sérialisé à nouveau. :mod:`marshal` lui ne le fait pas. " | |
| "sérialisées à nouveau. :mod:`marshal` ne le fait pas. " |
| "Python possède un module de bas niveau en sérialisation appelé :mod:" | ||
| "`marshal`, mais en général il est préférable d'utiliser :mod:`pickle` pour " | ||
| "sérialiser des objets Python. :mod:`marshal` existe principalement pour " | ||
| "supporter les fichiers Python finissant en :file:`.pyc`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "supporter les fichiers Python finissant en :file:`.pyc`." | |
| "supporter les fichiers Python :file:`.pyc`." |
| "Ça provoque des implications à la fois sur le partage d'objet et sur les " | ||
| "objets récursifs. Les objets récursifs sont des objets qui contiennent des " | ||
| "auto références. Celles-ci ne sont pas gérées par marshal. Essayer de lancer " | ||
| "des objets récursifs sur marshall va faire crasher votre interpréteur " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "des objets récursifs sur marshall va faire crasher votre interpréteur " | |
| "une *marshallisation* d'objets récursifs va faire crasher votre interpréteur " |
| @MikaelMonjour poke :) |
| C'est moi qui doit faire la modif ? Le jeu. 20 déc. 2018 à 15:39, Mathieu Dupuy <notifications@github.com> a écrit : … @MikaelMonjour <https://github.com/MikaelMonjour> poke :) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#457 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ARuPNFCYJJlKjxAXF8TvY7AKJ5rcadR_ks5u66E4gaJpZM4ZHW83> . |
| Bonjour @MikaelMonjour, Oui c'est ta pull request, nous on ne peut faire que des suggestions, et c'est à toi de les accepter ou non. Les suggestions sous forme de diff, tu peux les accepter depuis l'interface graphique en un clic. Les suggestions qu'on écrit en francais il faut aller réouvrir poedit, commit, et push. (pas besoin de réouvrir la pull request ou quoi que ce soit côté github). |
| J'en sais rien c'était la première fois que j'utilisais github. Trop inutile pour moi lol Envoyé depuis mon appareil mobile Samsung. -------- Message d'origine -------- De : MikaelMonjour <notifications@github.com> Date : 21/12/2018 00:32 (GMT+01:00) À : python/python-docs-fr <python-docs-fr@noreply.github.com> Cc : cGIfl300 <300@chatperlipopette.ga>, Comment <comment@noreply.github.com> Objet : Re: [python/python-docs-fr] Petit essai Pickle (#457) C'est moi qui doit faire la modif ? Le jeu. 20 déc. 2018 à 15:39, Mathieu Dupuy <notifications@github.com> a écrit : @MikaelMonjour <https://github.com/MikaelMonjour> poke :) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#457 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ARuPNFCYJJlKjxAXF8TvY7AKJ5rcadR_ks5u66E4gaJpZM4ZHW83> . — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/python/python-docs-fr","title":"python/python-docs-fr","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/python/python-docs-fr"}},"updates":{"snippets":[{"icon":"PERSON","message":"@MikaelMonjour in #457: C'est moi qui doit faire la modif ?\n\nLe jeu. 20 déc. 2018 à 15:39, Mathieu Dupuy \u003cnotifications@github.com\u003e a\nécrit :\n\n\u003e @MikaelMonjour \u003chttps://github.com/MikaelMonjour\u003e poke :)\n\u003e\n\u003e —\n\u003e You are receiving this because you were mentioned.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/python/python-docs-fr/pull/457#issuecomment-449020232\u003e,\n\u003e or mute the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/ARuPNFCYJJlKjxAXF8TvY7AKJ5rcadR_ks5u66E4gaJpZM4ZHW83\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Pull Request","url":"#457 (comment)"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "#457 (comment)", "url": "#457 (comment)", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ] |
| msgstr "" | ||
| "Le module :mod:`pickle`n'est pas sécurisé contre les données erronées et " | ||
| "malicieusement construites. Ne jamais *unpickle* la donnée reçue à partir " | ||
| "d'une source non reconnue ou non authentique." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "d'une source non reconnue ou non authentique." | |
| "d'une source non fiable ou non authentifiée." |
(imho)
| salut @MikaelMonjour . Tu fais les modifs :) ? |
| "laquelle un flux d'octet (à partir d'un :term:`binary file` ou :term:`bytes-" | ||
| "like object`) est converti en retour en hiérarchie d'objet. *Pickling* (et " | ||
| "*unpickling*) sont alternativement connu sous le terme de \"sérialisation\" " | ||
| "ou de \"marshalling\". Cependant pour éviter la confusion les termes " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "ou de \"marshalling\". Cependant pour éviter la confusion les termes " | |
| "ou de \"marshalisation\". Cependant pour éviter la confusion les termes " |
| "pyc` files." | ||
| msgstr "" | ||
| "Python possède un module de bas niveau en sérialisation appelé :mod:" | ||
| "`marshal`, mais en général il est préférable d'utiliser :mod:`pickle` pour " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "`marshal`, mais en général il est préférable d'utiliser :mod:`pickle` pour " | |
| "`marshal`, mais en général il est préférable d'utiliser :mod:`pickle` pour " |
| "Shared objects remain shared, which can be very important for mutable " | ||
| "objects." | ||
| msgstr "" | ||
| "Ça provoque des implications à la fois sur le partage d'objet et sur les " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "Ça provoque des implications à la fois sur le partage d'objet et sur les " | |
| "Cela a des implications à la fois sur le partage d'objet et sur les " |
| msgstr "" | ||
| "Ça provoque des implications à la fois sur le partage d'objet et sur les " | ||
| "objets récursifs. Les objets récursifs sont des objets qui contiennent des " | ||
| "auto références. Celles-ci ne sont pas gérées par marshal. Essayer de lancer " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "auto références. Celles-ci ne sont pas gérées par marshal. Essayer de lancer " | |
| "auto références. Celles-ci ne sont pas supportées par marshal. Essayer de lancer " |
| "objets récursifs. Les objets récursifs sont des objets qui contiennent des " | ||
| "auto références. Celles-ci ne sont pas gérées par marshal. Essayer de lancer " | ||
| "des objets récursifs sur marshall va faire crasher votre interpréteur " | ||
| "python. Le partage d'objet s'effectue lorsque qu'il y a plusieurs références " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "python. Le partage d'objet s'effectue lorsque qu'il y a plusieurs références " | |
| "Python. On parle de partage d'objet lorsque qu'il y a plusieurs références " |
| "des objets récursifs sur marshall va faire crasher votre interpréteur " | ||
| "python. Le partage d'objet s'effectue lorsque qu'il y a plusieurs références " | ||
| "au même objet à différents endroits dans la hiérarchie de l'objet en " | ||
| "sérialisation. Le module :mod:`pickle`récupères ce type d'objet seulement " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "sérialisation. Le module :mod:`pickle`récupères ce type d'objet seulement " | |
| "sérialisation. Le module :mod:`pickle`récupère ce type d'objet seulement " |
| "de classes définies par les utilisateurs. :mod:`pickle` peut sauvegarder et " | ||
| "restaurer les instances de classes de manière transparente. Cependant la " | ||
| "définition de classe doit être importable et lancée dans le même module et " | ||
| "de la même manière que lors de son importation." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je crains que le terme importation ici soit ambigu, d'autant qu'à la ligne d'avant on parle de l'importabilité du module.
À voir s'il n'y a pas moyen de tourner ça de façon plus claire.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Il faut que tu accepte les propositions de modifications, cf https://help.github.com/en/articles/incorporating-feedback-in-your-pull-request 👍
-
Tu as des conflits, clique sur le bouton
resolve conflict sur githubet suis le tutoriel : https://help.github.com/en/articles/resolving-a-merge-conflict-on-github
| #: ../Doc/library/pickle.rst:2 | ||
| msgid ":mod:`pickle` --- Python object serialization" | ||
| msgstr "" | ||
| msgstr ":mod:`pickle` --- Module Python de sérialisation en objet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| msgstr ":mod:`pickle` --- Module Python de sérialisation en objet" | |
| msgstr ":mod:`pickle` --- Module de sérialisation d'objets Python" |
| #: ../Doc/library/pickle.rst:10 | ||
| msgid "**Source code:** :source:`Lib/pickle.py`" | ||
| msgstr "" | ||
| msgstr "**Source code:** :source:`Lib/pickle.py`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikaelMonjour du coup tu peux accepter directement dans github les propositions de modifications que on fait. CF https://help.github.com/en/articles/incorporating-feedback-in-your-pull-request
😄
| Mergé à la main, relu (tous les commentaires ont été pris en compte) et poussé sur la 3.7. |
| top désolé j'ai un peu de taff de mon côté, Je ne suis pas trop dessus :/ Mais je pense m'y mettre à la traduction à un moment :) Cordialement, Mikael MONJOUR tel : 06 71 12 01 68 mikael.monjour@gmail.com ------------------------------------------------------------------------------------------------ Le mar. 26 févr. 2019 à 11:31, Julien Palard <notifications@github.com> a écrit : … Mergé à la main, relu (tous les commentaires ont été pris en compte) et poussé sur la 3.7. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#457 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ARuPNDSMY3VTioxR0jliDGqLVNQRbcWWks5vRQ0XgaJpZM4ZHW83> . |
En esperant que ce n'est pas trop mal fait
J'accepte les insultes ; )