Commit Graph

618 Commits

Author SHA1 Message Date
Antoine Pitrou 37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
Martin v. Löwis c142389218 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:24:49 +01:00
Martin v. Löwis bb3e937a18 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:23:39 +01:00
Martin v. Löwis 21967d0b4d Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 11:28:23 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl fa2c61a222 More automated version replacement. 2011-02-20 10:41:31 +00:00
Martin v. Löwis 0e74cacdff Upgrade to sqlite3 3.7.4. 2010-12-17 21:04:09 +00:00
Martin v. Löwis 910a4edbcd Upgrade Tcl/Tk to 8.5.9. 2010-12-17 20:43:27 +00:00
Kristján Valur Jónsson 8d28a92eda issue 10683
When the solution is converted to Visual Studio 2010, the command line to invoke make_buildinfo changes from:
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
to
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
If the final backslash is omitted, the backslash in IntDir will escape the quote, thus passing the quote in as part of the path name.

This solution is a hack-fix to that problem by skipping any trailing quote from the path name.  It works as long as we don't need any additional arguments to make_buildinfo.exe.  This will help all those sould that are going to run this project through the visual studio autoconverter and get the same error.
2010-12-13 03:32:10 +00:00
Hirokazu Yamamoto ba466cd208 Merged revisions 85071-85072,85894,87132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85071 | hirokazu.yamamoto | 2010-09-29 03:29:57 +0900 (水, 29 9 2010) | 1 line

  Now perl path with spaces can be used.
........
  r85072 | hirokazu.yamamoto | 2010-09-29 03:36:04 +0900 (水, 29 9 2010) | 1 line

  Updated PC/VC6 openssl build script. (for openssl-1.0.0a)
........
  r85894 | hirokazu.yamamoto | 2010-10-29 02:57:25 +0900 (金, 29 10 2010) | 1 line

  Updated readme.txt about OpenSSL.
........
  r87132 | hirokazu.yamamoto | 2010-12-08 23:47:07 +0900 (水, 08 12 2010) | 3 lines

  Mention NASM which is needed to build openssl-1.0.0a original source.
  (PC/VC6/readme.txt)
........
2010-12-09 09:25:38 +00:00
Martin v. Löwis d53ee5dd12 Automate build for python3.dll.
Package missing files.
2010-12-05 23:07:58 +00:00
Hirokazu Yamamoto 7f4bc00d9f I hope this will fix Win2008(x64) buildbot error. 2010-12-04 12:20:57 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Kristján Valur Jónsson 60fafa276c issue 10501
make_buildinfo regression with unquoted path
Make_buildinfo.exe should be called with a quoted path, and should quote the full paths to its temp files, to support spaces in filenames.
2010-11-22 11:37:06 +00:00
Hirokazu Yamamoto de5919dca7 Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
2010-11-04 14:11:32 +00:00
Kristján Valur Jónsson 33d144aa36 issue 9981
let make_buildinfo use a temporary directory on windows
2010-11-03 13:57:00 +00:00
Hirokazu Yamamoto 7c3d709377 Updated readme.txt about OpenSSL. 2010-10-28 17:57:25 +00:00
Amaury Forgeot d'Arc c913989370 On Windows, remove compilation warnings with the zlib and gzip modules. 2010-10-17 08:26:13 +00:00
Hirokazu Yamamoto beae8efb1b Merged revisions 84763,85135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84763 | hirokazu.yamamoto | 2010-09-13 15:21:54 +0900 | 1 line

  Cosmetic fix to project files.
........
  r85135 | hirokazu.yamamoto | 2010-10-01 19:40:49 +0900 | 1 line

  Cosmetic fix for PCBuild/readme.txt.
........
2010-10-08 09:32:13 +00:00
Victor Stinner 4e31443c4d Create fileutils.c/.h
* _Py_fopen() and _Py_stat() come from Python/import.c
 * (_Py)_wrealpath() comes from Python/sysmodule.c
 * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c
 * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c
2010-10-07 21:45:39 +00:00
Georg Brandl 4009c9edfc Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line

  #7935: cross-reference to ast.literal_eval() from eval() docs.
