David CARLIER
7be00ee64a
bpo-42960: Add resource.RLIMIT_KQUEUES constant from FreeBSD (GH-24251)
2021-02-18 16:26:20 +01:00
Christian Heimes
6d9ec8bbfa
bpo-1635741: Port resource extension module to module state (GH-23462)
...
Signed-off-by: Christian Heimes <christian@python.org >
2020-12-23 08:55:11 +01:00
Victor Stinner
5776663675
bpo-42029: Remove IRIX code (GH-23023)
...
IRIX code was slowy removed in Python 2.4 (--with-sgi-dl), Python 3.3
(Irix threads), and Python 3.7.
2020-10-29 15:16:23 +01:00
Hai Shi
45f7008a66
bpo-1635741: Port resource extension module to multiphase initialization (PEP 489) (GH-19252)
...
Fix also reference leaks on error.
2020-04-02 14:35:08 +02:00
Saiyang Gou
7514f4f625
bpo-39184: Add audit events to functions in fcntl, msvcrt, os, resource, shutil, signal, syslog (GH-18407)
2020-02-13 07:47:42 +00:00
Benjamin Peterson
ea13740a37
bpo-34674: Assume unistd.h exists on Unix. (GH-9290)
2018-09-13 21:57:31 -07:00
Serhiy Storchaka
1989763f0d
bpo-20185: Convert the resource moduel to Argument Clinic. ( #545 )
...
Based on patch by Vajrasky Kok.
2017-03-12 13:08:30 +02:00
Serhiy Storchaka
879199ba11
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:05:39 +02:00
Serhiy Storchaka
b94eef2ae3
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:04:15 +02:00
Benjamin Peterson
af580dff4a
replace PY_LONG_LONG with long long
2016-09-06 10:46:49 -07:00
Benjamin Peterson
ed4aa83ff7
require a long long data type ( closes #27961 )
2016-09-05 17:44:18 -07:00
Christian Heimes
5bb414d176
Issue #19343 : Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
2013-12-08 14:35:55 +01:00
Christian Heimes
b7bd5df809
Issue #16595 : Add prlimit() to resource module
...
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Christian Heimes
6fc79bf813
Issue #19324 : Expose Linux-specific constants in resource module
2013-10-22 11:09:27 +02:00
Victor Stinner
1c8f059019
Issue #18520 : Add a new PyStructSequence_InitType2() function, same than
...
PyStructSequence_InitType() except that it has a return value (0 on success,
-1 on error).
* PyStructSequence_InitType2() now raises MemoryError on memory allocation failure
* Fix also some calls to PyDict_SetItemString(): handle error
2013-07-22 22:24:54 +02:00
Charles-Francois Natali
74ca886788
Issue #17917 : Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
...
when applicable.
2013-05-20 19:13:19 +02:00
Serhiy Storchaka
1d0bb9c8f9
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:54:04 +02:00
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Benjamin Peterson
2122cf717f
alias resource.error to OSError
2011-12-10 17:50:22 -05:00
Georg Brandl
71c23d4473
Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
2010-11-30 09:30:54 +00:00
Antoine Pitrou
b6d4ee5361
Issue #10440 : Support RUSAGE_THREAD as a constant in the resource module.
...
Patch by Robert Collins.
2010-11-17 16:19:35 +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
Mark Dickinson
bb6721474c
Clean up some int/long detection remnants in resource module.
2009-05-08 21:28:46 +00:00
Mark Dickinson
d8e821acaa
Merged revisions 72479 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72479 | mark.dickinson | 2009-05-08 21:58:08 +0100 (Fri, 08 May 2009) | 3 lines
Issue #5933 : Fix gcc -Wextra compiler warnings (and remove some
trailing whitespace).
........
2009-05-08 21:01:57 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00