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 2012年08月20日 00:46 by Benno.Rice, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| warning-silencing.patch | Benno.Rice, 2012年08月20日 00:46 | review | ||
| redefine-init-macros.txt | ronaldoussoren, 2013年02月05日 11:08 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg168609 - (view) | Author: Benno Rice (Benno.Rice) | Date: 2012年08月20日 00:46 | |
This patch silences a bunch of unused value warnings emitted by clang when building on Mac OS X 10.8. |
|||
| msg168647 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2012年08月20日 11:49 | |
Patch looks good to me. I've added 3.3 to the list of python versions because it might be worthwhile to apply this to 3.3 as well (after 3.3.0 is released). |
|||
| msg181428 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2013年02月05日 11:08 | |
This is an alternate patch, it replaces the PyObject_INIT and PyObject_INIT_VAR macros by inline functions with macro wrappers for compatibility (the macros are used to suppress type warnings). I don't particularly like my patch, but it might be a better way to ensure that the warning stays away and also fixes the warning in 3th-party code. BTW. I wouldn't mind feedback of other core developers on either patch. |
|||
| msg268977 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2016年06月21日 09:25 | |
Revisions 12e53abec5d0 and 0c7fff783b32 look like they do the same thing as Benno’s patch. Perhaps we can close this? |
|||
| msg347909 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2019年07月14日 12:57 | |
I'm closing this as out of date. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:34 | admin | set | github: 59935 |
| 2019年07月14日 12:57:30 | ronaldoussoren | set | status: open -> closed messages: + msg347909 stage: patch review -> resolved |
| 2016年06月21日 09:25:33 | martin.panter | set | resolution: out of date messages: + msg268977 nosy: + martin.panter |
| 2014年07月26日 08:58:07 | ronaldoussoren | set | versions: + Python 3.5, - Python 3.3 |
| 2013年02月16日 17:24:02 | esc24 | set | nosy:
+ esc24 |
| 2013年02月05日 11:08:41 | ronaldoussoren | set | files:
+ redefine-init-macros.txt messages: + msg181428 |
| 2012年08月20日 11:49:29 | ronaldoussoren | set | keywords:
+ needs review messages: + msg168647 versions: + Python 3.3 |
| 2012年08月20日 01:37:17 | ned.deily | set | nosy:
+ ned.deily stage: patch review |
| 2012年08月20日 00:46:27 | Benno.Rice | create | |