Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #18798: fix typo in test_fcntl. Patch by Vajrasky Kok. | Ezio Melotti | 2013-08-23 | 1 | -1/+1 |
| | |||||
* | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+21 |
| | | | | | | | when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | Issue #12821: Fix test_fcntl failures on OpenBSD 5. | Charles-François Natali | 2011-08-23 | 1 | -6/+2 |
| | |||||
* | remove the svn:executable property from files that don't have shebang lines | Benjamin Peterson | 2010-03-05 | 1 | -0/+0 |
| | |||||
* | Issue #1309352: fcntl now converts its third arguments to a C `long` rather | Antoine Pitrou | 2009-05-24 | 1 | -1/+16 |
| | | | | | than an int, which makes some operations possible under 64-bit Linux (e.g. DN_MULTISHOT with F_NOTIFY). | ||||
* | A few more test skips via import_module, and change import_module to | R. David Murray | 2009-03-31 | 1 | -2/+6 |
| | | | | | | | return the error message produced by importlib, so that if an import in the package whose import is being wrapped is what failed the skip message will contain the name of that module instead of the name of the wrapped module. Also fixed formatting of some previous comments. | ||||
* | Attempt to fix the Solaris Sparc 10 buildbot. It was failing with an invalid | Gregory P. Smith | 2008-03-20 | 1 | -28/+1 |
| | | | | | | | | argument error on ioctl. This was caused by the added test_fcntl ioctl test that hard coded 0 as the fd to use. Without a terminal, this fails on solaris. (it passed from the command line on sol 10, both 32 and 64 bit) Also, test_ioctl exists so I moved the test into there where it belongs. | ||||
* | Prevent ioctl op codes from being sign extended from int to unsigned long | Gregory P. Smith | 2008-03-19 | 1 | -1/+28 |
| | | | | | | | | | | | when used on platforms that actually define ioctl as taking an unsigned long. (the BSDs and OS X / Darwin) Adds a unittest for fcntl.ioctl that tests what happens with both positive and negative numbers. This was done because of issue1471 but I'm not able to reproduce -that- problem in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit. | ||||
* | Convert test_fcntl to unittest. | Brett Cannon | 2008-03-13 | 1 | -63/+83 |
| | | | | Closes issue #2055. Thanks Giampaolo Rodola. | ||||
* | Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet) | Hye-Shik Chang | 2007-10-28 | 1 | -1/+1 |
| | |||||
* | Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34]. | Neal Norwitz | 2006-09-05 | 1 | -1/+1 |
| | |||||
* | Make test_fcntl aware of netbsd3. | Georg Brandl | 2006-06-21 | 1 | -3/+4 |
| | |||||
* | Bug #1101233: fix test_fcntl on netbsd2 platform. | Georg Brandl | 2006-02-20 | 1 | -1/+1 |
| | |||||
* | Add support for FreeBSD 7. | Hye-Shik Chang | 2005-07-17 | 1 | -0/+1 |
| | |||||
* | Fix testcase for 64bit BSD systems: long is 8 bytes for those systems | Hye-Shik Chang | 2005-04-04 | 1 | -2/+8 |
| | | | | so there's no need to pad after off_t members. And a small typo fix. | ||||
* | Add support for FreeBSD 6. | Hye-Shik Chang | 2004-08-18 | 1 | -1/+1 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -2/+2 |
| | | | | From SF patch #852334. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Patch #488073: AtheOS port. | Martin v. Löwis | 2002-06-11 | 1 | -0/+3 |
| | |||||
* | SF 554663. Add OpenBSD3. Bugfix candidate if anyone cares. | Guido van Rossum | 2002-05-13 | 1 | -1/+1 |
| | |||||
* | OS/2 EMX port Library and regression test changes: | Andrew MacIntyre | 2002-02-24 | 1 | -7/+12 |
| | | | | | | | | | | | Lib/ os.py os2emxpath.py // added - OS/2 EMX specific path manipulation routines popen2.py site.py Lib/test/ test_fcntl.py test_longexp.py | ||||
* | sys.platform on Mac OS X is now "darwin", without any version number appended. | Jack Jansen | 2001-12-05 | 1 | -1/+1 |
| | | | | This should probably go into NEWS (who's responsible for that?). | ||||
* | Assume a 64-bit start and len if O_LARGEFILE is available. | Martin v. Löwis | 2001-10-18 | 1 | -1/+8 |
| | |||||
* | Update the tests for the fcntl module to check passing in file objects, | Fred Drake | 2001-05-09 | 1 | -11/+21 |
| | | | | and using the constants defined there instead of FCNTL. | ||||
* | Unixware 7 support by Billy G. Allie (SF patch 413011) | Guido van Rossum | 2001-04-11 | 1 | -1/+1 |
| | |||||
* | Based on info from Jens@digicool.com, add 'darwin1' to the list of | Guido van Rossum | 2001-03-28 | 1 | -1/+1 |
| | | | | BSD-style OS'es. Makes sense, really. | ||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 |
| | | | | 'verify' iff it's used by a test module... | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -2/+2 |
| | |||||
* | Use test_support.TESTFN as the temporary filename. | Fred Drake | 2000-10-18 | 1 | -3/+3 |
| | | | | | | Fix a minor stylistic nit. This closes SourceForge bug #117032. | ||||
* | Anonymous patch to add Darwin 1.2 to the list of BSDs. | Guido van Rossum | 2000-10-12 | 1 | -1/+1 |
| | | | | | | | Let's hope this is correct (I'm not sure why the sys.platform would be 'Darwin1.2' rather than 'darwin1', which seems to be the convention). Someone with Darwin please test this! | ||||
* | HP-UX is another one of those platforms using an alternative lock | Guido van Rossum | 2000-09-26 | 1 | -1/+1 |
| | | | | structure (same as AIX). | ||||
* | Add support for FreeBSD-[45]. | Guido van Rossum | 2000-08-29 | 1 | -1/+1 |
| | | | | -- tg@FreeBSD.org | ||||
* | Daniel Neri: OpenBSD is just as BSD'ish as the other BSD's ;-) | Guido van Rossum | 1999-04-19 | 1 | -1/+2 |
| | |||||
* | According to Jeffrey Honig, bsd/os 4.0 should be added to the list. | Guido van Rossum | 1999-02-23 | 1 | -1/+3 |
| | |||||
* | Guess what -- BSD has bifurcated again. :-( | Guido van Rossum | 1998-08-11 | 1 | -1/+1 |
| | |||||
* | Support for netbsd1 and freebsd3, after suggestions by Anders Andersen | Guido van Rossum | 1997-12-02 | 1 | -2/+7 |
| | | | | and Jacques Vidrine. | ||||
* | Finally found a wat to set a file nonblocking that works on Irix, | Guido van Rossum | 1997-05-12 | 1 | -2/+2 |
| | | | | Solaris and Linux: use os.O_NONBLOCK. | ||||
* | Fix the NDELAY test; avoid outputting binary garbage. | Guido van Rossum | 1997-05-09 | 1 | -3/+3 |
| | |||||
* | Many scripts, but small changes. Update the way the scripts obtain the | Roger E. Masse | 1996-12-20 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates. | ||||
* | Added a test script for the fcntl C module. | Roger E. Masse | 1996-12-17 | 1 | -0/+31 |