PyQt6-sip 13.10.0__tar.gz → 13.10.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of PyQt6-sip might be problematic. Click here for more details.

Files changed (24) hide show
  1. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/PKG-INFO +3 -2
  2. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/PyQt6_sip.egg-info/PKG-INFO +3 -2
  3. pyqt6_sip-13.10.2/pyproject.toml +2 -0
  4. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/setup.py +1 -1
  5. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip.h +3 -3
  6. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_core.c +14 -10
  7. pyqt6_sip-13.10.0/pyproject.toml +0 -2
  8. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/LICENSE +0 -0
  9. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/MANIFEST.in +0 -0
  10. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/PyQt6_sip.egg-info/SOURCES.txt +0 -0
  11. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/PyQt6_sip.egg-info/dependency_links.txt +0 -0
  12. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/PyQt6_sip.egg-info/top_level.txt +0 -0
  13. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/README +0 -0
  14. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/setup.cfg +0 -0
  15. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_array.c +0 -0
  16. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_array.h +0 -0
  17. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_core.h +0 -0
  18. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_descriptors.c +0 -0
  19. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_enum.c +0 -0
  20. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_enum.h +0 -0
  21. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_int_convertors.c +0 -0
  22. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_object_map.c +0 -0
  23. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_threads.c +0 -0
  24. {pyqt6_sip-13.10.0 → pyqt6_sip-13.10.2}/sip_voidptr.c +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt6_sip
3
- Version: 13.10.0
3
+ Version: 13.10.2
4
4
  Summary: The sip module support for PyQt6
5
5
  Home-page: https://github.com/Python-SIP/sip
6
6
  Author: Phil Thompson
@@ -12,6 +12,7 @@ Platform: Windows
12
12
  Requires-Python: >=3.9
13
13
  License-File: LICENSE
14
14
  Dynamic: license
15
+ Dynamic: license-file
15
16
  Dynamic: requires-python
16
17
 
17
18
  sip Extension Module
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt6_sip
3
- Version: 13.10.0
3
+ Version: 13.10.2
4
4
  Summary: The sip module support for PyQt6
5
5
  Home-page: https://github.com/Python-SIP/sip
6
6
  Author: Phil Thompson
@@ -12,6 +12,7 @@ Platform: Windows
12
12
  Requires-Python: >=3.9
13
13
  License-File: LICENSE
14
14
  Dynamic: license
15
+ Dynamic: license-file
15
16
  Dynamic: requires-python
16
17
 
17
18
  sip Extension Module
@@ -0,0 +1,2 @@
1
+ [build-system]
2
+ requires = ["setuptools >=75.8.1"]
@@ -16,7 +16,7 @@ module = Extension('PyQt6.sip', module_src)
16
16
  # Do the setup.
17
17
  setup(
18
18
  name='PyQt6_sip',
19
- version='13.10.0',
19
+ version='13.10.2',
20
20
  license='BSD-2-Clause',
21
21
  python_requires='>=3.9',
22
22
  ext_modules=[module]
@@ -36,7 +36,7 @@ extern "C" {
36
36
  /* The version of the ABI. */
37
37
  #define SIP_ABI_MAJOR_VERSION 13
38
38
  #define SIP_ABI_MINOR_VERSION 10
39
- #define SIP_MODULE_PATCH_VERSION 0
39
+ #define SIP_MODULE_PATCH_VERSION 2
40
40
 
41
41
 
42
42
  /*
@@ -85,8 +85,8 @@ extern "C" {
85
85
 
86
86
 
87
87
  /* The version of the code generator. */
88
- #define SIP_VERSION 0x60a00
89
- #define SIP_VERSION_STR "6.10.0"
88
+ #define SIP_VERSION 0x60b01
89
+ #define SIP_VERSION_STR "6.11.1"
90
90
 
91
91
  /* These are all dependent on the user-specified name of the sip module. */
92
92
  #define _SIP_MODULE_FQ_NAME "PyQt6.sip"
@@ -3549,7 +3549,7 @@ static int parsePass1(PyObject **parseErrp, PyObject **selfp, int *selfargp,
3549
3549
  td = va_arg(va, sipTypeDef *);
3550
3550
  va_arg(va, void **);
3551
3551
 
3552
- if (PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type))
3552
+ if (self != NULL && PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type))
3553
3553
  {
3554
3554
  /* The call was self.method(...). */
3555
3555
  *selfp = self;
@@ -6685,21 +6685,25 @@ int sip_api_deprecated(const char *classname, const char *method)
6685
6685
  int sip_api_deprecated_13_9(const char *classname, const char *method,
6686
6686
  const char *message)
6687
6687
  {
6688
- char buf[100];
6688
+ const unsigned int bufsize = 100 + ( message ? strlen(message) : 0 );
6689
+ char *buf = (char*)sip_api_malloc(bufsize * sizeof(char));
6690
+ unsigned int written = 0;
6689
6691
 
6690
6692
  if (classname == NULL)
6691
- PyOS_snprintf(buf, sizeof (buf), "%s() is deprecated", method);
6693
+ written = PyOS_snprintf(buf, bufsize, "%s() is deprecated", method);
6692
6694
  else if (method == NULL)
6693
- PyOS_snprintf(buf, sizeof (buf), "%s constructor is deprecated",
6694
- classname);
6695
+ written = PyOS_snprintf(buf, bufsize, "%s constructor is deprecated",
6696
+ classname);
6695
6697
  else
6696
- PyOS_snprintf(buf, sizeof (buf), "%s.%s() is deprecated", classname,
6697
- method );
6698
+ written = PyOS_snprintf(buf, bufsize, "%s.%s() is deprecated", classname,
6699
+ method );
6698
6700
 
6699
6701
  if (message != NULL)
6700
- PyOS_snprintf(&buf[strlen(buf)], sizeof (buf), ": %s", message);
6702
+ PyOS_snprintf(buf+written, bufsize-written, ": %s", message);
6701
6703
 
6702
- return PyErr_WarnEx(PyExc_DeprecationWarning, buf, 1);
6704
+ const int res = PyErr_WarnEx(PyExc_DeprecationWarning, buf, 1);
6705
+ sip_api_free(buf);
6706
+ return res;
6703
6707
  }
6704
6708
 
6705
6709
 
@@ -8610,7 +8614,7 @@ static PyObject *sipWrapperType_alloc(PyTypeObject *self, Py_ssize_t nitems)
8610
8614
 
8611
8615
  ((sipWrapperType *)o)->wt_td = currentType;
8612
8616
 
8613
- if (sipTypeIsClass(currentType))
8617
+ if (sipTypeIsClass(currentType) || sipTypeIsNamespace(currentType))
8614
8618
  {
8615
8619
  const sipClassTypeDef *ctd = (const sipClassTypeDef *)currentType;
8616
8620
  const char *docstring = ctd->ctd_docstring;
@@ -1,2 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools >=69.5"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes