homepage

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: PyRun_SimpleFile() should use const char
Type: Stage:
Components: Interpreter Core Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, yoda_gh
Priority: normal Keywords:

Created on 2002年12月10日 10:38 by yoda_gh, last changed 2022年04月10日 16:05 by admin. This issue is now closed.

Messages (2)
msg13581 - (view) Author: Gernot Hillier (yoda_gh) Date: 2002年12月10日 10:38
PyRun_SimpleFile() currently expects a char* which leads to many 
ugly const_cast<char*>() calls if you use string types in C++. 
 
Please change to "const char*" if possible. TIA! 
 
msg13582 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002年12月11日 14:05
Logged In: YES 
user_id=21627
This if now fixed in the CVS, with the changes
compile.h 2.39
parsetok.h 2.20
pyerrors.h 2.64
pythonrun.h 2.56
symtable.h 2.11
parsetok.c 2.34
tokenizer.c 2.70
tokenizer.h 2.20
compile.c 2.266
errors.c 2.75
future.c 2.13
pythonrun.c 2.170
History
Date User Action Args
2022年04月10日 16:05:58adminsetgithub: 37595
2002年12月10日 10:38:05yoda_ghcreate

AltStyle によって変換されたページ (->オリジナル) /