<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/mmapmodule.c, branch v2.1.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/mmapmodule.c?h=v2.1.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/mmapmodule.c?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-07-16T15:45:20Z</updated>
<entry>
<title>Fix SF #441664: Python crash on del of a slice of a mmap</title>
<updated>2001-07-16T15:45:20Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-07-16T15:45:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8238516a2eadc8ec1e6a55fdc3c0664bb97349d'/>
<id>urn:sha1:b8238516a2eadc8ec1e6a55fdc3c0664bb97349d</id>
<content type='text'>
Check for slice/item deletion, which calls slice/item assignment with a NULL
value, and raise a TypeError instead of coredumping. Bugreport and suggested
fix by Alex Martelli.
</content>
</entry>
<entry>
<title>Net result of Tim's checkins 2.28 through 2.31:</title>
<updated>2001-07-12T12:43:11Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-07-12T12:43:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=326191260150c36cb058d7e95e90b2f8323c6cc5'/>
<id>urn:sha1:326191260150c36cb058d7e95e90b2f8323c6cc5</id>
<content type='text'>
- SF but #417587: compiler warnings compiling 2.1.
  Repaired *some* of the SGI compiler warnings Sjoerd Mullender
  reported.

- Minor fiddling related to
  SF patch 416251 2.1c1 mmapmodule: unused vrbl cleanup

- Fix the .find() method for memory maps.

  1) it didn't obey the "start" parameter (and when it does, we must
     validate the value)
  2) the return value needs to be an absolute index, rather than
     relative to some arbitrary point in the file

  (checking CVS, it appears this method never worked; these changes
   bring it into line with typical .find() behavior)


- Fix new compiler warnings.  Also boost "start" from (C) int to long and
  return a (C) long:  PyArg_ParseTuple and Py_BuildValue may not let
  us get at the size_t we really want, but C int is clearly too small
  for a 64-bit box, and both the start parameter and the return value
  should work for large mapped files even on 32-bit boxes.  The code
  really needs to be rethought from scratch (not by me, though ...).
</content>
</entry>
<entry>
<title>SF bug 128713:  type(mmap_object) blew up on Linux.</title>
<updated>2001-01-14T05:05:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-14T05:05:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2caf8df86802fb24a23ed2cf57674618b5a8f674'/>
<id>urn:sha1:2caf8df86802fb24a23ed2cf57674618b5a8f674</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Part of SF patch #102409 by jlt63 to support building these modules</title>
<updated>2001-01-10T21:03:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-10T21:03:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a53019b0d4780b270c0c8027e0e66b7183fb661'/>
<id>urn:sha1:5a53019b0d4780b270c0c8027e0e66b7183fb661</id>
<content type='text'>
under CYGWIN as shared libraries (DLLs).
</content>
</entry>
<entry>
<title>Windows mmap should (as the docs probably &lt;wink&gt; say) create a mapping</title>
<updated>2001-01-10T05:42:18Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-10T05:42:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d9f9dcf67c4c044f27cbbc7d3852951869dee53'/>
<id>urn:sha1:0d9f9dcf67c4c044f27cbbc7d3852951869dee53</id>
<content type='text'>
without a name when the optional tagname arg isn't specified.  Was
actually creating a mapping with an empty string as the name.
</content>
</entry>
<entry>
<title>my_getpagesize():  New function; returns the size of a page of memory.</title>
<updated>2000-10-01T17:50:46Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-10-01T17:50:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=145f96eb36a0ec8cb9a7f5926f94fbbcf2beebcf'/>
<id>urn:sha1:145f96eb36a0ec8cb9a7f5926f94fbbcf2beebcf</id>
<content type='text'>
                   Versions are defined for Windows and Unix; the Unix
                   flavor uses sysconf() to get the page size; this avoids
                   the use of getpagesize(), which is deprecated and
                   requires an additional library on some platforms
                   (specifically, Reliant UNIX).

This partially closes SourceForge bug #113797.
</content>
</entry>
<entry>
<title>For the benefit of SunOS 4.1.4, define MS_SYNC as 0 when it's</title>
<updated>2000-09-25T13:16:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-25T13:16:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b36e6bde1f44d5b792f9276ee6a80985dda843d'/>
<id>urn:sha1:4b36e6bde1f44d5b792f9276ee6a80985dda843d</id>
<content type='text'>
undefined.  ccording to MvL, this is safe: the MS_SYNC flag means that
msync() returns when all I/O operations are scheduled; without it, it
waits until they are complete, which is acceptable behavior.
</content>
</entry>
<entry>
<title>More Windows changes.</title>
<updated>2000-07-30T02:46:26Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2000-07-30T02:46:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=071864acb2ed0966fb3503e790a0e3faa15f3795'/>
<id>urn:sha1:071864acb2ed0966fb3503e790a0e3faa15f3795</id>
<content type='text'>
* After discussion with Trent, all INT_PTR references have been removed in favour of the HANDLE it should always have been.  Trent can see no 64bit issues here.

* In this process, I noticed that the close operation was dangerous, in that we could end up passing bogus results to the Win32 API.  These result of the API functions passed the bogus values were never (and still are not) checked, but this is closer to "the right thing" (tm) than before.

Tested on Windows and Linux.
</content>
</entry>
<entry>
<title>Fixes for Windows (but also tested on Linux).  Test suite now completes, and this module should not leak in the face of errors.</title>
<updated>2000-07-30T02:22:43Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2000-07-30T02:22:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2cbed005b6303fa999076abd34e9c6e58d483d76'/>
<id>urn:sha1:2cbed005b6303fa999076abd34e9c6e58d483d76</id>
<content type='text'>
Checkin that replaces the INT_PTR types with HANDLEs still TBD (but as that is a "spelling" patch, rather than a functional one, I will commit it seperately.
</content>
</entry>
<entry>
<title>Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either</title>
<updated>2000-07-16T12:04:32Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-16T12:04:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e47402264cf87b9bbb61fc9ff610af08add7c7b'/>
<id>urn:sha1:7e47402264cf87b9bbb61fc9ff610af08add7c7b</id>
<content type='text'>
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -&gt; "Didn't" and "Didnt" -&gt; "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
</content>
</entry>
</feed>
