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 2010年02月09日 18:56 by aahz, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue-7895-platform.txt | ronaldoussoren, 2010年07月11日 10:16 | |||
| Messages (3) | |||
|---|---|---|---|
| msg99136 - (view) | Author: Aahz (aahz) * (Python triager) | Date: 2010年02月09日 18:56 | |
On OSX 10.6/Snow Leopard, using platform.mac_ver() in a subprocess created with fork() but not calling exec() will cause a crash with USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER You may need to be also running in GUI mode. Ronald Oussouren says that you can get the same info from /System/Library/CoreServices/SystemVersion.plist |
|||
| msg109982 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2010年07月11日 10:16 | |
I've attached a patch for python 3.2 that uses plistlib to read the XML file. This should also work with python 2.7. I want to commit this in the near future, but don't have time right now to apply the patch to all 4 active branches and do testing. (The patch also includes a unittests that checks that mac_ver doesn't crash) |
|||
| msg111303 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2010年07月23日 12:46 | |
Fixed in r83075 (3.2), r83084 (3.1), r83085 (2.7), r83086 (2.6) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:57 | admin | set | github: 52143 |
| 2010年07月23日 12:46:07 | ronaldoussoren | set | status: open -> closed messages: + msg111303 stage: patch review -> resolved |
| 2010年07月23日 10:15:08 | ronaldoussoren | set | keywords: + easy |
| 2010年07月11日 10:16:39 | ronaldoussoren | set | files:
+ issue-7895-platform.txt resolution: accepted messages: + msg109982 stage: test needed -> patch review |
| 2010年02月09日 22:33:53 | ronaldoussoren | set | versions: + Python 2.6, Python 3.1, Python 2.7, Python 3.2 |
| 2010年02月09日 20:41:06 | flox | set | priority: normal title: Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER -> Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER |
| 2010年02月09日 18:56:35 | aahz | create | |