Skip to content

Commit 3a83b17

Browse files
committed
Python 3.13.0b2
1 parent f561258 commit 3a83b17

File tree

83 files changed

+847
-201
lines changed

Some content is hidden

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

83 files changed

+847
-201
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_BETA
23-
#define PY_RELEASE_SERIAL 1
23+
#define PY_RELEASE_SERIAL 2
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.0b1+"
26+
#define PY_VERSION "3.13.0b2"
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: 39 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed May 8 11:11:17 2024
2+
# Autogenerated by Sphinx on Wed Jun 5 16:43:53 2024
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -5034,6 +5034,12 @@
50345034
' 0\n'
50355035
' (Pdb)\n'
50365036
'\n'
5037+
'Changed in version 3.13: The implementation of **PEP 667** means '
5038+
'that\n'
5039+
'name assignments made via "pdb" will immediately affect the '
5040+
'active\n'
5041+
'scope, even when running inside an *optimized scope*.\n'
5042+
'\n'
50375043
'The module defines the following functions; each enters the '
50385044
'debugger\n'
50395045
'in a slightly different way:\n'
@@ -5245,7 +5251,8 @@
52455251
'* "$_exception": the exception if the frame is raising an '
52465252
'exception\n'
52475253
'\n'
5248-
'Added in version 3.12.\n'
5254+
'Added in version 3.12: Added the *convenience variable* '
5255+
'feature.\n'
52495256
'\n'
52505257
'If a file ".pdbrc" exists in the user’s home directory or in '
52515258
'the\n'
@@ -5620,24 +5627,22 @@
56205627
'\n'
56215628
'interact\n'
56225629
'\n'
5623-
' Start an interactive interpreter (using the "code" module) '
5624-
'whose\n'
5625-
' global namespace contains all the (global and local) names '
5626-
'found in\n'
5627-
' the current scope. Use "exit()" or "quit()" to exit the '
5628-
'interpreter\n'
5629-
' and return to the debugger.\n'
5630+
' Start an interactive interpreter (using the "code" module) in '
5631+
'a new\n'
5632+
' global namespace initialised from the local and global '
5633+
'namespaces\n'
5634+
' for the current scope. Use "exit()" or "quit()" to exit the\n'
5635+
' interpreter and return to the debugger.\n'
56305636
'\n'
56315637
' Note:\n'
56325638
'\n'
5633-
' Because interact creates a new global namespace with the '
5634-
'current\n'
5635-
' global and local namespace for execution, assignment to '
5636-
'variables\n'
5637-
' will not affect the original namespaces. However, '
5638-
'modification to\n'
5639-
' the mutable objects will be reflected in the original '
5640-
'namespaces.\n'
5639+
' As "interact" creates a new dedicated namespace for code\n'
5640+
' execution, assignments to variables will not affect the '
5641+
'original\n'
5642+
' namespaces. However, modifications to any referenced '
5643+
'mutable\n'
5644+
' objects will be reflected in the original namespaces as '
5645+
'usual.\n'
56415646
'\n'
56425647
' Added in version 3.2.\n'
56435648
'\n'
@@ -12362,7 +12367,7 @@
1236212367
'the\n'
1236312368
' "LC_NUMERIC" locale in some cases.\n'
1236412369
'\n'
12365-
'str.format_map(mapping)\n'
12370+
'str.format_map(mapping, /)\n'
1236612371
'\n'
1236712372
' Similar to "str.format(**mapping)", except that '
1236812373
'"mapping" is used\n'
@@ -14766,10 +14771,10 @@
1476614771
' The iterator returns "tuple"s containing the "(start_line,\n'
1476714772
' end_line, start_column, end_column)". The *i-th* tuple '
1476814773
'corresponds\n'
14769-
' to the position of the source code that compiled to the *i-th*\n'
14770-
' instruction. Column information is 0-indexed utf-8 byte offsets '
14771-
'on\n'
14772-
' the given source line.\n'
14774+
' to the position of the source code that compiled to the *i-th* '
14775+
'code\n'
14776+
' unit. Column information is 0-indexed utf-8 byte offsets on the\n'
14777+
' given source line.\n'
1477314778
'\n'
1477414779
' This positional information can be missing. A non-exhaustive '
1477514780
'lists\n'
@@ -14894,16 +14899,16 @@
1489414899
'| | '
1489514900
'""f_code"". |\n'
1489614901
'+----------------------------------------------------+----------------------------------------------------+\n'
14897-
'| frame.f_locals | The '
14898-
'dictionary used by the frame to look up local |\n'
14902+
'| frame.f_locals | The mapping '
14903+
'used by the frame to look up local |\n'
1489914904
'| | variables. '
14900-
'If the frame refers to a function or |\n'
14901-
'| | '
14902-
'comprehension, this may return a write- through |\n'
14903-
'| | proxy '
14904-
'object. Changed in version 3.13: Return a |\n'
14905-
'| | proxy for '
14906-
'functions and comprehensions. |\n'
14905+
'If the frame refers to an *optimized |\n'
14906+
'| | scope*, this '
14907+
'may return a write-through proxy |\n'
14908+
'| | object. '
14909+
'Changed in version 3.13: Return a proxy |\n'
14910+
'| | for '
14911+
'optimized scopes. |\n'
1490714912
'+----------------------------------------------------+----------------------------------------------------+\n'
1490814913
'| frame.f_globals | The '
1490914914
'dictionary used by the frame to look up global |\n'
@@ -15312,7 +15317,7 @@
1531215317
'\n'
1531315318
' Return a shallow copy of the dictionary.\n'
1531415319
'\n'
15315-
' classmethod fromkeys(iterable[, value])\n'
15320+
' classmethod fromkeys(iterable, value=None)\n'
1531615321
'\n'
1531715322
' Create a new dictionary with keys from *iterable* and '
1531815323
'values set\n'
@@ -15328,7 +15333,7 @@
1532815333
'distinct\n'
1532915334
' values, use a dict comprehension instead.\n'
1533015335
'\n'
15331-
' get(key[, default])\n'
15336+
' get(key, default=None)\n'
1533215337
'\n'
1533315338
' Return the value for *key* if *key* is in the '
1533415339
'dictionary, else\n'
@@ -15380,7 +15385,7 @@
1538015385
'\n'
1538115386
' Added in version 3.8.\n'
1538215387
'\n'
15383-
' setdefault(key[, default])\n'
15388+
' setdefault(key, default=None)\n'
1538415389
'\n'
1538515390
' If *key* is in the dictionary, return its value. If '
1538615391
'not, insert\n'

0 commit comments

Comments
 (0)