Victor Stinner
87adda502a
Issue #14180 : Fix pythoncore.vcproj, Modules/_time.[ch] have been removed
2012-03-13 17:42:18 +01:00
Martin v. Löwis
ed7b51f20c
Enable PGI/PGO builds for x64 python3.dll
2012-03-04 20:15:39 +01:00
Stefan Krah
9a2d99e28a
- Issue #10181 : New memoryview implementation fixes multiple ownership
...
and lifetime issues of dynamically allocated Py_buffer members (#9990 )
as well as crashes (#8305 , #7433 ). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.
Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.
- Issue #12834 : Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.
- Issue #5231 : Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Georg Brandl
09a7c72cad
Merge from 3.1: Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl
2daf6ae249
Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Nadeem Vawda
3ff069ebc6
Issue #6715 : Add module for compression using the LZMA algorithm.
2011-11-30 00:25:06 +02:00
Antoine Pitrou
c61c8d7a5e
Issue #12911 : Fix memory consumption when calculating the repr() of huge tuples or lists.
...
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 19:04:12 +02:00
Antoine Pitrou
eeb7eea1f9
Issue #12911 : Fix memory consumption when calculating the repr() of huge tuples or lists.
...
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 18:57:27 +02:00
Victor Stinner
dfb866d127
Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
...
Move other various macros to pymcacro.h
Thanks Rusty Russell for having written these amazing C macros!
2011-09-29 01:12:24 +02:00
Antoine Pitrou
87cf220972
Issue #11743 : Rewrite multiprocessing connection classes in pure Python.
2011-05-09 17:04:27 +02:00
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