........
  r82806 | georg.brandl | 2010-07-11 12:22:44 +0200 (So, 11 Jul 2010) | 1 line

  #9223: link to Command class reference, and move Command interface docs nearer to class docs.
........
  r83523 | georg.brandl | 2010-08-02 14:06:18 +0200 (Mo, 02 Aug 2010) | 1 line

  #9209 and #7781: fix two crashes in pstats interactive browser.
........
  r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (Mo, 02 Aug 2010) | 1 line

  #9428: fix running scripts from profile/cProfile with their own name and the right namespace.  Same fix as for trace.py in #1690103.
........
  r83525 | georg.brandl | 2010-08-02 14:36:24 +0200 (Mo, 02 Aug 2010) | 1 line

  Get rid of spurious "threading" entries in trace output.
........
  r83526 | georg.brandl | 2010-08-02 14:40:22 +0200 (Mo, 02 Aug 2010) | 1 line

  Fix softspace relic.
........
  r83527 | georg.brandl | 2010-08-02 14:48:46 +0200 (Mo, 02 Aug 2010) | 1 line

  #3821: beginnings of a trace.py unittest.
........
  r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line

  #8578: mention danger of not incref'ing weak referenced object.
........
  r83538 | georg.brandl | 2010-08-02 20:10:13 +0200 (Mo, 02 Aug 2010) | 1 line

  #6928: fix class docs w.r.t. new metaclasses.
........
  r83542 | georg.brandl | 2010-08-02 20:56:54 +0200 (Mo, 02 Aug 2010) | 1 line

  Move test_SimpleHTTPServer into test_httpservers.
........
  r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line

  #7973: Fix distutils options spelling.
........
  r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line

  #7386: add example that shows that trailing path separators are stripped.
........
  r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line

  #8172: how does one use a property?
........
  r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line

  #9451: strengthen warning about __*__ special name usage.
........
  r83551 | georg.brandl | 2010-08-02 21:35:06 +0200 (Mo, 02 Aug 2010) | 1 line

  Remove XXX comment that was displayed.
........
  r83552 | georg.brandl | 2010-08-02 21:36:36 +0200 (Mo, 02 Aug 2010) | 1 line

  #9438: clarify that constant names also cannot be assigned as attributes.
........
  r83553 | georg.brandl | 2010-08-02 21:39:17 +0200 (Mo, 02 Aug 2010) | 1 line

  Remove redundant information.
........
  r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line

  #7280: note about nasmw.exe.
........
  r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line

  #8861: remove unused variable.
........
  r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line

  #8648: document UTF-7 codec functions.
........
  r83560 | georg.brandl | 2010-08-02 22:16:18 +0200 (Mo, 02 Aug 2010) | 1 line

  #9087: update json docstrings -- unicode and long do not exist anymore.
........
2010-10-06 08:26:09 +00:00
Hirokazu Yamamoto 0b0ebb4837 Cosmetic fix for PCBuild/readme.txt. 2010-10-01 10:40:49 +00:00
Hirokazu Yamamoto 313dab43fe Now perl path with spaces can be used. 2010-09-28 18:29:57 +00:00
Hirokazu Yamamoto 5e83da3d08 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-24 16:36:34 +00:00
Hirokazu Yamamoto 2f816e6a10 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-21 18:23:05 +00:00
Hirokazu Yamamoto e31f7d9e2e Revert r84902 before committing better solution. 2010-09-21 16:05:47 +00:00
Hirokazu Yamamoto ba45c2b6a7 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-19 09:24:20 +00:00
Hirokazu Yamamoto dc92bd8890 Merged revisions 84851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84851 | hirokazu.yamamoto | 2010-09-17 02:50:57 +0900 | 3 lines

  Issue #9810: Compile bzip2 source files in python's project file
  directly. It used to be built with bzip2's makefile.
