Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Je travaille sur c-api/memoryview.po#1173

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JulienPalard merged 3 commits intopython:3.9fromkw-andy:1135-memoryview-po
Sep 30, 2020

Conversation

kw-andy
Copy link
Contributor

No description provided.

Copy link
Member

@JulienPalardJulienPalard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Traduction difficile, mais dans c-api/ c'est pas surprenant :)

@@ -32,19 +36,28 @@ msgid ""
"will be read/write, otherwise it may be either read-only or read/write at "
"the discretion of the exporter."
msgstr ""
"Crée un objet memoryview à partir d'un objet qui fournit l'interface tampon. "
"si *obj* permet des exports d'interface tampon, l'objet memoryview peut être "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

If *obj* supports writable buffer exports n'est pas évident à traduire. Dans ta traduction il manque la notion dewritable.

Dans tous les cas l'objet permet l'export, sans quoi on ne peut pas créer un memoryview. L'export c'est le fait d'exposer un buffer via une API. Cette API fournit unbuffer, cebuffer exporté peut soit etre en lecture seule, en ce cas la memoryview sera en lecture seule, soit être en lecture/écriture en ce cas la memoryview sera en lecture/écriture.

Il faut, je pense, lirehttps://docs.python.org/3/c-api/buffer.html avant, qui explique ce que signifie "exporter un buffer" :

a type can export a “buffer interface” which allows objects of that type to expose information about their underlying buffer.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

La doc ditAny object that can export a series of bytes through the buffer interface can be written to a file.

On pourrait faire cela :Si *obj* permet les exports d'interfaces tampon en lecture comme en écriture notamment lors d'un write(). Qu'en penses-tu ?

@deronnaxderonnax linked an issueMar 21, 2020 that may beclosed by this pull request
@deronnax
Copy link
Collaborator

@kw-andy tu reprends :) ? Tu as vu que pospell n'accepte pas le motmemoryview ?

kw-andy reacted with thumbs up emoji

@deronnax
Copy link
Collaborator

@awecx@christopheNan votre avis sur le "memoryview" ? Entre astérisques ou traduit ?

@christopheNan
Copy link
Contributor

@awecx@christopheNan votre avis sur le "memoryview" ? Entre astérisques ou traduit ?

Je ne vois pas de traduction satisfaisante (« vue mèmoire » ?). Je mettrais entre astèrisques. On pourra toujours le reprendre plus tard.

kw-andy reacted with thumbs up emoji

@kw-andy
Copy link
ContributorAuthor

je fais les corrections ce weekend.

@deronnax
Copy link
Collaborator

on y va ;) ?

@JulienPalard
Copy link
Member

J'ai changé la base de cette PR de 3.8 à 3.9.

@@ -24,6 +25,9 @@ msgid ""
"<bufferobjects>` as a Python object which can then be passed around like any "
"other object."
msgstr ""
"Un objet :class:`memoryview` démontre / montre :ref:`buffer interface "
"<bufferobjects>` comme un objet python via le niveau C. Cet objet peut être "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

PlutotExpose le xxx du niveau C comme un objet Python

@@ -32,19 +36,28 @@ msgid ""
"will be read/write, otherwise it may be either read-only or read/write at "
"the discretion of the exporter."
msgstr ""
"Crée un objet memoryview à partir d'un objet qui fournit l'interface tampon. "
"si *obj* permet des exports d'interface tampon, l'objet memoryview peut être "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
"si *obj* permet des exports d'interfacetampon, l'objet memoryview peut être"
"Si *obj* permet des exports d'interface*writable*, l'objet memoryview peut être"

JulienPalardand others added2 commitsSeptember 30, 2020 10:51
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
@JulienPalardJulienPalard merged commitf375e25 intopython:3.9Sep 30, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@Seluj78Seluj78Seluj78 left review comments

@JulienPalardJulienPalardJulienPalard approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Je travaille sur c-api/memoryview.po
5 participants
@kw-andy@deronnax@christopheNan@JulienPalard@Seluj78

[8]ページ先頭

©2009-2025 Movatter.jp