Skip to content

Commit 416eb1e

Browse files
committed
Merge branch 'main' into renumber-resume
2 parents d9ae81e + 45a24f5 commit 416eb1e

39 files changed

Lines changed: 545 additions & 344 deletions

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ jobs:
185185
needs: build-context
186186
if: fromJSON(needs.build-context.outputs.run-windows-msi)
187187
strategy:
188+
fail-fast: false
188189
matrix:
189190
arch:
190191
- x86
@@ -236,6 +237,7 @@ jobs:
236237
needs: build-context
237238
if: needs.build-context.outputs.run-tests == 'true'
238239
strategy:
240+
fail-fast: false
239241
matrix:
240242
bolt:
241243
- false
@@ -452,6 +454,7 @@ jobs:
452454
needs: build-context
453455
if: needs.build-context.outputs.run-tests == 'true'
454456
strategy:
457+
fail-fast: false
455458
matrix:
456459
os: [ubuntu-24.04]
457460
env:
@@ -515,6 +518,7 @@ jobs:
515518
needs: build-context
516519
if: needs.build-context.outputs.run-tests == 'true'
517520
strategy:
521+
fail-fast: false
518522
matrix:
519523
free-threading:
520524
- false

.github/workflows/jit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
runs-on: ubuntu-24.04
140140
timeout-minutes: 90
141141
strategy:
142+
fail-fast: false
142143
matrix:
143144
llvm:
144145
- 19

.github/workflows/project-updater.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 10
1717
strategy:
18+
fail-fast: false
1819
matrix:
1920
include:
2021
# if an issue has any of these labels, it will be added

.github/workflows/require-pr-label.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
if: github.repository_owner == 'python'
1111
runs-on: ubuntu-latest
1212
permissions:
13-
issues: write
14-
pull-requests: write
13+
pull-requests: read
1514
timeout-minutes: 10
1615

1716
steps:
@@ -28,8 +27,7 @@ jobs:
2827
if: github.repository_owner == 'python'
2928
runs-on: ubuntu-latest
3029
permissions:
31-
issues: write
32-
pull-requests: write
30+
pull-requests: read
3331
timeout-minutes: 10
3432

3533
steps:

Doc/library/socket.rst

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,19 @@ created. Socket addresses are represented as follows:
137137
- :const:`AF_BLUETOOTH` supports the following protocols and address
138138
formats:
139139

140-
- :const:`BTPROTO_L2CAP` accepts ``(bdaddr, psm)`` where ``bdaddr`` is
141-
the Bluetooth address as a string and ``psm`` is an integer.
140+
- :const:`BTPROTO_L2CAP` accepts a tuple
141+
``(bdaddr, psm[, cid[, bdaddr_type]])`` where:
142+
143+
- ``bdaddr`` is a string specifying the Bluetooth address.
144+
- ``psm`` is an integer specifying the Protocol/Service Multiplexer.
145+
- ``cid`` is an optional integer specifying the Channel Identifier.
146+
If not given, defaults to zero.
147+
- ``bdaddr_type`` is an optional integer specifying the address type;
148+
one of :const:`BDADDR_BREDR` (default), :const:`BDADDR_LE_PUBLIC`,
149+
:const:`BDADDR_LE_RANDOM`.
150+
151+
.. versionchanged:: next
152+
Added ``cid`` and ``bdaddr_type`` fields.
142153

143154
- :const:`BTPROTO_RFCOMM` accepts ``(bdaddr, channel)`` where ``bdaddr``
144155
is the Bluetooth address as a string and ``channel`` is an integer.
@@ -626,6 +637,14 @@ Constants
626637
This constant contains a boolean value which indicates if IPv6 is supported on
627638
this platform.
628639

640+
.. data:: AF_BLUETOOTH
641+
BTPROTO_L2CAP
642+
BTPROTO_RFCOMM
643+
BTPROTO_HCI
644+
BTPROTO_SCO
645+
646+
Integer constants for use with Bluetooth addresses.
647+
629648
.. data:: BDADDR_ANY
630649
BDADDR_LOCAL
631650

@@ -634,6 +653,15 @@ Constants
634653
any address when specifying the binding socket with
635654
:const:`BTPROTO_RFCOMM`.
636655

656+
.. data:: BDADDR_BREDR
657+
BDADDR_LE_PUBLIC
658+
BDADDR_LE_RANDOM
659+
660+
These constants describe the Bluetooth address type when binding or
661+
connecting a :const:`BTPROTO_L2CAP` socket.
662+
663+
.. versionadded:: next
664+
637665
.. data:: HCI_FILTER
638666
HCI_TIME_STAMP
639667
HCI_DATA_DIR

Doc/tools/extensions/pydoc_topics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ def write_documents(self, _docnames: Set[str]) -> None:
143143
document.append(doc_ids[label_id])
144144
visitor = TextTranslator(document, builder=self)
145145
document.walkabout(visitor)
146-
self.topics[topic_label] = visitor.body
146+
body = "\n".join(map(str.rstrip, visitor.body.splitlines()))
147+
self.topics[topic_label] = body
147148

148149
def finish(self) -> None:
149150
topics_repr = "\n".join(

Include/internal/pycore_magic_number.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Known values:
269269
Python 3.14a5 3614 (Add BINARY_OP_EXTEND)
270270
Python 3.14a5 3615 (CALL_FUNCTION_EX always take a kwargs argument)
271271
Python 3.14a5 3616 (Remove BINARY_SUBSCR and family. Make them BINARY_OPs)
272-
272+
Python 3.14a6 3617 (Branch monitoring for async for loops)
273273
Python 3.14a5 3618 (Renumbering)
274274
275275
Python 3.15 will start with 3650

Include/internal/pycore_opcode_metadata.h

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_pymem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extern void _PyMem_FreeDelayed(void *ptr);
121121

122122
// Enqueue an object to be freed possibly after some delay
123123
#ifdef Py_GIL_DISABLED
124-
extern void _PyObject_XDecRefDelayed(PyObject *obj);
124+
PyAPI_FUNC(void) _PyObject_XDecRefDelayed(PyObject *obj);
125125
#else
126126
static inline void _PyObject_XDecRefDelayed(PyObject *obj)
127127
{

Include/opcode_ids.h

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)