........
2010-09-18 22:53:25 +00:00
Hirokazu Yamamoto 90387ff4b0 regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)
2010-09-18 00:31:44 +00:00
Hirokazu Yamamoto fc2e1d10bc Let's see if tcl/tk test runs on windows buildbot with this fix. 2010-09-17 08:53:31 +00:00
Hirokazu Yamamoto 234f88dc73 Issue #9810: Compile bzip2 source files in python's project file
directly. It used to be built with bzip2's makefile.
2010-09-16 17:50:57 +00:00
Hirokazu Yamamoto 4cc96a16da Cosmetic fix to project files. 2010-09-13 06:21:54 +00:00
Hirokazu Yamamoto 8e0bb6a1e2 Merged revisions 84645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84645 | hirokazu.yamamoto | 2010-09-09 15:24:43 +0900 | 5 lines

  PCBuild cosmetic fixes.
  * pythoncore.vcproj: Fixed indentation
  * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
    VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
    loads it in VS8 IDE.
........
2010-09-09 19:57:17 +00:00
Hirokazu Yamamoto 3cfe2e3677 PCBuild cosmetic fixes.
* pythoncore.vcproj: Fixed indentation
* _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
  VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
  loads it in VS8 IDE.
2010-09-09 06:24:43 +00:00
Martin v. Löwis 9f59fa5d67 Fix various build problems. 2010-08-28 13:06:43 +00:00
Alexander Belopolsky 6fc4ade2bb Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
2010-08-05 17:34:27 +00:00
Georg Brandl 0abcbd7a24 #7280: note about nasmw.exe. 2010-08-02 19:43:05 +00:00
Martin v. Löwis 26d3fc1738 Copy asm files into place. 2010-07-31 10:49:53 +00:00
Martin v. Löwis e38de851eb Use OpenSSL 1.0.0a on Windows. 2010-07-30 17:30:51 +00:00
Martin v. Löwis f10021dd80 Drop 2.4 support. Add disabled algorithms to Configure options. 2010-07-30 17:29:39 +00:00
Alexander Belopolsky cf86e368eb Issue #7989: Added pure python implementation of the datetime module. 2010-07-23 19:25:47 +00:00
Mark Dickinson 7ab54e4252 Issue #9089: Remove intobject.h from MSVC project files. 2010-06-27 18:18:01 +00:00
Thomas Heller b00697e67c Merged revisions 82126-82127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82126 | thomas.heller | 2010-06-21 16:00:24 +0200 (Mo, 21 Jun 2010) | 1 line

  Fix #8959 by reverting revision 80761.
........
  r82127 | thomas.heller | 2010-06-21 17:01:18 +0200 (Mo, 21 Jun 2010) | 2 lines

  Add tests for problems reported in issue 8959.
........
2010-06-21 16:00:31 +00:00
Victor Stinner 79ee19f3db Issue #9012: Add _time.c and _time.h to the Visual Studio project file
Add these new files, added by r82034, to the pythoncore project.
2010-06-16 23:05:06 +00:00
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines

  Recorded merge of revisions 81029 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

    Untabify C files. Will watch buildbots.
  ........
................
2010-05-09 16:14:21 +00:00
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Thomas Heller 667ce06de4 Merged revisions 80761,80766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80761 | thomas.heller | 2010-05-04 20:44:42 +0200 (Di, 04 Mai 2010) | 8 lines

  On Windows, ctypes does no longer check the stack before and after
  calling a foreign function.  This allows to use the unmodified libffi
  library.

  Remove most files from _ctypes/libffi_msvc, only two include files
  stay (updated from _ctypes/libffi/...).  Other files are used in the
  cross-platform _ctypes/libffi directory.
........
  r80766 | thomas.heller | 2010-05-04 21:08:18 +0200 (Di, 04 Mai 2010) | 2 lines

  Remove reference to unused source file.
........
2010-05-04 19:17:41 +00:00
Jeffrey Yasskin 39370830a9 Make (most of) Python's tests pass under Thread Sanitizer.
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.

I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.

I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
2010-05-03 19:29:34 +00:00
Ezio Melotti b46dfb0d24 Add -bb to rt.bat to do some extra checks during the tests (it is already used by the non-Windows buildbots). 2010-04-03 15:27:05 +00:00