forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbeff4bb
committed
Teach configure --with-python to report the Python version number.
We already do this for Perl and some other interesting tools, so itseems sensible to do it for Python as well, especially since thesub-release number is never determinable from other configure outputand even the major/minor numbers may not be clear without excavationin config.log.While at it, get rid of the code's assumption that both the major andminor numbers contain exactly one digit. That will foreseeably bebroken by Python 3.10 in perhaps four or five years. That's far enoughout that we probably don't need to back-patch this.Discussion:https://postgr.es/m/2186.1522681145@sss.pgh.pa.us1 parent2764d5d commitbeff4bb
2 files changed
+25
-16
lines changedLines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 |
| |
26 | 37 |
| |
27 | 38 |
| |
| |||
30 | 41 |
| |
31 | 42 |
| |
32 | 43 |
| |
| 44 | + | |
33 | 45 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 | 46 |
| |
38 | 47 |
| |
39 | 48 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 | 49 |
| |
46 | 50 |
| |
47 | 51 |
| |
|
Lines changed: 13 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9516 | 9516 |
| |
9517 | 9517 |
| |
9518 | 9518 |
| |
| 9519 | + | |
| 9520 | + | |
| 9521 | + | |
| 9522 | + | |
| 9523 | + | |
| 9524 | + | |
| 9525 | + | |
| 9526 | + | |
| 9527 | + | |
| 9528 | + | |
| 9529 | + | |
| 9530 | + | |
9519 | 9531 |
| |
9520 | 9532 |
| |
9521 | 9533 |
| |
| |||
9527 | 9539 |
| |
9528 | 9540 |
| |
9529 | 9541 |
| |
| 9542 | + | |
9530 | 9543 |
| |
9531 | 9544 |
| |
9532 |
| - | |
9533 |
| - | |
9534 |
| - | |
9535 | 9545 |
| |
9536 | 9546 |
| |
9537 | 9547 |
| |
9538 | 9548 |
| |
9539 |
| - | |
9540 |
| - | |
9541 |
| - | |
9542 |
| - | |
9543 |
| - | |
9544 | 9549 |
| |
9545 | 9550 |
| |
9546 | 9551 |
| |
|
0 commit comments
Comments
(0)