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.

classification
Title: potential clash with C++ in ceval.h
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, jaroslov
Priority: low Keywords: easy

Created on 2007-01-31 22:16 by jaroslov, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ceval.h.diff jaroslov, 2007-01-31 22:16 patch against future
Messages (4)
msg31159 - (view) Author: thechao (jaroslov) Date: 2007-01-31 22:16
There is a potential clash with future revisions of C++ in the file "ceval.h". On lines 52, 54, and 57 the word "where" is used. Future versions of C++ will have a "where" keyword (for concepts). I have a diff file (attached) that changes the word "where" to "location". I'm not sure if this is an appropriate name, but it certainly compiles.
msg66683 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-11 22:00
Lowering priority.
msg66731 - (view) Author: thechao (jaroslov) Date: 2008-05-12 16:12
This bug has been resolved. The new C++ keyword has been changed from
"where" to "requires". I will go look for requires. I can either add
other potential collisions here, or start a new bug. Other potential
problems are "typedecl" and "constexpr".
msg66732 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-12 16:18
Okay, I'm closing this one. If you find further clashes, feel free to
open a new bug. Thanks for the update!
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44535
2008-05-12 16:18:13georg.brandlsetstatus: open -> closed
resolution: works for me
messages: + msg66732
2008-05-12 16:12:22jaroslovsetmessages: + msg66731
2008-05-11 22:00:29georg.brandlsetpriority: normal -> low
nosy: + georg.brandl
messages: + msg66683
2008-04-10 21:15:49akuchlingsetkeywords: + easy
2007-01-31 22:16:24jaroslovcreate