Staging
v0.5.1
https://github.com/python/cpython
Revision f31f6c952f5975d7f6c7208335495da8d7fe34ac authored by R. David Murray on 23 February 2010, 23:03:49 UTC, committed by R. David Murray on 23 February 2010, 23:03:49 UTC
................
  r78388 | r.david.murray | 2010-02-23 17:57:58 -0500 (Tue, 23 Feb 2010) | 11 lines

  Merged revisions 78384 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines

    Fix #1537721: add writeheader() method to csv.DictWriter.

    Reviewed by skip.montanaro and thomas.wouters.
  ........
................
  r78389 | r.david.murray | 2010-02-23 18:00:34 -0500 (Tue, 23 Feb 2010) | 2 lines

  Fix version added for csv writeheader.
................
1 parent 41c5d2f
Raw File
Tip revision: f31f6c952f5975d7f6c7208335495da8d7fe34ac authored by R. David Murray on 23 February 2010, 23:03:49 UTC
Blocked revisions 78388-78389 via svnmerge
Tip revision: f31f6c9
pydebug.h

#ifndef Py_PYDEBUG_H
#define Py_PYDEBUG_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(int) Py_DebugFlag;
PyAPI_DATA(int) Py_VerboseFlag;
PyAPI_DATA(int) Py_InteractiveFlag;
PyAPI_DATA(int) Py_InspectFlag;
PyAPI_DATA(int) Py_OptimizeFlag;
PyAPI_DATA(int) Py_NoSiteFlag;
PyAPI_DATA(int) Py_BytesWarningFlag;
PyAPI_DATA(int) Py_UseClassExceptionsFlag;
PyAPI_DATA(int) Py_FrozenFlag;
PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
PyAPI_DATA(int) Py_DivisionWarningFlag;
PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
PyAPI_DATA(int) Py_NoUserSiteDirectory;
PyAPI_DATA(int) Py_UnbufferedStdioFlag;

/* this is a wrapper around getenv() that pays attention to
   Py_IgnoreEnvironmentFlag.  It should be used for getting variables like
   PYTHONPATH and PYTHONHOME from the environment */
#define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))

PyAPI_FUNC(void) Py_FatalError(const char *message);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYDEBUG_H */
back to top