Commit Graph

118 Commits

Author SHA1 Message Date
Benjamin Peterson
b0368491e4 remove useless word (closes #23929) 2015-04-13 20:24:10 -04:00
Ned Deily
5937f39aee Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. 2014-06-26 23:38:14 -07:00
Benjamin Peterson
87d0136416 clarify when the list of subdirectories is read (closes #13779) 2014-06-15 20:51:12 -07:00
Benjamin Peterson
aee9dfba4a merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Matthias Klose
2b52e311e5 Merged revisions 77879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77879 | matthias.klose | 2010-01-31 17:46:26 +0100 (So, 31 Jan 2010) | 2 lines

  - Fix typo in os.execvp docstring.
........
2010-01-31 16:47:55 +00:00
Matthias Klose
48a3c4e2e3 - Fix typo in os.execvp docstring. 2010-01-31 16:46:26 +00:00
Mark Dickinson
1b34d2552c Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
2010-01-01 17:27:30 +00:00
Benjamin Peterson
246ec332fd avoid doing an uneeded import in a function 2009-11-20 02:56:43 +00:00
Philip Jenvey
7865296ca3 Merged revisions 75143 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines

  #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
  through the shell. also document the correct subprocess replacement for this
  case
  patch from Jean-Paul Calderone and Jani Hakala
........
2009-09-29 19:18:11 +00:00
Philip Jenvey
8b9020458a #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Amaury Forgeot d'Arc
03dcc73c11 Avoid invoking the parser/compiler just to test the presence of a function. 2009-06-09 22:53:16 +00:00
Gregory P. Smith
d712203d17 Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
2008-09-02 05:36:11 +00:00
Brett Cannon
88f801d409 Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
the module but exposed as part of the API.
2008-08-18 00:46:22 +00:00
Georg Brandl
dffbf5f542 Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
Ronald Oussoren
81af68ee61 Remove references to platform 'mac'
The 'mac' platform (that is, os.name == 'mac') was used for the MacOS 9 port,
which is no longer supported (as of Python 2.4 IIRC).
2008-05-12 11:24:33 +00:00
Alexandre Vassalotti
9510e4a9f8 Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
2008-05-11 08:25:28 +00:00
Gregory P. Smith
8e4997390c fix issue2707 - os.walk docstring example correctness typo. 2008-05-06 07:05:18 +00:00
Facundo Batista
2ffd780858 Moved the errno import from inside the functions to the
module level.  Fixes issue 1755179.
2007-11-27 18:50:12 +00:00
Georg Brandl
dd1a8466f5 Fix new pop() method on os.environ on ignorecase-platforms. 2007-10-26 18:30:41 +00:00
Georg Brandl
1a94ec2664 Bug #1287: make os.environ.pop() work as expected. 2007-10-24 21:40:38 +00:00
Georg Brandl
4a21268a74 Patch #1181: add os.environ.clear() method. 2007-09-20 17:57:59 +00:00
Neal Norwitz
42dd86b8e2 Deprecate os.popen* and popen2 module in favor of the subprocess module. 2007-05-11 06:57:33 +00:00
Georg Brandl
cae9f3d916 New test for rev. 54407 which only uses directories under TESTFN. 2007-03-21 09:10:29 +00:00
Neal Norwitz
c990f6454f Try backing out 54407 to see if it corrects the problems on the Windows
buildbots.  This rev was backported, so we will need to keep both branches
in sync, pending the outcome of the test after this checkin.
2007-03-20 05:23:09 +00:00