This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fix cPickle.c for 64-bit platforms (mainly Win64)
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, tmick
Priority: normal Keywords: patch

Created on 2000-06-07 03:49 by tmick, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
None tmick, 2000-06-07 03:49 None
Messages (6)
msg32793 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 03:49
 
msg32794 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-06-27 15:12
Should take this up with JimF?
msg32795 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-06-28 22:24
Jim can read it in the checkin messages like everyone else. :-)
msg32796 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 03:58
I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.
msg32797 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 04:01
This patch fixes cPickle.c for 64-bit platforms.
- The false assumption sizeof(long) == size(void*) exists where
  PyInt_FromLong is used to represent a pointer. The safe Python call for
  this is PyLong_FromVoidPtr. (On platforms where the above assumption *is*
  true a PyInt is returned as before so there is no effective change.)
- use size_t instead of int for some varaibles
msg32798 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-27 16:06
Shall I approach Jim F(ulton?) with the patch? I can wave your name around like a big stick. :) Or maybe you have already done so.
History
Date User Action Args
2022-04-10 16:02:01adminsetgithub: 32448
2000-06-07 03:49:50tmickcreate