Print the compiler customizations to stdout. Parameters ---------- None Returns ------- None Notes ----- Printing is only done if the distutils log threshold is < 2.
(self)
| 448 | return '\n'.join(lines) |
| 449 | |
| 450 | def CCompiler_show_customization(self): |
| 451 | """ |
| 452 | Print the compiler customizations to stdout. |
| 453 | |
| 454 | Parameters |
| 455 | ---------- |
| 456 | None |
| 457 | |
| 458 | Returns |
| 459 | ------- |
| 460 | None |
| 461 | |
| 462 | Notes |
| 463 | ----- |
| 464 | Printing is only done if the distutils log threshold is < 2. |
| 465 | |
| 466 | """ |
| 467 | try: |
| 468 | self.get_version() |
| 469 | except Exception: |
| 470 | pass |
| 471 | if log._global_log.threshold<2: |
| 472 | print('*'*80) |
| 473 | print(self.__class__) |
| 474 | print(_compiler_to_string(self)) |
| 475 | print('*'*80) |
| 476 | |
| 477 | replace_method(CCompiler, 'show_customization', CCompiler_show_customization) |
| 478 |
nothing calls this directly
no test coverage detected