]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(Merge 3.2) Issue #5905: time.strftime() is now using the locale encoding,
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 9 Dec 2011 19:21:17 +0000 (20:21 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 9 Dec 2011 19:21:17 +0000 (20:21 +0100)
instead of UTF-8, if the wcsftime() function is not available.

1  2 
Misc/NEWS
Modules/timemodule.c

diff --cc Misc/NEWS
Simple merge
index 52aade4bda3815174e75064b158232841dbfeedb,33751fad500a0574041cf46b4cefbd9682c439f8..dff46413e4372dbbfa58304db334aa0d57e83cc7
  #endif /* MS_WINDOWS */
  #endif /* !__WATCOMC__ || __QNX__ */
  
- #if defined(HAVE_MBCS)
- #  define TZNAME_ENCODING "mbcs"
- #else
- #  define TZNAME_ENCODING "utf-8"
- #endif
 -#if defined(MS_WINDOWS) && !defined(__BORLANDC__)
 -/* Win32 has better clock replacement; we have our own version below. */
 -#undef HAVE_CLOCK
 -#endif /* MS_WINDOWS && !defined(__BORLANDC__) */
--
  #if defined(PYOS_OS2)
  #define INCL_DOS
  #define INCL_ERRORS