Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵ | Georg Brandl | 2010-12-28 | 1 | -3/+2 |
| | | | | Eric in #1772833. | ||||
* | Fix #9333. The symlink function is always available now, raising OSError | Brian Curtin | 2010-12-28 | 1 | -19/+13 |
| | | | | when the user doesn't hold the symbolic link privilege rather than hiding it. | ||||
* | Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 | Victor Stinner | 2010-12-28 | 1 | -21/+6 |
| | | | | | | | * Replace "bytes" by "bytes object" in struct error messages * Document the API change in What's new in Python 3.2 * Fix test_wave * Remove also ugly implicit conversions in test_struct | ||||
* | Issue #10254: Fixed a crash and a regression introduced by the ↵ | Alexander Belopolsky | 2010-12-23 | 1 | -4/+9 |
| | | | | implementation of PRI 29. | ||||
* | fix a compiler warning about err_msg potentially being used uninitialized. | Gregory P. Smith | 2010-12-22 | 1 | -1/+1 |
| | |||||
* | Issue #10750: The `raw` attribute of buffered IO objects is now read-only. | Antoine Pitrou | 2010-12-21 | 1 | -3/+3 |
| | |||||
* | #9907: call rl_initialize early when using editline on OSX | R. David Murray | 2010-12-18 | 1 | -2/+15 |
| | | | | | | | | | | editline rl_initialize apparently discards any mappings done before it is called, which makes tab revert to file completion instead of inserting a tab. So now on OSX we call rl_initialize first if we are using readline, and then re-read the users .editrc (if any) afterward so they can still override our defaults. Patch by Ned Deily, modified by Ronald Oussoren. | ||||
* | Issue #8844: Regular and recursive lock acquisitions can now be interrupted | Antoine Pitrou | 2010-12-15 | 1 | -13/+67 |
| | | | | by signals on platforms using pthreads. Patch by Reid Kleckner. | ||||
* | Issue 10667: Fast path for collections.Counter | Raymond Hettinger | 2010-12-15 | 1 | -1/+67 |
| | |||||
* | #775964: skip YP/NIS entries instead of failing the test | R. David Murray | 2010-12-14 | 1 | -1/+3 |
| | | | | | | | Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia. | ||||
* | Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest. | Gregory P. Smith | 2010-12-14 | 1 | -1/+1 |
| | | | | | | | | Issue #7213: Change the close_fds default on Windows to better match the new default on POSIX. True when possible (False if stdin/stdout/stderr are supplied). Update the documentation to reflect all of the above. | ||||
* | #10699: fix docstring for tzset: it does not take a parameter | R. David Murray | 2010-12-14 | 1 | -1/+1 |
| | | | | Thanks to Garrett Cooper for the fix. | ||||
* | issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from | Gregory P. Smith | 2010-12-13 | 1 | -0/+44 |
| | | | | | the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors. | ||||
* | Reverted accidental commit (from r87159) | Alexander Belopolsky | 2010-12-10 | 1 | -12/+22 |
| | |||||
* | Updated UCD version and unicode.org links to Unicode 6.0.0 | Alexander Belopolsky | 2010-12-10 | 1 | -22/+12 |
| | |||||
* | Should call Py_INCREF for Py_None (Modules/_ssl.c: PySSL_cipher) | Hirokazu Yamamoto | 2010-12-09 | 1 | -2/+4 |
| | |||||
* | Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵ | Alexander Belopolsky | 2010-12-08 | 8 | -77/+115 |
| | | | | NULL | ||||
* | Issue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows) | Hirokazu Yamamoto | 2010-12-07 | 1 | -4/+4 |
| | |||||
* | Should use posix_error here. | Hirokazu Yamamoto | 2010-12-05 | 1 | -5/+3 |
| | |||||
* | Sorry, I had introduced tab in source code. | Hirokazu Yamamoto | 2010-12-05 | 1 | -1/+1 |
| | |||||
* | issue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller | Gregory P. Smith | 2010-12-04 | 1 | -9/+33 |
| | | | | to list exactly which file descriptors should be kept open. | ||||
* | #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵ | Georg Brandl | 2010-12-04 | 1 | -9/+17 |
| | | | | the code follows unicode_repeat. | ||||
* | #1772833: add -q command line option. | Georg Brandl | 2010-12-04 | 1 | -3/+10 |
| | |||||
* | Fixed several corner case issues on os.stat/os.lstat related to reparse | Hirokazu Yamamoto | 2010-12-04 | 1 | -93/+110 |
| | | | | | | | points. (Windows) - Set S_IEXEC via final path name not link name. - Set S_IFLNK also via FindFirstFile (when CreateFile fails) | ||||
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 | 1 | -0/+47 |
| | |||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 8 | -13/+296 |
| | |||||
* | Issue #10272: The ssl module now raises socket.timeout instead of a generic | Antoine Pitrou | 2010-12-03 | 3 | -7/+10 |
| | | | | SSLError on socket timeouts. | ||||
* | Issue #10478: Reentrant calls inside buffered IO objects (for example by | Antoine Pitrou | 2010-12-03 | 1 | -19/+52 |
| | | | | | way of a signal handler) now raise a RuntimeError instead of freezing the current process. | ||||
* | Simplify the signature for itertools.accumulate() to match numpy. Handle ↵ | Raymond Hettinger | 2010-12-03 | 1 | -23/+15 |
| | | | | one item iterable the same way as min()/max(). | ||||
* | Fix #9333. Expose os.symlink on Windows only when usable. | Brian Curtin | 2010-12-02 | 1 | -8/+55 |
| | | | | | | | | | | | | | | | | In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege is an account privilege that is required to be held by the user. Not only must the privilege be enabled for the account, the activated privileges for the currently running application must be adjusted to enable the requested privilege. Rather than exposing an additional function to be called prior to the user's first os.symlink call, we handle the AdjustTokenPrivileges Windows API call internally and only expose os.symlink when the privilege escalation was successful. Due to the change of only exposing os.symlink when it's available, we can go back to the original test skipping methods of checking via `hasattr`. | ||||
* | Add itertools.accumulate(). | Raymond Hettinger | 2010-12-01 | 1 | -0/+142 |
| | |||||
* | Issue #4113: Added custom __repr__ method to functools.partial. | Alexander Belopolsky | 2010-12-01 | 1 | -1/+43 |
| | |||||
* | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 6 | -7/+0 |
| | |||||
* | Include structseq.h in Python.h, and remove now-redundant includes in ↵ | Georg Brandl | 2010-11-30 | 8 | -8/+0 |
| | | | | individual sources. | ||||
* | Issue #10323: Predictable final state for slice(). | Raymond Hettinger | 2010-11-30 | 1 | -3/+4 |
| | |||||
* | Fix for #8879. | Brian Curtin | 2010-11-28 | 1 | -2/+18 |
| | | | | | | | Amaury noticed that this was originally written in a way that would fail on names that can't be encoded with the mbcs codec. Restructured the function to work with wide names first then narrow names second, to fall in line with the way other functions are written in posixmodule.c. | ||||
* | Windows: fix leak in posix_listdir. | Stefan Krah | 2010-11-27 | 1 | -0/+1 |
| | |||||
* | Fix additional leaks. | Stefan Krah | 2010-11-27 | 1 | -0/+2 |
| | |||||
* | Further indentation cleanup. | Stefan Krah | 2010-11-26 | 1 | -49/+49 |
| | |||||
* | Issue #10383: Fix two leaks. | Stefan Krah | 2010-11-26 | 1 | -7/+11 |
| | |||||
* | Fix compilation warnings seen on Windows. | Amaury Forgeot d'Arc | 2010-11-25 | 1 | -7/+7 |
| | | | | 'typecode' is always an ascii letter, there was no data lost. | ||||
* | Fix #8879. Add os.link support to Windows. | Brian Curtin | 2010-11-24 | 1 | -0/+32 |
| | | | | | | | | Additionally, the st_ino attribute of stat structures was not being filled in. This was left out of the fix to #10027 and was noticed due to test_tarfile failing when applying the patch for this issue. An earlier version of the fix to #10027 included st_ino, but that attribute got lost in the shuffle of a few review/fix cycles. All tests pass. | ||||
* | ifdef a Windows specific section. | Brian Curtin | 2010-11-24 | 1 | -0/+2 |
| | |||||
* | Fix #10027. st_nlink not set on Windows calls to os.stat/lstat. | Brian Curtin | 2010-11-24 | 1 | -302/+279 |
| | | | | | | Note: This patch has no tests because as of now there is no way to create links. #8879 adds that and the tests will go in there. I've manually observed that existing links on my system function properly with this. | ||||
* | Issue #10459: Update CJK character names to Unicode 6.0. | Martin v. Löwis | 2010-11-22 | 1 | -4/+7 |
| | |||||
* | Issue #8078: Add constants for higher baud rates in the termios module. | Antoine Pitrou | 2010-11-20 | 1 | -0/+37 |
| | | | | Patch by Rodolpho Eckhardt. | ||||
* | correct logic when pos is after the string #10467 | Benjamin Peterson | 2010-11-20 | 1 | -3/+8 |
| | |||||
* | Issue #10443: Add the SSLContext.set_default_verify_paths() method. | Antoine Pitrou | 2010-11-17 | 1 | -0/+12 |
| | |||||
* | Issue #10440: Support RUSAGE_THREAD as a constant in the resource module. | Antoine Pitrou | 2010-11-17 | 1 | -0/+4 |
| | | | | Patch by Robert Collins. | ||||
* | Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static. | Matthias Klose | 2010-11-16 | 1 | -1/+1 |
| |