pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/076d169ebbe59f7035eaa28d33d517bcb375f342

d9af82350aeda.css" /> Python 3.13.0a5 · python/cpython@076d169 · GitHub
Skip to content

Commit 076d169

Browse files
committed
Python 3.13.0a5
1 parent f6e7a6c commit 076d169

File tree

117 files changed

+1231
-293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+1231
-293
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 13
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
23-
#define PY_RELEASE_SERIAL 4
23+
#define PY_RELEASE_SERIAL 5
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.0a4+"
26+
#define PY_VERSION "3.13.0a5"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 65 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Thu Feb 15 14:30:52 2024
2+
# Autogenerated by Sphinx on Tue Mar 12 18:35:04 2024
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -4724,7 +4724,7 @@
47244724
'reflection,\n'
47254725
' and "__eq__()" and "__ne__()" are their own reflection. '
47264726
'If the\n'
4727-
' operands are of different types, and right operand’s '
4727+
' operands are of different types, and the right operand’s '
47284728
'type is a\n'
47294729
' direct or indirect subclass of the left operand’s type, '
47304730
'the\n'
@@ -4734,6 +4734,11 @@
47344734
'is not\n'
47354735
' considered.\n'
47364736
'\n'
4737+
' When no appropriate method returns any value other than\n'
4738+
' "NotImplemented", the "==" and "!=" operators will fall '
4739+
'back to\n'
4740+
' "is" and "is not", respectively.\n'
4741+
'\n'
47374742
'object.__hash__(self)\n'
47384743
'\n'
47394744
' Called by built-in function "hash()" and for operations '
@@ -5223,15 +5228,15 @@
52235228
'overridden by\n'
52245229
'the local file.\n'
52255230
'\n'
5226-
'Changed in version 3.11: ".pdbrc" is now read with "\'utf-8\'" '
5227-
'encoding.\n'
5228-
'Previously, it was read with the system locale encoding.\n'
5229-
'\n'
52305231
'Changed in version 3.2: ".pdbrc" can now contain commands that\n'
52315232
'continue debugging, such as "continue" or "next". Previously, '
52325233
'these\n'
52335234
'commands had no effect.\n'
52345235
'\n'
5236+
'Changed in version 3.11: ".pdbrc" is now read with "\'utf-8\'" '
5237+
'encoding.\n'
5238+
'Previously, it was read with the system locale encoding.\n'
5239+
'\n'
52355240
'h(elp) [command]\n'
52365241
'\n'
52375242
' Without argument, print the list of available commands. With '
@@ -8756,7 +8761,7 @@
87568761
'"__rsub__()"\n'
87578762
' method, "type(y).__rsub__(y, x)" is called if '
87588763
'"type(x).__sub__(x,\n'
8759-
' y)" returns *NotImplemented*.\n'
8764+
' y)" returns "NotImplemented".\n'
87608765
'\n'
87618766
' Note that ternary "pow()" will not try calling '
87628767
'"__rpow__()" (the\n'
@@ -8799,14 +8804,18 @@
87998804
'the result\n'
88008805
' (which could be, but does not have to be, *self*). If a '
88018806
'specific\n'
8802-
' method is not defined, the augmented assignment falls '
8803-
'back to the\n'
8804-
' normal methods. For instance, if *x* is an instance of '
8805-
'a class\n'
8806-
' with an "__iadd__()" method, "x += y" is equivalent to '
8807-
'"x =\n'
8808-
' x.__iadd__(y)" . Otherwise, "x.__add__(y)" and '
8809-
'"y.__radd__(x)" are\n'
8807+
' method is not defined, or if that method returns '
8808+
'"NotImplemented",\n'
8809+
' the augmented assignment falls back to the normal '
8810+
'methods. For\n'
8811+
' instance, if *x* is an instance of a class with an '
8812+
'"__iadd__()"\n'
8813+
' method, "x += y" is equivalent to "x = x.__iadd__(y)" . '
8814+
'If\n'
8815+
' "__iadd__()" does not exist, or if "x.__iadd__(y)" '
8816+
'returns\n'
8817+
' "NotImplemented", "x.__add__(y)" and "y.__radd__(x)" '
8818+
'are\n'
88108819
' considered, as with the evaluation of "x + y". In '
88118820
'certain\n'
88128821
' situations, augmented assignment can result in '
@@ -8887,7 +8896,7 @@
88878896
'Every object has an identity, a type and a value. An object’s\n'
88888897
'*identity* never changes once it has been created; you may think '
88898898
'of it\n'
8890-
'as the object’s address in memory. The "is" operator compares '
8899+
'as the object’s address in memory. The "is" operator compares '
88918900
'the\n'
88928901
'identity of two objects; the "id()" function returns an integer\n'
88938902
'representing its identity.\n'
@@ -8952,7 +8961,7 @@
89528961
'Note that the use of the implementation’s tracing or debugging\n'
89538962
'facilities may keep objects alive that would normally be '
89548963
'collectable.\n'
8955-
'Also note that catching an exception with a "try"…"except" '
8964+
'Also note that catching an exception with a "try"…"except" '
89568965
'statement\n'
89578966
'may keep objects alive.\n'
89588967
'\n'
@@ -8967,8 +8976,9 @@
89678976
'release the external resource, usually a "close()" method. '
89688977
'Programs\n'
89698978
'are strongly recommended to explicitly close such objects. The\n'
8970-
'‘"try"…"finally"’ statement and the ‘"with"’ statement provide\n'
8971-
'convenient ways to do this.\n'
8979+
'"try"…"finally" statement and the "with" statement provide '
8980+
'convenient\n'
8981+
'ways to do this.\n'
89728982
'\n'
89738983
'Some objects contain references to other objects; these are '
89748984
'called\n'
@@ -9345,10 +9355,7 @@
93459355
'The try statement.\n'
93469356
'\n'
93479357
'Changed in version 3.3: "None" is now permitted as "Y" in "raise X\n'
9348-
'from Y".\n'
9349-
'\n'
9350-
'New in version 3.3: The "__suppress_context__" attribute to '
9351-
'suppress\n'
9358+
'from Y".Added the "__suppress_context__" attribute to suppress\n'
93529359
'automatic display of the exception context.\n'
93539360
'\n'
93549361
'Changed in version 3.11: If the traceback of the active exception '
@@ -10133,8 +10140,8 @@
1013310140
'reflection,\n'
1013410141
' and "__eq__()" and "__ne__()" are their own reflection. '
1013510142
'If the\n'
10136-
' operands are of different types, and right operand’s type '
10137-
'is a\n'
10143+
' operands are of different types, and the right operand’s '
10144+
'type is a\n'
1013810145
' direct or indirect subclass of the left operand’s type, '
1013910146
'the\n'
1014010147
' reflected method of the right operand has priority, '
@@ -10143,6 +10150,11 @@
1014310150
'is not\n'
1014410151
' considered.\n'
1014510152
'\n'
10153+
' When no appropriate method returns any value other than\n'
10154+
' "NotImplemented", the "==" and "!=" operators will fall '
10155+
'back to\n'
10156+
' "is" and "is not", respectively.\n'
10157+
'\n'
1014610158
'object.__hash__(self)\n'
1014710159
'\n'
1014810160
' Called by built-in function "hash()" and for operations '
@@ -11682,7 +11694,7 @@
1168211694
'"__rsub__()"\n'
1168311695
' method, "type(y).__rsub__(y, x)" is called if '
1168411696
'"type(x).__sub__(x,\n'
11685-
' y)" returns *NotImplemented*.\n'
11697+
' y)" returns "NotImplemented".\n'
1168611698
'\n'
1168711699
' Note that ternary "pow()" will not try calling '
1168811700
'"__rpow__()" (the\n'
@@ -11725,14 +11737,17 @@
1172511737
'the result\n'
1172611738
' (which could be, but does not have to be, *self*). If a '
1172711739
'specific\n'
11728-
' method is not defined, the augmented assignment falls '
11729-
'back to the\n'
11730-
' normal methods. For instance, if *x* is an instance of a '
11731-
'class\n'
11732-
' with an "__iadd__()" method, "x += y" is equivalent to "x '
11733-
'=\n'
11734-
' x.__iadd__(y)" . Otherwise, "x.__add__(y)" and '
11735-
'"y.__radd__(x)" are\n'
11740+
' method is not defined, or if that method returns '
11741+
'"NotImplemented",\n'
11742+
' the augmented assignment falls back to the normal '
11743+
'methods. For\n'
11744+
' instance, if *x* is an instance of a class with an '
11745+
'"__iadd__()"\n'
11746+
' method, "x += y" is equivalent to "x = x.__iadd__(y)" . '
11747+
'If\n'
11748+
' "__iadd__()" does not exist, or if "x.__iadd__(y)" '
11749+
'returns\n'
11750+
' "NotImplemented", "x.__add__(y)" and "y.__radd__(x)" are\n'
1173611751
' considered, as with the evaluation of "x + y". In '
1173711752
'certain\n'
1173811753
' situations, augmented assignment can result in unexpected '
@@ -13080,9 +13095,8 @@
1308013095
'\n'
1308113096
'New in version 3.3: The "\'rb\'" prefix of raw bytes literals has '
1308213097
'been\n'
13083-
'added as a synonym of "\'br\'".\n'
13084-
'\n'
13085-
'New in version 3.3: Support for the unicode legacy literal\n'
13098+
'added as a synonym of "\'br\'".Support for the unicode legacy '
13099+
'literal\n'
1308613100
'("u\'value\'") was reintroduced to simplify the maintenance of '
1308713101
'dual\n'
1308813102
'Python 2.x and 3.x codebases. See **PEP 414** for more '
@@ -14765,6 +14779,17 @@
1476514779
'tools.\n'
1476614780
' The PEP that introduced the "co_lines()" method.\n'
1476714781
'\n'
14782+
'codeobject.replace(**kwargs)\n'
14783+
'\n'
14784+
' Return a copy of the code object with new values for the '
14785+
'specified\n'
14786+
' fields.\n'
14787+
'\n'
14788+
' Code objects are also supported by the generic function\n'
14789+
' "copy.replace()".\n'
14790+
'\n'
14791+
' New in version 3.8.\n'
14792+
'\n'
1476814793
'\n'
1476914794
'Frame objects\n'
1477014795
'-------------\n'
@@ -16109,7 +16134,7 @@
1610916134
'\n'
1611016135
' For sorting examples and a brief sorting tutorial, see '
1611116136
'Sorting\n'
16112-
' HOW TO.\n'
16137+
' Techniques.\n'
1611316138
'\n'
1611416139
' **CPython implementation detail:** While a list is being '
1611516140
'sorted,\n'
@@ -16324,9 +16349,8 @@
1632416349
'objects\n'
1632516350
'based on the sequence of values they define (instead of '
1632616351
'comparing\n'
16327-
'based on object identity).\n'
16328-
'\n'
16329-
'New in version 3.3: The "start", "stop" and "step" attributes.\n'
16352+
'based on object identity).Added the "start", "stop" and "step"\n'
16353+
'attributes.\n'
1633016354
'\n'
1633116355
'See also:\n'
1633216356
'\n'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy