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: Some tests breaks PGO build on Windows
Type: compile error Stage: resolved
Components: Windows Versions: Python 3.5
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Charles G., Decorater, iritkatriel, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-07-14 06:36 by Charles G., last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (7)
msg270374 - (view) Author: Charles G. (Charles G.) Date: 2016-07-14 06:36
Python 3.5.2
Visual Studio 2015 Update 2
Windows 7

I tried to build python with pgo (build.bat --pgo) but found that no  python35!1.pgc or python!1.pgc was created. Then I run the tests one by one while checking the existence of python35!1.pgc and found that these tests when run prevents above pgcs from being created:


I'm not sure of the reason why no pgc is produced when running these tests.
msg270376 - (view) Author: Decorater (Decorater) * Date: 2016-07-14 07:08
What Edition of Visual Studio are you using? I am using Update 3 of 2015 Community and PGO is only (as far as I am aware of) in the Ultimate Edition of Visual Studio.
msg270377 - (view) Author: Charles G. (Charles G.) Date: 2016-07-14 07:12
Community Edition. PGO is available in the Community Edition since at least VS 2012.
msg270378 - (view) Author: Charles G. (Charles G.) Date: 2016-07-14 07:19
The compiler itself supports PGO in the Community Edition. I'm not sure about the IDE (not using it). Since I compiled python using the batch file (with msbuild) so it is not limited by the features of the IDE.
msg270383 - (view) Author: Charles G. (Charles G.) Date: 2016-07-14 08:36
Tried with Visual Studio Community 2015 Update 3 with same result.
msg270384 - (view) Author: Decorater (Decorater) * Date: 2016-07-14 08:41
Have you tried the 3.6 branch maybe it was fixed there.
msg401580 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-09-10 14:43
Python 3.5 is no longer in maintenance. Please create a new issue if you are still seeing this problem on a current version (>= 3.9).
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71696
2021-09-10 14:43:09iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg401580

resolution: out of date
stage: resolved
2016-07-14 08:41:55Decoratersetmessages: + msg270384
2016-07-14 08:36:03Charles G.setmessages: + msg270383
2016-07-14 07:19:01Charles G.setmessages: + msg270378
2016-07-14 07:12:59Charles G.setmessages: + msg270377
2016-07-14 07:08:05Decoratersetnosy: + Decorater
messages: + msg270376
2016-07-14 06:36:50Charles G.create