This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Unable to compile cpython in Visual Studio 2019
Type: compile error Stage: resolved
Components: Versions:
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: eric.smith, shreyanavigyan
Priority: normal Keywords:

Created on 2021-04-16 17:39 by shreyanavigyan, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg391239 - (view) Author: Shreyan Avigyan (shreyanavigyan) * Date: 2021-04-16 17:39
Recently, I'm having some problem compiling cpython from Visual Studio 2019. I'm able to compile using the build.bat script. I'm using Visual Studio 2019 for about 2-3 months now for compiling and developing cpython. But unfortunately, some error occurs. While compiling cpython from Visual Studio 2019 the, if I remember correctly, raises an exception that it was passed no arguments and therefore the build fails. After I compile cpython using build.bat script I'm able to build and rebuild cpython from Visual Studio 2019 without facing any problem for 2-3 days. Then again the error occurs. Can anyone explain to why this is happening? Or is this a bug in cpython?
msg391241 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-04-16 17:43
It's almost certainly not a bug in CPython. But you haven't even shown us what the error is, so it's impossible to say. What error are you seeing?
msg391243 - (view) Author: Shreyan Avigyan (shreyanavigyan) * Date: 2021-04-16 18:12
I'm not able to reproduce the error right now. I think I forgot to clean all object files and other stuff created during compilation and therefore was witnessing the error during rebuilding. I'm closing this issue for now. If I come across this error in the future I'll reopen this issue and attach a screenshot of the error.
msg391244 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-04-16 18:15
Okay, and good luck!
Date User Action Args
2022-04-11 14:59:44adminsetgithub: 88038
2021-04-16 18:15:04eric.smithsetresolution: not a bug
messages: + msg391244
2021-04-16 18:12:57shreyanavigyansetstatus: open -> closed
stage: resolved
2021-04-16 18:12:49shreyanavigyansetmessages: + msg391243
2021-04-16 17:43:49eric.smithsetnosy: + eric.smith
messages: + msg391241
2021-04-16 17:39:48shreyanavigyancreate