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.
Created on 2008年05月14日 20:09 by brett.cannon, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| gestalt_is_back.patch | benjamin.peterson, 2008年05月15日 21:32 | |||
| gestalt_is_back2.patch | benjamin.peterson, 2008年05月18日 20:54 | |||
| Messages (9) | |||
|---|---|---|---|
| msg66828 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月14日 20:09 | |
gestalt was removed as part of the stdlib cleanup for Mac code. But it turns out that gestalt is one of those modules that is just needed. Either the original version needs to be added back in or a ctypes version needs to be implemented. Either way, something to get system info needs to be added back into the stdlib (and probably go into plat-darwin). |
|||
| msg66831 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月14日 20:27 | |
Actually, the plat-darwin comment is not right if the original C version is kept since that would just end up in Modules. |
|||
| msg66832 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年05月14日 20:37 | |
Does it have to be public? How about _gestalt? |
|||
| msg66836 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月14日 23:10 | |
On Wed, May 14, 2008 at 1:37 PM, Benjamin Peterson <report@bugs.python.org> wrote: > > Benjamin Peterson <musiccomposition@gmail.com> added the comment: > > Does it have to be public? How about _gestalt? > That's fine by me. If someone really cares enough they can document it themselves. |
|||
| msg66837 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年05月15日 01:01 | |
I feel kinda bad about removing the module without noting how it was used in platform.py, so I'll deal with this. |
|||
| msg66838 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年05月15日 01:02 | |
On Wed, May 14, 2008 at 6:01 PM, Benjamin Peterson <report@bugs.python.org> wrote: > > Benjamin Peterson <musiccomposition@gmail.com> added the comment: > > I feel kinda bad about removing the module without noting how it was > used in platform.py, so I'll deal with this. > While I am not going to stop you dealing with it, you shouldn't feel bad. It would have been best had a test case in test_platform picked this up (if you can it would be great to toss a test in). |
|||
| msg66878 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年05月15日 21:32 | |
Here's a patch. I moved gestalt to Modules and renamed it _gestalt. I inlined the few lines of pymactoolbox that I needed, so that doesn't have to come back. |
|||
| msg67076 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年05月19日 21:03 | |
This is just a reminder to myself that when this is checked in, I need to unblock and merge r63460 and r63464. |
|||
| msg67512 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年05月29日 21:25 | |
_gestalt was added in 63795. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:34 | admin | set | github: 47103 |
| 2008年05月29日 21:27:20 | benjamin.peterson | unlink | issue2775 dependencies |
| 2008年05月29日 21:25:47 | benjamin.peterson | set | status: open -> closed resolution: fixed messages: + msg67512 |
| 2008年05月19日 21:03:40 | benjamin.peterson | set | messages: + msg67076 |
| 2008年05月18日 20:54:27 | benjamin.peterson | set | files: + gestalt_is_back2.patch |
| 2008年05月15日 21:32:33 | benjamin.peterson | set | files:
+ gestalt_is_back.patch keywords: + patch messages: + msg66878 |
| 2008年05月15日 01:02:51 | brett.cannon | set | messages: + msg66838 |
| 2008年05月15日 01:01:19 | benjamin.peterson | set | assignee: benjamin.peterson messages: + msg66837 |
| 2008年05月14日 23:10:20 | brett.cannon | set | messages: + msg66836 |
| 2008年05月14日 20:37:33 | benjamin.peterson | set | nosy:
+ benjamin.peterson messages: + msg66832 |
| 2008年05月14日 20:27:19 | brett.cannon | set | messages: + msg66831 |
| 2008年05月14日 20:10:02 | brett.cannon | link | issue2775 dependencies |
| 2008年05月14日 20:09:37 | brett.cannon | create | |