[med-svn] [Git][med-team/kmer][master] Python2 to Python3: initmodulename to PyInit_modulename

Andreas Tille gitlab at salsa.debian.org
Sat Apr 11 14:37:35 BST 2020



Andreas Tille pushed to branch master at Debian Med / kmer


Commits:
022314f0 by Antoni Villalonga at 2020-04-11T13:52:10+02:00
Python2 to Python3: initmodulename to PyInit_modulename

- - - - -


1 changed file:

- debian/patches/2to3.patch


Changes:

=====================================
debian/patches/2to3.patch
=====================================
@@ -1612,8 +1612,9 @@ Last-Update: Thu, 19 Dec 2019 10:43:09 +0100
 +};
 +
  extern "C"
- void initlocalAlignerInterface() {
+-void initlocalAlignerInterface() {
 -  Py_InitModule("localAlignerInterface", registration_table);
++void PyInit_localAlignerInterface() {
 +  PyModule_Create(&cModMethods);
  }
  
@@ -1633,8 +1634,9 @@ Last-Update: Thu, 19 Dec 2019 10:43:09 +0100
 +};
 +
  extern "C" 
- void inithalign(void) {
+-void inithalign(void) {
 -  Py_InitModule("halign", registration_table);
++void PyInit_halign(void) {
 +  PyModule_Create(&cModMethods);
  }
 --- a/atac-driver/atac.pl



View it on GitLab: https://salsa.debian.org/med-team/kmer/-/commit/022314f0816e0b42743bc0d1ce3230792793efbc

-- 
View it on GitLab: https://salsa.debian.org/med-team/kmer/-/commit/022314f0816e0b42743bc0d1ce3230792793efbc
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200411/3a2f5ea8/attachment.html>


More information about the debian-med-commit mailing list