Skip to content

Commit c7ac877

Browse files
authored
GH-48355: [Python] Remove obsolete snprintf workaround for Python 3.9 (#48354)
### Rationale for this change e9b9042 added the workaround for Python 3.9 on Windows. However, PyArrow dropped Python 3.9 at aedb752. Per python/cpython@e822e37, this should be fine to be removed. ### What changes are included in this PR? This PR proposes to remove obsolete snprintf workaround for Python 3.9 on Windows. ### Are these changes tested? I tested locally but do not have Windows environment. I will rely on CI. ### Are there any user-facing changes? No. * GitHub Issue: #48355 Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Adam Reeve <[email protected]>
1 parent fdcc647 commit c7ac877

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/pyarrow/src/arrow/python/platform.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,4 @@
3232
# if _MSC_VER >= 1900
3333
# undef timezone
3434
# endif
35-
36-
// https://bugs.python.org/issue36020
37-
// TODO(wjones127): Can remove once we drop support for CPython 3.9
38-
# ifdef snprintf
39-
# undef snprintf
40-
# endif
4135
#endif

0 commit comments

Comments
 (0)