-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexceptions.po
More file actions
2031 lines (1824 loc) · 89 KB
/
Copy pathexceptions.po
File metadata and controls
2031 lines (1824 loc) · 89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-23 06:17+0000\n"
"PO-Revision-Date: 2026-08-20 00:01+0000\n"
"Last-Translator: Swen Bachmann <[email protected]>\n"
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../../builtins/exceptions.rst:4
msgid "Built-in Exceptions"
msgstr "Integrierte Exceptions"
#: ../../builtins/exceptions.rst:10
msgid ""
"In Python, all exceptions must be instances of a class that derives from :"
"class:`BaseException`. In a :keyword:`try` statement with an :keyword:"
"`except` clause that mentions a particular class, that clause also handles "
"any exception classes derived from that class (but not exception classes "
"from which *it* is derived). Two exception classes that are not related via "
"subclassing are never equivalent, even if they have the same name."
msgstr ""
"In Python müssen alle Exceptions Instanzen einer Klasse sein, die von :class:"
"`BaseException` abgeleitet ist. In einer :keyword:`try`-Anweisung mit einer :"
"keyword:`except`-Klausel, die eine bestimmte Klasse angibt, behandelt diese "
"Klausel auch alle Exception-Klassen, die von dieser Klasse abgeleitet sind "
"(jedoch keine Exception-Klassen, von denen *sie* abgeleitet ist). Zwei "
"Exception-Klassen, die nicht durch Vererbung miteinander verwandt sind, sind "
"niemals äquivalent, selbst wenn sie denselben Namen tragen."
#: ../../builtins/exceptions.rst:19
msgid ""
"The built-in exceptions listed in this chapter can be generated by the "
"interpreter or built-in functions. Except where mentioned, they have an "
"\"associated value\" indicating the detailed cause of the error. This may "
"be a string or a tuple of several items of information (e.g., an error code "
"and a string explaining the code). The associated value is usually passed "
"as arguments to the exception class's constructor."
msgstr ""
"Die in diesem Kapitel aufgeführten integrierten Exceptions können vom "
"Interpreter oder von integrierten Funktionen erzeugt werden. Sofern nicht "
"anders angegeben, besitzen sie einen „zugehörigen Wert“, der die genaue "
"Fehlerursache angibt. Dies kann eine Zeichenkette oder ein Tupel aus "
"mehreren Informationselementen sein (z. B. ein Fehlercode und eine "
"Zeichenkette, die den Code erklärt). Der zugehörige Wert wird üblicherweise "
"als Argument an den Konstruktor der Exception-Klasse übergeben."
#: ../../builtins/exceptions.rst:26
msgid ""
"User code can raise built-in exceptions. This can be used to test an "
"exception handler or to report an error condition \"just like\" the "
"situation in which the interpreter raises the same exception; but beware "
"that there is nothing to prevent user code from raising an inappropriate "
"error."
msgstr ""
"Benutzercode kann integrierte Exceptions auslösen. Dies kann genutzt werden, "
"um einen Exception-Handler zu testen oder einen Fehlerzustand „genauso“ zu "
"melden wie in der Situation, in der der Interpreter dieselbe Exception "
"auslösen würde. Beachte jedoch, dass Benutzercode nicht daran gehindert "
"wird, einen unpassenden Fehler auszulösen."
#: ../../builtins/exceptions.rst:31
msgid ""
"The built-in exception classes can be subclassed to define new exceptions; "
"programmers are encouraged to derive new exceptions from the :exc:"
"`Exception` class or one of its subclasses, and not from :exc:"
"`BaseException`. More information on defining exceptions is available in "
"the Python Tutorial under :ref:`tut-userexceptions`."
msgstr ""
"Von den integrierten Exception-Klassen können Unterklassen abgeleitet "
"werden, um neue Exceptions zu definieren. Es wird empfohlen, neue Exceptions "
"von der Klasse :exc:`Exception` oder einer ihrer Unterklassen abzuleiten und "
"nicht von :exc:`BaseException`. Weitere Informationen zur Definition von "
"Exceptions findest du im Python-Tutorial unter :ref:`tut-userexceptions`."
#: ../../builtins/exceptions.rst:39
msgid "Exception context"
msgstr "Exception-Kontext"
#: ../../builtins/exceptions.rst:46
msgid ""
"Three attributes on exception objects provide information about the context "
"in which the exception was raised:"
msgstr ""
"Drei Attribute von Exception-Objekten liefern Informationen über den "
"Kontext, in dem die Exception ausgelöst wurde:"
#: ../../builtins/exceptions.rst:53
msgid ""
"When raising a new exception while another exception is already being "
"handled, the new exception's :attr:`!__context__` attribute is automatically "
"set to the handled exception. An exception may be handled when an :keyword:"
"`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is "
"used."
msgstr ""
"Wird eine neue Exception ausgelöst, während bereits eine andere Exception "
"behandelt wird, wird das Attribut :attr:`!__context__` der neuen Exception "
"automatisch auf die behandelte Exception gesetzt. Eine Exception wird "
"behandelt, wenn eine :keyword:`except`- oder :keyword:`finally`-Klausel oder "
"eine :keyword:`with`-Anweisung verwendet wird."
#: ../../builtins/exceptions.rst:59
msgid ""
"This implicit exception context can be supplemented with an explicit cause "
"by using :keyword:`!from` with :keyword:`raise`::"
msgstr ""
"Dieser implizite Exception-Kontext kann durch die Verwendung von :keyword:`!"
"from` zusammen mit :keyword:`raise` um eine explizite Ursache ergänzt "
"werden::"
#: ../../builtins/exceptions.rst:63
msgid "raise new_exc from original_exc"
msgstr "raise new_exc from original_exc"
#: ../../builtins/exceptions.rst:65
msgid ""
"The expression following :keyword:`from<raise>` must be an exception or "
"``None``. It will be set as :attr:`!__cause__` on the raised exception. "
"Setting :attr:`!__cause__` also implicitly sets the :attr:`!"
"__suppress_context__` attribute to ``True``, so that using ``raise new_exc "
"from None`` effectively replaces the old exception with the new one for "
"display purposes (e.g. converting :exc:`KeyError` to :exc:`AttributeError`), "
"while leaving the old exception available in :attr:`!__context__` for "
"introspection when debugging."
msgstr ""
"Der Ausdruck nach :keyword:`from <raise>` muss eine Exception oder ``None`` "
"sein. Er wird als :attr:`!__cause__` für die ausgelöste Exception gesetzt. "
"Das Setzen von :attr:`!__cause__` setzt außerdem implizit das Attribut :attr:"
"`!__suppress_context__` auf ``True``, sodass die Verwendung von ``raise "
"new_exc from None`` für Anzeigezwecke die alte Exception effektiv durch die "
"neue ersetzt (z. B. bei der Umwandlung von :exc:`KeyError` in :exc:"
"`AttributeError`), während die alte Exception für die Introspektion beim "
"Debuggen weiterhin in :attr:`!__context__` verfügbar bleibt."
#: ../../builtins/exceptions.rst:74
msgid ""
"The default traceback display code shows these chained exceptions in "
"addition to the traceback for the exception itself. An explicitly chained "
"exception in :attr:`!__cause__` is always shown when present. An implicitly "
"chained exception in :attr:`!__context__` is shown only if :attr:`!"
"__cause__` is :const:`None` and :attr:`!__suppress_context__` is false."
msgstr ""
"Die Standardausgabe des Tracebacks zeigt diese verketteten Exceptions "
"zusätzlich zum Traceback der Exception selbst an. Eine explizit verkettete "
"Exception in :attr:`!__cause__` wird immer angezeigt, sofern vorhanden. Eine "
"implizit verkettete Exception in :attr:`!__context__` wird nur angezeigt, "
"wenn :attr:`!__cause__` :const:`None` und :attr:`!__suppress_context__` "
"falsch ist."
#: ../../builtins/exceptions.rst:80
msgid ""
"In either case, the exception itself is always shown after any chained "
"exceptions so that the final line of the traceback always shows the last "
"exception that was raised."
msgstr ""
"In beiden Fällen wird die Exception selbst immer nach allen verketteten "
"Exceptions angezeigt, sodass die letzte Zeile des Tracebacks immer die "
"zuletzt ausgelöste Exception zeigt."
#: ../../builtins/exceptions.rst:86
msgid "Inheriting from built-in exceptions"
msgstr "Erben von integrierten Exceptions"
#: ../../builtins/exceptions.rst:88
msgid ""
"User code can create subclasses that inherit from an exception type. It's "
"recommended to only subclass one exception type at a time to avoid any "
"possible conflicts between how the bases handle the ``args`` attribute, as "
"well as due to possible memory layout incompatibilities."
msgstr ""
"Benutzercode kann Unterklassen erstellen, die von einem Exception-Typ erben. "
"Es wird empfohlen, immer nur von einem Exception-Typ gleichzeitig zu erben, "
"um mögliche Konflikte bei der Handhabung des ``args``-Attributs durch die "
"Basisklassen sowie Inkompatibilitäten beim Speicherlayout zu vermeiden."
#: ../../builtins/exceptions.rst:95
msgid ""
"Most built-in exceptions are implemented in C for efficiency, see: :source:"
"`Objects/exceptions.c`. Some have custom memory layouts which makes it "
"impossible to create a subclass that inherits from multiple exception types. "
"The memory layout of a type is an implementation detail and might change "
"between Python versions, leading to new conflicts in the future. Therefore, "
"it's recommended to avoid subclassing multiple exception types altogether."
msgstr ""
"Die meisten integrierten Exceptions sind aus Effizienzgründen in C "
"implementiert, siehe :source:`Objects/exceptions.c`. Einige besitzen "
"spezielle Speicherlayouts, die es unmöglich machen, eine Unterklasse zu "
"erstellen, die von mehreren Exception-Typen erbt. Das Speicherlayout eines "
"Typs ist ein Implementierungsdetail und kann sich zwischen Python-Versionen "
"ändern, was künftig zu neuen Konflikten führen könnte. Daher wird empfohlen, "
"das gleichzeitige Erben von mehreren Exception-Typen gänzlich zu vermeiden."
#: ../../builtins/exceptions.rst:105
msgid "Base classes"
msgstr "Basisklassen"
#: ../../builtins/exceptions.rst:107
msgid ""
"The following exceptions are used mostly as base classes for other "
"exceptions."
msgstr ""
"Die folgenden Exceptions werden hauptsächlich als Basisklassen für andere "
"Exceptions verwendet."
#: ../../builtins/exceptions.rst:111
msgid ""
"The base class for all built-in exceptions. It is not meant to be directly "
"inherited by user-defined classes (for that, use :exc:`Exception`). If :"
"func:`str` is called on an instance of this class, the representation of the "
"argument(s) to the instance are returned, or the empty string when there "
"were no arguments."
msgstr ""
"Die Basisklasse für alle integrierten Exceptions. Sie ist nicht dazu "
"gedacht, direkt von benutzerdefinierten Klassen geerbt zu werden (verwende "
"dafür :exc:`Exception`). Wird :func:`str` für eine Instanz dieser Klasse "
"aufgerufen, wird die Darstellung der an die Instanz übergebenen Argumente "
"zurückgegeben oder eine leere Zeichenkette, falls keine Argumente vorhanden "
"waren."
#: ../../builtins/exceptions.rst:119
msgid ""
"The tuple of arguments given to the exception constructor. Some built-in "
"exceptions (like :exc:`OSError`) expect a certain number of arguments and "
"assign a special meaning to the elements of this tuple, while others are "
"usually called only with a single string giving an error message."
msgstr ""
"Das Tupel der Argumente, die an den Exception-Konstruktor übergeben wurden. "
"Einige integrierte Exceptions (wie :exc:`OSError`) erwarten eine bestimmte "
"Anzahl von Argumenten und weisen den Elementen dieses Tupels eine spezielle "
"Bedeutung zu, während andere üblicherweise nur mit einer einzelnen "
"Zeichenkette aufgerufen werden, die eine Fehlermeldung enthält."
#: ../../builtins/exceptions.rst:126
msgid ""
"This method sets *tb* as the new traceback for the exception and returns the "
"exception object. It was more commonly used before the exception chaining "
"features of :pep:`3134` became available. The following example shows how "
"we can convert an instance of ``SomeException`` into an instance of "
"``OtherException`` while preserving the traceback. Once raised, the current "
"frame is pushed onto the traceback of the ``OtherException``, as would have "
"happened to the traceback of the original ``SomeException`` had we allowed "
"it to propagate to the caller. ::"
msgstr ""
"Diese Methode setzt *tb* als neuen Traceback für die Exception und gibt das "
"Exception-Objekt zurück. Sie wurde vor der Einführung der Exception-"
"Verkettung aus :pep:`3134` häufiger verwendet. Das folgende Beispiel zeigt, "
"wie eine Instanz von ``SomeException`` unter Beibehaltung des Tracebacks in "
"eine Instanz von ``OtherException`` umgewandelt werden kann. Sobald sie "
"ausgelöst wird, wird der aktuelle Frame auf den Traceback von "
"``OtherException`` gelegt – genauso, wie es beim Traceback der "
"ursprünglichen ``SomeException`` geschehen wäre, wenn sie an den Aufrufer "
"weitergeleitet worden wäre. ::"
#: ../../builtins/exceptions.rst:135
msgid ""
"try:\n"
" ...\n"
"except SomeException:\n"
" tb = sys.exception().__traceback__\n"
" raise OtherException(...).with_traceback(tb)"
msgstr ""
"try:\n"
" ...\n"
"except SomeException:\n"
" tb = sys.exception().__traceback__\n"
" raise OtherException(...).with_traceback(tb)"
#: ../../builtins/exceptions.rst:143
msgid ""
"A writable field that holds the :ref:`traceback object <traceback-objects>` "
"associated with this exception. See also: :ref:`raise`."
msgstr ""
"Ein beschreibbares Feld, das das mit dieser Exception verknüpfte :ref:"
"`Traceback-Objekt <traceback-objects>` enthält. Siehe auch :ref:`raise`."
#: ../../builtins/exceptions.rst:149
msgid ""
"Add the string ``note`` to the exception's notes which appear in the "
"standard traceback after the exception string. A :exc:`TypeError` is raised "
"if ``note`` is not a string."
msgstr ""
"Fügt die Zeichenkette ``note`` zu den Notizen der Exception hinzu, die im "
"Standard-Traceback nach der Exception-Zeichenkette angezeigt werden. Es wird "
"ein :exc:`TypeError` ausgelöst, wenn ``note`` keine Zeichenkette ist."
#: ../../builtins/exceptions.rst:157
msgid ""
"A list of the notes of this exception, which were added with :meth:"
"`add_note`. This attribute is created when :meth:`add_note` is called."
msgstr ""
"Eine Liste der Notizen dieser Exception, die mit :meth:`add_note` "
"hinzugefügt wurden. Dieses Attribut wird erstellt, wenn :meth:`add_note` "
"aufgerufen wird."
#: ../../builtins/exceptions.rst:165
msgid ""
"All built-in, non-system-exiting exceptions are derived from this class. "
"All user-defined exceptions should also be derived from this class."
msgstr ""
"Alle integrierten Exceptions, die das System nicht beenden, sind von dieser "
"Klasse abgeleitet. Alle benutzerdefinierten Exceptions sollten ebenfalls von "
"dieser Klasse abgeleitet werden."
#: ../../builtins/exceptions.rst:171
msgid ""
"The base class for those built-in exceptions that are raised for various "
"arithmetic errors: :exc:`OverflowError`, :exc:`ZeroDivisionError`, :exc:"
"`FloatingPointError`."
msgstr ""
"Die Basisklasse für diejenigen integrierten Exceptions, die bei "
"verschiedenen Rechenfehlern ausgelöst werden: :exc:`OverflowError`, :exc:"
"`ZeroDivisionError`, :exc:`FloatingPointError`."
#: ../../builtins/exceptions.rst:178
msgid ""
"Raised when a :ref:`buffer <bufferobjects>` related operation cannot be "
"performed."
msgstr ""
"Wird ausgelöst, wenn eine Operation im Zusammenhang mit einem :ref:`Puffer "
"<bufferobjects>` nicht ausgeführt werden kann."
#: ../../builtins/exceptions.rst:184
msgid ""
"The base class for the exceptions that are raised when a key or index used "
"on a mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. "
"This can be raised directly by :func:`codecs.lookup`."
msgstr ""
"Die Basisklasse für Exceptions, die ausgelöst werden, wenn ein für ein "
"Mapping oder eine Sequenz verwendeter Schlüssel oder Index ungültig ist: :"
"exc:`IndexError`, :exc:`KeyError`. Dies kann direkt von :func:`codecs."
"lookup` ausgelöst werden."
#: ../../builtins/exceptions.rst:190
msgid "Concrete exceptions"
msgstr "Konkrete Exceptions"
#: ../../builtins/exceptions.rst:192
msgid "The following exceptions are the exceptions that are usually raised."
msgstr ""
"Die folgenden Exceptions sind diejenigen, die üblicherweise ausgelöst werden."
#: ../../builtins/exceptions.rst:198
msgid "Raised when an :keyword:`assert` statement fails."
msgstr "Wird ausgelöst, wenn eine :keyword:`assert`-Anweisung fehlschlägt."
#: ../../builtins/exceptions.rst:203
msgid ""
"Raised when an attribute reference (see :ref:`attribute-references`) or "
"assignment fails. (When an object does not support attribute references or "
"attribute assignments at all, :exc:`TypeError` is raised.)"
msgstr ""
"Wird ausgelöst, wenn eine Attribut-Referenzierung (siehe :ref:`attribute-"
"references`) oder -Zuweisung fehlschlägt. (Wenn ein Objekt überhaupt keine "
"Attribut-Referenzierungen oder -Zuweisungen unterstützt, wird ein :exc:"
"`TypeError` ausgelöst.)"
#: ../../builtins/exceptions.rst:207
msgid ""
"The optional *name* and *obj* keyword-only arguments set the corresponding "
"attributes:"
msgstr ""
"Die optionalen reinen Schlüsselwort-Argumente *name* und *obj* setzen die "
"entsprechenden Attribute:"
#: ../../builtins/exceptions.rst:212
msgid "The name of the attribute that was attempted to be accessed."
msgstr "Der Name des Attributs, auf das zugegriffen werden sollte."
#: ../../builtins/exceptions.rst:216
msgid "The object that was accessed for the named attribute."
msgstr "Das Objekt, auf dessen genanntes Attribut zugegriffen wurde."
#: ../../builtins/exceptions.rst:218
msgid "Added the :attr:`name` and :attr:`obj` attributes."
msgstr "Die Attribute :attr:`name` und :attr:`obj` wurden hinzugefügt."
#: ../../builtins/exceptions.rst:223
msgid ""
"Raised when the :func:`input` function hits an end-of-file condition (EOF) "
"without reading any data. (Note: the :meth:`io.TextIOBase.read` and :meth:"
"`io.IOBase.readline` methods return an empty string when they hit EOF.)"
msgstr ""
"Wird ausgelöst, wenn die Funktion :func:`input` eine End-of-File-Bedingung "
"(EOF) erreicht, ohne Daten zu lesen. (Hinweis: Die Methoden :meth:`io."
"TextIOBase.read` und :meth:`io.IOBase.readline` geben eine leere "
"Zeichenkette zurück, wenn sie auf EOF stoßen.)"
#: ../../builtins/exceptions.rst:230
msgid "Not currently used."
msgstr "Wird derzeit nicht verwendet."
#: ../../builtins/exceptions.rst:235
msgid ""
"Raised when a :term:`generator` or :term:`coroutine` is closed; see :meth:"
"`generator.close` and :meth:`coroutine.close`. It directly inherits from :"
"exc:`BaseException` instead of :exc:`Exception` since it is technically not "
"an error."
msgstr ""
"Wird ausgelöst, wenn ein :term:`Generator <generator>` oder eine :term:"
"`Coroutine <coroutine>` geschlossen wird; siehe :meth:`generator.close` und :"
"meth:`coroutine.close`. Sie erbt direkt von :exc:`BaseException` statt von :"
"exc:`Exception`, da es sich technisch gesehen um keinen Fehler handelt."
#: ../../builtins/exceptions.rst:243
msgid ""
"Raised when the :keyword:`import` statement has troubles trying to load a "
"module. Also raised when the \"from list\" in ``from ... import`` has a "
"name that cannot be found."
msgstr ""
"Wird ausgelöst, wenn die :keyword:`import`-Anweisung Probleme beim Laden "
"eines Moduls hat. Wird auch ausgelöst, wenn die „from-Liste“ in ``from ... "
"import`` einen Namen enthält, der nicht gefunden werden kann."
#: ../../builtins/exceptions.rst:247
msgid ""
"The optional *name* and *path* keyword-only arguments set the corresponding "
"attributes:"
msgstr ""
"Die optionalen reinen Schlüsselwort-Argumente *name* und *path* setzen die "
"entsprechenden Attribute:"
#: ../../builtins/exceptions.rst:252
msgid "The name of the module that was attempted to be imported."
msgstr "Der Name des Moduls, das importiert werden sollte."
#: ../../builtins/exceptions.rst:256
msgid "The path to any file which triggered the exception."
msgstr "Der Pfad zu einer Datei, die die Exception ausgelöst hat."
#: ../../builtins/exceptions.rst:258
msgid "Added the :attr:`name` and :attr:`path` attributes."
msgstr "Die Attribute :attr:`name` und :attr:`path` wurden hinzugefügt."
#: ../../builtins/exceptions.rst:263
msgid ""
"A subclass of :exc:`ImportError` which is raised by :keyword:`import` when a "
"module could not be located. It is also raised when ``None`` is found in :"
"data:`sys.modules`."
msgstr ""
"Eine Unterklasse von :exc:`ImportError`, die von :keyword:`import` ausgelöst "
"wird, wenn ein Modul nicht gefunden werden konnte. Sie wird auch ausgelöst, "
"wenn ``None`` in :data:`sys.modules` vorgefunden wird."
#: ../../builtins/exceptions.rst:271
msgid ""
"A subclass of :exc:`ImportError` which is raised when a lazy import fails "
"because it (directly or indirectly) tries to import itself."
msgstr ""
"Eine Unterklasse von :exc:`ImportError`, die ausgelöst wird, wenn ein Lazy "
"Import fehlschlägt, weil er (direkt oder indirekt) versucht, sich selbst zu "
"importieren."
#: ../../builtins/exceptions.rst:278
msgid ""
"Raised when a sequence subscript is out of range. (Slice indices are "
"silently truncated to fall in the allowed range; if an index is not an "
"integer, :exc:`TypeError` is raised.)"
msgstr ""
"Wird ausgelöst, wenn ein Sequenzindex außerhalb des gültigen Bereichs liegt. "
"(Slice-Indizes werden stillschweigend gekürzt, um in den zulässigen Bereich "
"zu fallen; wenn ein Index keine Ganzzahl ist, wird ein :exc:`TypeError` "
"ausgelöst.)"
#: ../../builtins/exceptions.rst:287
msgid ""
"Raised when a mapping (dictionary) key is not found in the set of existing "
"keys."
msgstr ""
"Wird ausgelöst, wenn ein Mapping-Schlüssel (Dictionary-Schlüssel) nicht in "
"der Menge der vorhandenen Schlüssel gefunden wird."
#: ../../builtins/exceptions.rst:294
msgid ""
"Raised when the user hits the interrupt key (normally :kbd:`Control-C` or :"
"kbd:`Delete`). During execution, a check for interrupts is made regularly. "
"The exception inherits from :exc:`BaseException` so as to not be "
"accidentally caught by code that catches :exc:`Exception` and thus prevent "
"the interpreter from exiting."
msgstr ""
"Wird ausgelöst, wenn der Benutzer die Unterbrechungstaste drückt "
"(normalerweise :kbd:`Control-C` oder :kbd:`Delete`). Während der Ausführung "
"wird regelmäßig auf Unterbrechungen geprüft. Die Exception erbt von :exc:"
"`BaseException`, damit sie nicht versehentlich von Code abgefangen wird, "
"der :exc:`Exception` fängt, und so das Beenden des Interpreters verhindert."
#: ../../builtins/exceptions.rst:302
msgid ""
"Catching a :exc:`KeyboardInterrupt` requires special consideration. Because "
"it can be raised at unpredictable points, it may, in some circumstances, "
"leave the running program in an inconsistent state. It is generally best to "
"allow :exc:`KeyboardInterrupt` to end the program as quickly as possible or "
"avoid raising it entirely. (See :ref:`handlers-and-exceptions`.)"
msgstr ""
"Das Abfangen eines :exc:`KeyboardInterrupt` erfordert besondere Vorsicht. Da "
"er an unvorhersehbaren Stellen ausgelöst werden kann, kann er das laufende "
"Programm unter Umständen in einem inkonsistenten Zustand hinterlassen. Es "
"ist im Allgemeinen am besten, dem :exc:`KeyboardInterrupt` zu erlauben, das "
"Programm so schnell wie möglich zu beenden, oder das Auslösen gänzlich zu "
"vermeiden. (Siehe :ref:`handlers-and-exceptions`.)"
#: ../../builtins/exceptions.rst:312
msgid ""
"Raised when an operation runs out of memory but the situation may still be "
"rescued (by deleting some objects). The associated value is a string "
"indicating what kind of (internal) operation ran out of memory. Note that "
"because of the underlying memory management architecture (C's :c:func:"
"`malloc` function), the interpreter may not always be able to completely "
"recover from this situation; it nevertheless raises an exception so that a "
"stack traceback can be printed, in case a run-away program was the cause."
msgstr ""
"Wird ausgelöst, wenn einer Operation der Speicher ausgeht, die Situation "
"aber noch gerettet werden kann (durch Löschen einiger Objekte). Der "
"zugehörige Wert ist eine Zeichenkette, die angibt, welcher Art von "
"(interner) Operation der Speicher ausgegangen ist. Beachte, dass sich der "
"Interpreter aufgrund der zugrunde liegenden Speicherverwaltungsarchitektur "
"(C-Funktion :c:func:`malloc`) möglicherweise nicht immer vollständig von "
"dieser Situation erholen kann; er löst dennoch eine Exception aus, damit ein "
"Stack-Traceback ausgegeben werden kann, falls ein außer Kontrolle geratenes "
"Programm die Ursache war."
#: ../../builtins/exceptions.rst:323
msgid ""
"Raised when a local or global name is not found. This applies only to "
"unqualified names. The associated value is an error message that includes "
"the name that could not be found."
msgstr ""
"Wird ausgelöst, wenn ein lokaler oder globaler Name nicht gefunden wird. "
"Dies gilt nur für unqualifizierte Namen. Der zugehörige Wert ist eine "
"Fehlermeldung, die den nicht auffindbaren Namen enthält."
#: ../../builtins/exceptions.rst:327
msgid "The optional *name* keyword-only argument sets the attribute:"
msgstr "Das optionale reine Schlüsselwort-Argument *name* setzt das Attribut:"
#: ../../builtins/exceptions.rst:331
msgid "The name of the variable that was attempted to be accessed."
msgstr "Der Name der Variable, auf die zugegriffen werden sollte."
#: ../../builtins/exceptions.rst:333
msgid "Added the :attr:`name` attribute."
msgstr "Das Attribut :attr:`name` wurde hinzugefügt."
#: ../../builtins/exceptions.rst:339
msgid ""
"This exception is derived from :exc:`RuntimeError`. In user defined base "
"classes, abstract methods should raise this exception when they require "
"derived classes to override the method, or while the class is being "
"developed to indicate that the real implementation still needs to be added."
msgstr ""
"Diese Exception ist von :exc:`RuntimeError` abgeleitet. In "
"benutzerdefinierten Basisklassen sollten abstrakte Methoden diese Exception "
"auslösen, wenn abgeleitete Klassen die Methode überschreiben müssen oder "
"während die Klasse entwickelt wird, um anzuzeigen, dass die eigentliche "
"Implementierung noch ergänzt werden muss."
#: ../../builtins/exceptions.rst:346
msgid ""
"It should not be used to indicate that an operator or method is not meant to "
"be supported at all -- in that case either leave the operator / method "
"undefined or, if a subclass, set it to :data:`None`."
msgstr ""
"Sie sollte nicht verwendet werden, um anzuzeigen, dass ein Operator oder "
"eine Methode überhaupt nicht unterstützt werden soll – belasse in diesem "
"Fall den Operator bzw. die Methode entweder undefiniert oder setze sie in "
"einer Unterklasse auf :data:`None`."
#: ../../builtins/exceptions.rst:352
msgid ""
":exc:`!NotImplementedError` and :data:`!NotImplemented` are not "
"interchangeable. This exception should only be used as described above; see :"
"data:`NotImplemented` for details on correct usage of the built-in constant."
msgstr ""
":exc:`!NotImplementedError` und :data:`!NotImplemented` sind nicht "
"austauschbar. Diese Exception sollte nur wie oben beschrieben verwendet "
"werden; siehe :data:`NotImplemented` für Details zur korrekten Verwendung "
"der integrierten Konstante."
#: ../../builtins/exceptions.rst:363
msgid ""
"This exception is raised when a system function returns a system-related "
"error, including I/O failures such as \"file not found\" or \"disk "
"full\" (not for illegal argument types or other incidental errors)."
msgstr ""
"Diese Exception wird ausgelöst, wenn eine Systemfunktion einen "
"systembezogenen Fehler zurückgibt, einschließlich E/A-Fehlern wie „Datei "
"nicht gefunden“ oder „Festplatte voll“ (nicht bei unzulässigen Argumenttypen "
"oder anderen beiläufigen Fehlern)."
#: ../../builtins/exceptions.rst:367
msgid ""
"The second form of the constructor sets the corresponding attributes, "
"described below. The attributes default to :const:`None` if not specified. "
"For backwards compatibility, if three arguments are passed, the :attr:"
"`~BaseException.args` attribute contains only a 2-tuple of the first two "
"constructor arguments."
msgstr ""
"Die zweite Form des Konstruktors setzt die entsprechenden, unten "
"beschriebenen Attribute. Sofern nicht angegeben, sind die Attribute "
"standardmäßig :const:`None`. Aus Gründen der Abwärtskompatibilität enthält "
"das Attribut :attr:`~BaseException.args` bei Übergabe von drei Argumenten "
"nur ein 2-Tupel der ersten beiden Konstruktorargumente."
#: ../../builtins/exceptions.rst:373
msgid ""
"The constructor often actually returns a subclass of :exc:`OSError`, as "
"described in `OS exceptions`_ below. The particular subclass depends on the "
"final :attr:`.errno` value. This behaviour only occurs when constructing :"
"exc:`OSError` directly or via an alias, and is not inherited when "
"subclassing."
msgstr ""
"Der Konstruktor gibt häufig tatsächlich eine Unterklasse von :exc:`OSError` "
"zurück, wie unten in `OS exceptions`_ beschrieben. Die jeweilige Unterklasse "
"hängt vom endgültigen Wert von :attr:`.errno` ab. Dieses Verhalten tritt nur "
"auf, wenn :exc:`OSError` direkt oder über einen Alias konstruiert wird, und "
"wird beim Erstellen von Unterklassen nicht vererbt."
#: ../../builtins/exceptions.rst:381
msgid "A numeric error code from the C variable :c:data:`errno`."
msgstr "Ein numerischer Fehlercode aus der C-Variable :c:data:`errno`."
#: ../../builtins/exceptions.rst:385
msgid ""
"Under Windows, this gives you the native Windows error code. The :attr:`."
"errno` attribute is then an approximate translation, in POSIX terms, of that "
"native error code."
msgstr ""
"Unter Windows liefert dies den nativen Windows-Fehlercode. Das Attribut :"
"attr:`.errno` ist dann eine ungefähre Übersetzung dieses nativen Fehlercodes "
"in POSIX-Begriffe."
#: ../../builtins/exceptions.rst:389
msgid ""
"Under Windows, if the *winerror* constructor argument is an integer, the :"
"attr:`.errno` attribute is determined from the Windows error code, and the "
"*errno* argument is ignored. On other platforms, the *winerror* argument is "
"ignored, and the :attr:`winerror` attribute does not exist."
msgstr ""
"Wenn unter Windows das Konstruktorargument *winerror* eine Ganzzahl ist, "
"wird das Attribut :attr:`.errno` aus dem Windows-Fehlercode bestimmt und das "
"Argument *errno* wird ignoriert. Auf anderen Plattformen wird das Argument "
"*winerror* ignoriert und das Attribut :attr:`winerror` existiert nicht."
#: ../../builtins/exceptions.rst:397
msgid ""
"The corresponding error message, as provided by the operating system. It is "
"formatted by the C functions :c:func:`!perror` under POSIX, and :c:func:`!"
"FormatMessage` under Windows."
msgstr ""
"Die entsprechende Fehlermeldung, wie sie vom Betriebssystem bereitgestellt "
"wird. Sie wird unter POSIX durch die C-Funktion :c:func:`!perror` und unter "
"Windows durch :c:func:`!FormatMessage` formatiert."
#: ../../builtins/exceptions.rst:405
msgid ""
"For exceptions that involve a file system path (such as :func:`open` or :"
"func:`os.unlink`), :attr:`filename` is the file name passed to the function. "
"For functions that involve two file system paths (such as :func:`os."
"rename`), :attr:`filename2` corresponds to the second file name passed to "
"the function."
msgstr ""
"Bei Exceptions, die einen Dateisystempfad betreffen (wie :func:`open` oder :"
"func:`os.unlink`), ist :attr:`filename` der an die Funktion übergebene "
"Dateiname. Bei Funktionen, die zwei Dateisystempfade betreffen (wie :func:"
"`os.rename`), entspricht :attr:`filename2` dem zweiten an die Funktion "
"übergebenen Dateinamen."
#: ../../builtins/exceptions.rst:412
msgid ""
":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket."
"error`, :exc:`select.error` and :exc:`!mmap.error` have been merged into :"
"exc:`OSError`, and the constructor may return a subclass."
msgstr ""
":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket."
"error`, :exc:`select.error` und :exc:`!mmap.error` wurden in :exc:`OSError` "
"zusammengeführt, und der Konstruktor kann eine Unterklasse zurückgeben."
#: ../../builtins/exceptions.rst:418
msgid ""
"The :attr:`filename` attribute is now the original file name passed to the "
"function, instead of the name encoded to or decoded from the :term:"
"`filesystem encoding and error handler`. Also, the *filename2* constructor "
"argument and attribute was added."
msgstr ""
"Das Attribut :attr:`filename` ist nun der ursprüngliche, an die Funktion "
"übergebene Dateiname anstelle des Namens, der in die oder aus der :term:"
"`Dateisystem-Kodierung und der Fehlerbehandler <filesystem encoding and "
"error handler>` kodiert oder dekodiert wurde. Zudem wurden das "
"Konstruktorargument und das Attribut *filename2* hinzugefügt."
#: ../../builtins/exceptions.rst:427
msgid ""
"Raised when the result of an arithmetic operation is too large to be "
"represented. This cannot occur for integers (which would rather raise :exc:"
"`MemoryError` than give up). However, for historical reasons, OverflowError "
"is sometimes raised for integers that are outside a required range. "
"Because of the lack of standardization of floating-point exception handling "
"in C, most floating-point operations are not checked."
msgstr ""
"Wird ausgelöst, wenn das Ergebnis einer arithmetischen Operation zu groß "
"ist, um dargestellt zu werden. Dies kann bei Ganzzahlen nicht vorkommen (die "
"eher einen :exc:`MemoryError` auslösen würden, als aufzugeben). Aus "
"historischen Gründen wird OverflowError jedoch manchmal für Ganzzahlen "
"ausgelöst, die außerhalb eines erforderlichen Bereichs liegen. Aufgrund der "
"fehlenden Standardisierung der Behandlung von Gleitkomma-Exceptions in C "
"werden die meisten Gleitkommaoperationen nicht überprüft."
#: ../../builtins/exceptions.rst:437
msgid ""
"This exception is derived from :exc:`RuntimeError`. It is raised when an "
"operation is blocked during interpreter shutdown also known as :term:`Python "
"finalization <interpreter shutdown>`."
msgstr ""
"Diese Exception ist von :exc:`RuntimeError` abgeleitet. Sie wird ausgelöst, "
"wenn eine Operation während des Herunterfahrens des Interpreters blockiert "
"wird, auch bekannt als :term:`Python-Finalisierung <interpreter shutdown>`."
#: ../../builtins/exceptions.rst:441
msgid ""
"Examples of operations which can be blocked with a :exc:"
"`PythonFinalizationError` during the Python finalization:"
msgstr ""
"Beispiele für Operationen, die während der Python-Finalisierung mit einem :"
"exc:`PythonFinalizationError` blockiert werden können:"
#: ../../builtins/exceptions.rst:444
msgid "Creating a new Python thread."
msgstr "Erstellen eines neuen Python-Threads."
#: ../../builtins/exceptions.rst:445
msgid ":meth:`Joining <threading.Thread.join>` a running daemon thread."
msgstr ""
":meth:`Warten auf das Beenden <threading.Thread.join>` eines laufenden "
"Daemon-Threads."
#: ../../builtins/exceptions.rst:446
msgid ":func:`os.fork`,"
msgstr ":func:`os.fork`."
#: ../../builtins/exceptions.rst:447
msgid ""
"acquiring a lock such as :class:`threading.Lock`, when it is known that the "
"operation would otherwise deadlock."
msgstr ""
"beim Erwerb einer Sperre wie :class:`threading.Lock`, wenn bekannt ist, dass "
"der Vorgang andernfalls in einen Deadlock geraten würde."
#: ../../builtins/exceptions.rst:450
msgid "See also the :func:`sys.is_finalizing` function."
msgstr "Siehe auch die Funktion :func:`sys.is_finalizing`."
#: ../../builtins/exceptions.rst:452 ../../builtins/exceptions.rst:470
msgid "Previously, a plain :exc:`RuntimeError` was raised."
msgstr "Zuvor wurde ein einfacher :exc:`RuntimeError` ausgelöst."
#: ../../builtins/exceptions.rst:457
msgid ":meth:`threading.Thread.join` can now raise this exception."
msgstr ":meth:`threading.Thread.join` kann nun diese Exception auslösen."
#: ../../builtins/exceptions.rst:461
msgid ""
"This exception may be raised when acquiring :meth:`threading.Lock` or :meth:"
"`threading.RLock`."
msgstr ""
"Diese Ausnahme kann beim Erwerb von :meth:`threading.Lock` oder :meth:"
"`threading.RLock` ausgelöst werden."
#: ../../builtins/exceptions.rst:466
msgid ""
"This exception is derived from :exc:`RuntimeError`. It is raised when the "
"interpreter detects that the maximum recursion depth (see :func:`sys."
"getrecursionlimit`) is exceeded."
msgstr ""
"Diese Exception ist von :exc:`RuntimeError` abgeleitet. Sie wird ausgelöst, "
"wenn der Interpreter feststellt, dass die maximale Rekursionstiefe (siehe :"
"func:`sys.getrecursionlimit`) überschritten wurde."
#: ../../builtins/exceptions.rst:476
msgid ""
"This exception is raised when a weak reference proxy, created by the :func:"
"`weakref.proxy` function, is used to access an attribute of the referent "
"after it has been garbage collected. For more information on weak "
"references, see the :mod:`weakref` module."
msgstr ""
"Diese Exception wird ausgelöst, wenn ein von der Funktion :func:`weakref."
"proxy` erstellter Proxy für schwache Referenzen verwendet wird, um auf ein "
"Attribut des Referenzobjekts zuzugreifen, nachdem dieses von der Garbage "
"Collection bereinigt wurde. Weitere Informationen zu schwachen Referenzen "
"findest du im Modul :mod:`weakref`."
#: ../../builtins/exceptions.rst:484
msgid ""
"Raised when an error is detected that doesn't fall in any of the other "
"categories. The associated value is a string indicating what precisely went "
"wrong."
msgstr ""
"Wird ausgelöst, wenn ein Fehler erkannt wird, der in keine der anderen "
"Kategorien fällt. Der zugehörige Wert ist eine Zeichenkette, die angibt, was "
"genau schiefgelaufen ist."
#: ../../builtins/exceptions.rst:491
msgid ""
"Raised by built-in function :func:`next` and an :term:`iterator`\\'s :meth:"
"`~iterator.__next__` method to signal that there are no further items "
"produced by the iterator."
msgstr ""
"Wird von der integrierten Funktion :func:`next` und der Methode :meth:"
"`~iterator.__next__` eines :term:`Iterators <iterator>` ausgelöst, um zu "
"signalisieren, dass vom Iterator keine weiteren Elemente erzeugt werden."
#: ../../builtins/exceptions.rst:497
msgid ""
"The exception object has a single attribute :attr:`!value`, which is given "
"as an argument when constructing the exception, and defaults to :const:"
"`None`."
msgstr ""
"Das Exception-Objekt besitzt ein einzelnes Attribut :attr:`!value`, das bei "
"der Konstruktion der Exception als Argument übergeben wird und "
"standardmäßig :const:`None` ist."
#: ../../builtins/exceptions.rst:501
msgid ""
"When a :term:`generator` or :term:`coroutine` function returns, a new :exc:"
"`StopIteration` instance is raised, and the value returned by the function "
"is used as the :attr:`value` parameter to the constructor of the exception."
msgstr ""
"Wenn eine :term:`Generator- <generator>` oder :term:`Coroutine-Funktion "
"<coroutine>` zurückkehrt, wird eine neue :exc:`StopIteration`-Instanz "
"ausgelöst und der von der Funktion zurückgegebene Wert als :attr:`value`-"
"Parameter an den Konstruktor der Exception übergeben."
#: ../../builtins/exceptions.rst:506
msgid ""
"If a generator code directly or indirectly raises :exc:`StopIteration`, it "
"is converted into a :exc:`RuntimeError` (retaining the :exc:`StopIteration` "
"as the new exception's cause)."
msgstr ""
"Wenn Generatorcode direkt oder indirekt :exc:`StopIteration` auslöst, wird "
"dies in einen :exc:`RuntimeError` umgewandelt (wobei die :exc:"
"`StopIteration` als Ursache der neuen Exception beibehalten wird)."
#: ../../builtins/exceptions.rst:510
msgid ""
"Added ``value`` attribute and the ability for generator functions to use it "
"to return a value."
msgstr ""
"Das Attribut ``value`` und die Möglichkeit für Generatorfunktionen, damit "
"einen Wert zurückzugeben, wurden hinzugefügt."
#: ../../builtins/exceptions.rst:514
msgid ""
"Introduced the RuntimeError transformation via ``from __future__ import "
"generator_stop``, see :pep:`479`."
msgstr ""
"Die RuntimeError-Umwandlung über ``from __future__ import generator_stop`` "
"wurde eingeführt, siehe :pep:`479`."
#: ../../builtins/exceptions.rst:518
msgid ""
"Enable :pep:`479` for all code by default: a :exc:`StopIteration` error "
"raised in a generator is transformed into a :exc:`RuntimeError`."
msgstr ""
":pep:`479` wurde standardmäßig für sämtlichen Code aktiviert: Ein in einem "
"Generator ausgelöster :exc:`StopIteration`-Fehler wird in einen :exc:"
"`RuntimeError` umgewandelt."
#: ../../builtins/exceptions.rst:524
msgid ""
"Must be raised by :meth:`~object.__anext__` method of an :term:`asynchronous "
"iterator` object to stop the iteration."
msgstr ""
"Muss von der Methode :meth:`~object.__anext__` eines :term:`asynchronen "
"Iterators <asynchronous iterator>` ausgelöst werden, um die Iteration zu "
"stoppen."
#: ../../builtins/exceptions.rst:531
msgid ""
"Raised when the parser encounters a syntax error. This may occur in an :"
"keyword:`import` statement, in a call to the built-in functions :func:"
"`compile`, :func:`exec`, or :func:`eval`, or when reading the initial script "
"or standard input (also interactively)."
msgstr ""
"Wird ausgelöst, wenn der Parser auf einen Syntaxfehler stößt. Dies kann in "
"einer :keyword:`import`-Anweisung, bei einem Aufruf der integrierten "
"Funktionen :func:`compile`, :func:`exec` oder :func:`eval` oder beim "
"Einlesen des ursprünglichen Skripts bzw. der Standardeingabe (auch "
"interaktiv) geschehen."
#: ../../builtins/exceptions.rst:537
msgid ""
"The :func:`str` of the exception instance returns only the error message. "
"Details is a tuple whose members are also available as separate attributes."
msgstr ""
"Der Aufruf von :func:`str` auf der Exception-Instanz gibt nur die "
"Fehlermeldung zurück. Die Details sind ein Tupel, dessen Elemente auch als "
"separate Attribute verfügbar sind."
#: ../../builtins/exceptions.rst:542
msgid "The name of the file the syntax error occurred in."
msgstr "Der Name der Datei, in der der Syntaxfehler aufgetreten ist."
#: ../../builtins/exceptions.rst:546
msgid ""
"Which line number in the file the error occurred in. This is 1-indexed: the "
"first line in the file has a ``lineno`` of 1."
msgstr ""
"Die Zeilennummer in der Datei, in der der Fehler aufgetreten ist. Die "
"Zählung beginnt bei 1: Die erste Zeile in der Datei hat die ``lineno`` 1."
#: ../../builtins/exceptions.rst:551
msgid ""
"The column in the line where the error occurred. This is 1-indexed: the "
"first character in the line has an ``offset`` of 1."
msgstr ""
"Die Spalte in der Zeile, in der der Fehler aufgetreten ist. Die Zählung "
"beginnt bei 1: Das erste Zeichen in der Zeile hat den ``offset`` 1."
#: ../../builtins/exceptions.rst:556
msgid "The source code text involved in the error."
msgstr "Der Quelltext, der an dem Fehler beteiligt war."
#: ../../builtins/exceptions.rst:560
msgid ""
"Which line number in the file the error occurred ends in. This is 1-indexed: "
"the first line in the file has a ``lineno`` of 1."
msgstr ""
"Die Zeilennummer in der Datei, in der der Fehler endet. Die Zählung beginnt "
"bei 1: Die erste Zeile in der Datei hat die ``lineno`` 1."
#: ../../builtins/exceptions.rst:565
msgid ""
"The column in the end line where the error occurred finishes. This is 1-"
"indexed: the first character in the line has an ``offset`` of 1."
msgstr ""
"Die Spalte in der Endzeile, an der der Fehler endet. Die Zählung beginnt bei "
"1: Das erste Zeichen in der Zeile hat den ``offset`` 1."
#: ../../builtins/exceptions.rst:568
msgid ""
"For errors in f-string fields, the message is prefixed by \"f-string: \" and "
"the offsets are offsets in a text constructed from the replacement "
"expression. For example, compiling f'Bad {a b} field' results in this args "
"attribute: ('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))."
msgstr ""
"Bei Fehlern in f-String-Feldern wird der Meldung „f-string: “ vorangestellt "
"und die Offsets beziehen sich auf einen aus dem Ersetzungsausdruck "
"konstruierten Text. Beispielsweise führt das Kompilieren von f'Bad {a b} "
"field' zu folgendem args-Attribut: ('f-string: ...', ('', 1, 2, '(a b)\\n', "
"1, 5))."
#: ../../builtins/exceptions.rst:573
msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes."
msgstr ""
"Die Attribute :attr:`end_lineno` und :attr:`end_offset` wurden hinzugefügt."
#: ../../builtins/exceptions.rst:578
msgid ""
"Base class for syntax errors related to incorrect indentation. This is a "
"subclass of :exc:`SyntaxError`."
msgstr ""
"Basisklasse für Syntaxfehler im Zusammenhang mit fehlerhafter Einrückung. "
"Dies ist eine Unterklasse von :exc:`SyntaxError`."
#: ../../builtins/exceptions.rst:584
msgid ""
"Raised when indentation contains an inconsistent use of tabs and spaces. "
"This is a subclass of :exc:`IndentationError`."
msgstr ""
"Wird ausgelöst, wenn die Einrückung eine uneinheitliche Verwendung von Tabs "
"und Leerzeichen aufweist. Dies ist eine Unterklasse von :exc:"
"`IndentationError`."
#: ../../builtins/exceptions.rst:590
msgid ""
"Raised when the interpreter finds an internal error, but the situation does "
"not look so serious to cause it to abandon all hope. The associated value is "
"a string indicating what went wrong (in low-level terms). In :term:"
"`CPython`, this could be raised by incorrectly using Python's C API, such as "
"returning a ``NULL`` value without an exception set."
msgstr ""
"Wird ausgelöst, wenn der Interpreter einen internen Fehler findet, die "
"Situation jedoch nicht so gravierend erscheint, dass alle Hoffnung verloren "
"ist. Der zugehörige Wert ist eine Zeichenkette, die (in systemnahen "
"Begriffen) angibt, was schiefgelaufen ist. In :term:`CPython` könnte dies "
"durch die fehlerhafte Nutzung der C-API von Python ausgelöst werden, etwa "
"durch die Rückgabe eines ``NULL``-Wertes, ohne dass eine Exception gesetzt "
"wurde."
#: ../../builtins/exceptions.rst:596
msgid ""
"If you're confident that this exception wasn't your fault, or the fault of a "