Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b07189

Browse files
committed
Merge branch 'master' into long_export-decimal
2 parents f6a4afb + 953b49e commit 4b07189

41 files changed

Lines changed: 906 additions & 596 deletions

Some content is hidden

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

Doc/library/calendar.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
4040

4141
:class:`Calendar` instances have the following methods:
4242

43+
.. method:: getfirstweekday()
44+
45+
Return an :class:`int` for the current first weekday (0-6).
46+
47+
.. method:: setfirstweekday(firstweekday)
48+
49+
Set the first weekday to *firstweekday*, passed as an :class:`int` where Monday is 0 and Sunday is 6.
50+
4351
.. method:: iterweekdays()
4452

4553
Return an iterator for the week day numbers that will be used for one

Include/internal/pycore_instruments.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ _Py_call_instrumentation_instruction(
4848

4949
_Py_CODEUNIT *
5050
_Py_call_instrumentation_jump(
51-
PyThreadState *tstate, int event,
52-
_PyInterpreterFrame *frame, _Py_CODEUNIT *instr, _Py_CODEUNIT *target);
51+
_Py_CODEUNIT *instr, PyThreadState *tstate, int event,
52+
_PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest);
5353

5454
extern int
5555
_Py_call_instrumentation_arg(PyThreadState *tstate, int event,

Include/internal/pycore_magic_number.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ Known values:
264264
Python 3.14a2 3609 (Add LOAD_SMALL_INT and LOAD_CONST_IMMORTAL instructions, remove RETURN_CONST)
265265
Python 3.14a4 3610 (Add VALUE_WITH_FAKE_GLOBALS format to annotationlib)
266266
Python 3.14a4 3611 (Add NOT_TAKEN instruction)
267+
Python 3.14a4 3612 (Add POP_ITER and INSTRUMENTED_POP_ITER)
267268
268269
Python 3.15 will start with 3650
269270
@@ -276,7 +277,7 @@ PC/launcher.c must also be updated.
276277
277278
*/
278279

279-
#define PYC_MAGIC_NUMBER 3611
280+
#define PYC_MAGIC_NUMBER 3612
280281
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
281282
(little-endian) and then appending b'\r\n'. */
282283
#define PYC_MAGIC_NUMBER_TOKEN \

Include/internal/pycore_opcode_metadata.h

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

Include/internal/pycore_uop_ids.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_metadata.h

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

0 commit comments

Comments
 (0)