-
-
Notifications
You must be signed in to change notification settings - Fork 16
Translate file c-api/allocation #1097
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
Open
mgiannopoulos24
wants to merge
11
commits into
python:3.14
Choose a base branch
from
mgiannopoulos24:translate/allocation
base: 3.14
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
08d734d
cpython
mgiannopoulos24 d6df6b2
Merge branch '3.14' of github.com:pygreece/python-docs-gr into 3.14
mgiannopoulos24 6f889ab
Merge branch '3.14' of github.com:pygreece/python-docs-gr into 3.14
mgiannopoulos24 5630f8b
Merge branch 'python:3.14' into 3.14
mgiannopoulos24 066b014
Merge remote-tracking branch 'upstream/3.14' into translate/allocation
mgiannopoulos24 4227b30
Translate file c-api/allocation
mgiannopoulos24 f2e75ce
Revert to 99ca cpython
mgiannopoulos24 1f40eb8
Update c-api/allocation.po
mgiannopoulos24 1cecb04
Update c-api/allocation.po
mgiannopoulos24 81ce74d
Update c-api/allocation.po
mgiannopoulos24 f8d5591
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,30 +9,35 @@ msgstr "" | |
"Project-Id-Version: Python 3.12\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2025-05-10 10:19+0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"Language: \n" | ||
"PO-Revision-Date: 2025-06-04 11:27+0300\n" | ||
"Last-Translator: Marios Giannopoulos <[email protected]>\n" | ||
"Language-Team: PyGreece <organizers@pygreece.org>\n" | ||
"Language: el\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: c-api/allocation.rst:6 | ||
msgid "Allocating Objects on the Heap" | ||
msgstr "" | ||
msgstr "Δέσμευση Αντικειμένων στο Σωρό" | ||
|
||
#: c-api/allocation.rst:17 | ||
msgid "" | ||
"Initialize a newly allocated object *op* with its type and initial " | ||
"reference. Returns the initialized object. Other fields of the object are " | ||
"not affected." | ||
msgstr "" | ||
"Αρχικοποιεί ένα νεοδεσμευμένο αντικείμενο *op* με τον τύπο και την αρχική " | ||
"αναφορά του. Επιστρέφει το αρχικοποιημένο αντικείμενο. Άλλα πεδία του " | ||
"αντικειμένου δεν επηρεάζονται." | ||
|
||
#: c-api/allocation.rst:24 | ||
msgid "" | ||
"This does everything :c:func:`PyObject_Init` does, and also initializes the " | ||
"length information for a variable-size object." | ||
msgstr "" | ||
"Αυτό κάνει τα πάντα που κάνει η :c:func:`PyObject_Init`, και επίσης " | ||
"αρχικοποιεί τις πληροφορίες μήκους για ένα αντικείμενο μεταβλητού μεγέθους." | ||
|
||
#: c-api/allocation.rst:30 | ||
msgid "" | ||
|
@@ -43,13 +48,22 @@ msgid "" | |
"the memory allocation is determined from the :c:member:`~PyTypeObject." | ||
"tp_basicsize` field of the type object." | ||
msgstr "" | ||
"Δεσμεύει ένα νέο αντικείμενο Python χρησιμοποιώντας τον τύπο δομής C *TYPE* " | ||
"και το αντικείμενο τύπου Python *typeobj* (``PyTypeObject*``). Τα πεδία που " | ||
"δεν ορίζονται από την κεφαλίδα αντικειμένου Python δεν αρχικοποιούνται. Ο " | ||
"καλών θα έχει την μοναδική αναφορά στο αντικείμενο (δηλαδή, η μέτρηση " | ||
"αναφορών του θα είναι ένα). Το μέγεθος της δέσμευσης μνήμης καθορίζεται από " | ||
"το πεδίο :c:member:`~PyTypeObject.tp_basicsize` του αντικειμένου τύπου." | ||
|
||
#: c-api/allocation.rst:38 | ||
msgid "" | ||
"Note that this function is unsuitable if *typeobj* has :c:macro:" | ||
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` " | ||
"instead." | ||
msgstr "" | ||
"Σημειώστε ότι αυτή η συνάρτηση δεν είναι κατάλληλη αν το *typeobj* έχει :c:" | ||
"macro:`Py_TPFLAGS_HAVE_GC` ορισμένο. Για τέτοια αντικείμενα, χρησιμοποιήστε :" | ||
"c:func:`PyObject_GC_New` αντ' αυτού." | ||
|
||
#: c-api/allocation.rst:45 | ||
msgid "" | ||
|
@@ -63,29 +77,45 @@ msgid "" | |
"same allocation decreases the number of allocations, improving the memory " | ||
"management efficiency." | ||
msgstr "" | ||
"Δεσμεύει ένα νέο αντικείμενο Python χρησιμοποιώντας τον τύπο δομής C *TYPE* " | ||
"και το αντικείμενο τύπου Python *typeobj* (``PyTypeObject*``). Τα πεδία που " | ||
"δεν ορίζονται από την κεφαλίδα αντικειμένου Python δεν αρχικοποιούνται. Η " | ||
"δεσμευμένη μνήμη επιτρέπει τη δομή *TYPE* συν *size* (``Py_ssize_t``) πεδία " | ||
"του μεγέθους που δίνεται από το πεδίο :c:member:`~PyTypeObject.tp_itemsize` " | ||
"του *typeobj*. Αυτό είναι χρήσιμο για την υλοποίηση αντικειμένων όπως τα " | ||
"tuples, τα οποία είναι σε θέση να προσδιορίσουν το μέγεθός τους κατά τη " | ||
mgiannopoulos24 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"διάρκεια της κατασκευής. Η ενσωμάτωση του πίνακα πεδίων στην ίδια δέσμευση " | ||
"μειώνει τον αριθμό των δεσμεύσεων, βελτιώνοντας την αποδοτικότητα " | ||
"διαχείρισης μνήμης." | ||
mgiannopoulos24 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: c-api/allocation.rst:56 | ||
msgid "" | ||
"Note that this function is unsuitable if *typeobj* has :c:macro:" | ||
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` " | ||
"instead." | ||
msgstr "" | ||
"Σημειώστε ότι αυτή η συνάρτηση δεν είναι κατάλληλη αν το *typeobj* έχει :c:" | ||
"macro:`Py_TPFLAGS_HAVE_GC` ορισμένο. Για τέτοια αντικείμενα, χρησιμοποιήστε :" | ||
"c:func:`PyObject_GC_NewVar` αντ' αυτού." | ||
|
||
#: c-api/allocation.rst:63 | ||
msgid "Same as :c:func:`PyObject_Free`." | ||
msgstr "" | ||
msgstr "Ίδιο με την :c:func:`PyObject_Free`." | ||
|
||
#: c-api/allocation.rst:67 | ||
msgid "" | ||
"Object which is visible in Python as ``None``. This should only be accessed " | ||
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " | ||
"object." | ||
msgstr "" | ||
"Αντικείμενο που είναι ορατό στην Python ως ``None``. Αυτό θα πρέπει να " | ||
"προσπελαύνεται μόνο χρησιμοποιώντας τη μακροεντολή :c:macro:`Py_None`, η " | ||
"οποία αξιολογείται σε έναν δείκτη σε αυτό το αντικείμενο." | ||
|
||
#: c-api/allocation.rst:74 | ||
msgid ":c:func:`PyModule_Create`" | ||
msgstr "" | ||
msgstr ":c:func:`PyModule_Create`" | ||
|
||
#: c-api/allocation.rst:75 | ||
msgid "To allocate and create extension modules." | ||
msgstr "" | ||
msgstr "Για να δεσμεύσετε και να δημιουργήσετε επεκτάσεις modules." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.