Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-107465: Addpathlib.Path.from_uri() classmethod.#107640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

barneygale
Copy link
Contributor

@barneygalebarneygale commentedAug 4, 2023
edited
Loading

This method supports file URIs (including variants) as described in RFC 8089, such as URIs generated bypathlib.Path.as_uri() andurllib.request.pathname2url().

The method is added toPath rather thanPurePath because it usesos.fsdecode(), and so its results vary from system to system. I intend to deprecatePurePath.as_uri() and move it toPath for the same reason.


📚 Documentation preview 📚:https://cpython-previews--107640.org.readthedocs.build/

edgarrmondragon reacted with thumbs up emoji
This method supports file URIs (including variants) as described inRFC 8089, such as URIs generated by `pathlib.Path.as_uri()` and`urllib.request.pathname2url`.The method is added to `Path` rather than `PurePath` because it uses`os.fsdecode()`, and so its results vary from system to system. I intend todeprecate `PurePath.as_uri()` and move it to `Path` for the same reason.
@barneygalebarneygale marked this pull request as draftAugust 4, 2023 18:20
@barneygalebarneygale marked this pull request as ready for reviewAugust 4, 2023 21:19
@barneygalebarneygale mentioned this pull requestSep 29, 2023
8 tasks
@barneygale
Copy link
ContributorAuthor

Thanks for your feedback, both. I've revised the code:Path.from_uri() now raisesValueError if the URI does not begin withfile:, or if it encodes a relative path.

We could add a non-strict mode, but I think that's best done in a separate PR that also considersto_uri().

Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks!

A

barneygaleand others added2 commitsSeptember 30, 2023 23:52
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@barneygale
Copy link
ContributorAuthor

Thank you for the reviews, Adam, Andreas and Edgar!

AA-Turner, edgarrmondragon, and ap-- reacted with heart emoji

@barneygalebarneygale merged commit15de493 intopython:mainOct 1, 2023
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM64 macOS 3.x has failed when building commit15de493.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/725/builds/5815) and take a look at the build logs.
  4. Check if the failure is related to this commit (15de493) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/725/builds/5815

Failed tests:

  • test_signal

Summary of the results of the build (if available):

==

Click to see traceback logs
remote:Enumerating objects: 16, done.remote:Counting objects:   6% (1/15)remote:Counting objects:  13% (2/15)remote:Counting objects:  20% (3/15)remote:Counting objects:  26% (4/15)remote:Counting objects:  33% (5/15)remote:Counting objects:  40% (6/15)remote:Counting objects:  46% (7/15)remote:Counting objects:  53% (8/15)remote:Counting objects:  60% (9/15)remote:Counting objects:  66% (10/15)remote:Counting objects:  73% (11/15)remote:Counting objects:  80% (12/15)remote:Counting objects:  86% (13/15)remote:Counting objects:  93% (14/15)remote:Counting objects: 100% (15/15)remote:Counting objects: 100% (15/15), done.remote:Compressing objects:   7% (1/13)remote:Compressing objects:  15% (2/13)remote:Compressing objects:  23% (3/13)remote:Compressing objects:  30% (4/13)remote:Compressing objects:  38% (5/13)remote:Compressing objects:  46% (6/13)remote:Compressing objects:  53% (7/13)remote:Compressing objects:  61% (8/13)remote:Compressing objects:  69% (9/13)remote:Compressing objects:  76% (10/13)remote:Compressing objects:  84% (11/13)remote:Compressing objects:  92% (12/13)remote:Compressing objects: 100% (13/13)remote:Compressing objects: 100% (13/13), done.remote:Total 16 (delta 2), reused 3 (delta 2), pack-reused 1From https://github.com/python/cpython * branch                  main       -> FETCH_HEADNote:switching to '15de493395c3251b8b82063bbe22a379792b9404'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example:  git switch -c <new-branch-name>Or undo this operation with:  git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at 15de493395 GH-107465: Add `pathlib.Path.from_uri()` classmethod. (#107640)Switched to and reset branch 'main'In file included from ./Modules/_tkinter.c:52:In file included from /opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/tk.h:99:/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*free_private)();/* called to free private storage*/^                            void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        struct _XImage*(*create_image)();^                                        void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        XID (*resource_alloc)();/* allocator function*/^                              void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*synchandler)();/* Synchronization handler*/^                           void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (*event_vec[128])();/* vectorfor wire to event*/^                               void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Status (*wire_vec[128])();/* vectorfor event to wire*/^                                void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (**error_vec)();/* vectorfor wire to error*/^                           void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*savedsynchandler)();/* user synchandler when Xlib usurps*/^                                void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]typedef void (*XIMProc)();^                        voidIn file included from ./Modules/tkappinit.c:17:In file included from /opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/tk.h:99:/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*free_private)();/* called to free private storage*/^                            void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        struct _XImage*(*create_image)();^                                        void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        XID (*resource_alloc)();/* allocator function*/^                              void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*synchandler)();/* Synchronization handler*/^                           void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (*event_vec[128])();/* vectorfor wire to event*/^                               void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Status (*wire_vec[128])();/* vectorfor event to wire*/^                                void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (**error_vec)();/* vectorfor wire to error*/^                           void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*savedsynchandler)();/* user synchandler when Xlib usurps*/^                                void/opt/homebrew/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]typedef void (*XIMProc)();^                        void9 warnings generated.9 warnings generated.make:*** [buildbottest] Error 5

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbots390x Fedora 3.x has failed when building commit15de493.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/223/builds/4587) and take a look at the build logs.
  4. Check if the failure is related to this commit (15de493) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/223/builds/4587

Failed tests:

  • test_subprocess

Failed subtests:

  • test_pipesize_default - test.test_subprocess.ProcessTestCaseNoPoll.test_pipesize_default

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/test_subprocess.py", line763, intest_pipesize_defaultself.assertEqual(AssertionError:65536 != 8192

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotPPC64LE Fedora Stable LTO + PGO 3.x has failed when building commit15de493.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/101/builds/3833) and take a look at the build logs.
  4. Check if the failure is related to this commit (15de493) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/101/builds/3833

Failed tests:

  • test.test_concurrent_futures.test_deadlock

Summary of the results of the build (if available):

==

Click to see traceback logs
remote:Enumerating objects: 20, done.remote:Counting objects:   5% (1/19)remote:Counting objects:  10% (2/19)remote:Counting objects:  15% (3/19)remote:Counting objects:  21% (4/19)remote:Counting objects:  26% (5/19)remote:Counting objects:  31% (6/19)remote:Counting objects:  36% (7/19)remote:Counting objects:  42% (8/19)remote:Counting objects:  47% (9/19)remote:Counting objects:  52% (10/19)remote:Counting objects:  57% (11/19)remote:Counting objects:  63% (12/19)remote:Counting objects:  68% (13/19)remote:Counting objects:  73% (14/19)remote:Counting objects:  78% (15/19)remote:Counting objects:  84% (16/19)remote:Counting objects:  89% (17/19)remote:Counting objects:  94% (18/19)remote:Counting objects: 100% (19/19)remote:Counting objects: 100% (19/19), done.remote:Compressing objects:   6% (1/15)remote:Compressing objects:  13% (2/15)remote:Compressing objects:  20% (3/15)remote:Compressing objects:  26% (4/15)remote:Compressing objects:  33% (5/15)remote:Compressing objects:  40% (6/15)remote:Compressing objects:  46% (7/15)remote:Compressing objects:  53% (8/15)remote:Compressing objects:  60% (9/15)remote:Compressing objects:  66% (10/15)remote:Compressing objects:  73% (11/15)remote:Compressing objects:  80% (12/15)remote:Compressing objects:  86% (13/15)remote:Compressing objects:  93% (14/15)remote:Compressing objects: 100% (15/15)remote:Compressing objects: 100% (15/15), done.remote:Total 20 (delta 4), reused 8 (delta 4), pack-reused 1From https://github.com/python/cpython * branch                  main       -> FETCH_HEADNote:switching to '15de493395c3251b8b82063bbe22a379792b9404'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example:  git switch -c <new-branch-name>Or undo this operation with:  git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at 15de493395 GH-107465: Add `pathlib.Path.from_uri()` classmethod. (#107640)Switched to and reset branch 'main'find:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directorymake[2]:[Makefile:2797: clean-retain-profile] Error 1 (ignored)In function ‘_io_FileIO_close_impl’,    inlinedfrom ‘_io_FileIO_close’ at ./Modules/_io/clinic/fileio.c.h:33:12:./Modules/_io/fileio.c:175:9: warning: ‘exc’ may be used uninitialized [-Wmaybe-uninitialized]  175 |         _PyErr_ChainExceptions1(exc);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/_io/fileio.c:In function ‘_io_FileIO_close’:./Modules/_io/fileio.c:160:15: note: ‘exc’ was declared here  160 |     PyObject *exc;|^~~./Modules/_decimal/libmpdec/context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time./Modules/_decimal/libmpdec/context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second timeIn file included from Python/bltinmodule.c:5:In function ‘_PyObject_VectorcallTstate’,    inlinedfrom ‘_PyObject_VectorcallTstate’ at ./Include/internal/pycore_call.h:172:1,    inlinedfrom ‘map_next’ at Python/bltinmodule.c:1416:14:./Include/internal/pycore_call.h:185:16: warning: ‘small_stack’ may be used uninitialized [-Wmaybe-uninitialized]  185 |         return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Include/internal/pycore_call.h:In function ‘map_next’:./Include/internal/pycore_call.h:126:23: note: by argument 3 of type ‘struct PyObject * const *’ to ‘_PyObject_MakeTpCall’ declared here  126 | PyAPI_FUNC(PyObject*) _PyObject_MakeTpCall(|^~~~~~~~~~~~~~~~~~~~Python/bltinmodule.c:1388:15: note: ‘small_stack’ declared here 1388 |     PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];|^~~~~~~~~~~In function ‘_PyObject_VectorcallTstate’,    inlinedfrom ‘_PyObject_VectorcallTstate’ at ./Include/internal/pycore_call.h:172:1,    inlinedfrom ‘map_next’ at Python/bltinmodule.c:1416:14:./Include/internal/pycore_call.h:185:16: warning: ‘small_stack’ may be used uninitialized [-Wmaybe-uninitialized]  185 |         return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Include/internal/pycore_call.h:In function ‘map_next’:./Include/internal/pycore_call.h:126:23: note: by argument 3 of type ‘struct PyObject * const *’ to ‘_PyObject_MakeTpCall’ declared here  126 | PyAPI_FUNC(PyObject*) _PyObject_MakeTpCall(|^~~~~~~~~~~~~~~~~~~~Python/bltinmodule.c:1388:15: note: ‘small_stack’ declared here 1388 |     PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];|^~~~~~~~~~~In function ‘_io_FileIO_close_impl’,    inlinedfrom ‘_io_FileIO_close’ at ./Modules/_io/clinic/fileio.c.h:33:12:./Modules/_io/fileio.c:175:9: warning: ‘exc’ may be used uninitialized [-Wmaybe-uninitialized]  175 |         _PyErr_ChainExceptions1(exc);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/_io/fileio.c:In function ‘_io_FileIO_close’:./Modules/_io/fileio.c:160:15: note: ‘exc’ was declared here  160 |     PyObject *exc;|^~~In function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:611:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zerocc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:607:18:./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  348 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~In function ‘_mpd_to_string’:cc1:note: destination object is likely at address zeroIn function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘doParseXmlDecl’ at ./Modules/expat/xmltok.c:1197:13:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘doParseXmlDecl’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1075:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1081:12:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1081:12:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1088:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1088:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1115:7:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1128:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1128:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘doParseXmlDecl’ at ./Modules/expat/xmltok.c:1197:13:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘doParseXmlDecl’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1075:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1081:12:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1081:12:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1088:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1088:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1115:7:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1128:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1043:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1128:9:./Modules/expat/xmltok.c:390:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  390 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1041:8: note: destination object ‘buf’ of size 1 1041 |   char buf[1];|^In function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:359:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  359 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:358:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  358 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:359:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  359 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:360:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  360 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:357:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  357 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:356:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  356 |     case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:357:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  357 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:358:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  358 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:361:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  361 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:360:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  360 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:361:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  361 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:362:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  362 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:363:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  363 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:362:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  362 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:363:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  363 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:365:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  365 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:366:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  366 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:365:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  365 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:366:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  366 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:367:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  367 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:368:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  368 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:367:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  367 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:368:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  368 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:369:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  369 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:370:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  370 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:369:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  369 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:370:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  370 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:371:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  371 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:372:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  372 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:371:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  371 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:372:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  372 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:373:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  373 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^In function ‘coeff_to_string’:lto1:note: destination object is likely at address zerolto1:note: destination object is likely at address zeroIn function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:410:13:./Modules/_decimal/libmpdec/io.c:373:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]In function ‘coeff_to_string’:lto1:note: destination object is likely at address zeromake:*** [Makefile:2020: buildbottest] Error 5

Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
…07640)This method supports file URIs (including variants) as described in RFC 8089, such as URIs generated by `pathlib.Path.as_uri()` and `urllib.request.pathname2url()`.The method is added to `Path` rather than `PurePath` because it uses `os.fsdecode()`, and so its results vary from system to system. I intend to deprecate `PurePath.as_uri()` and move it to `Path` for the same reason.Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ap--ap--ap-- left review comments

@edgarrmondragonedgarrmondragonedgarrmondragon left review comments

@AA-TurnerAA-TurnerAA-Turner approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@barneygale@bedevere-bot@ap--@AA-Turner@edgarrmondragon

[8]ページ先頭

©2009-2025 Movatter.jp