Re: dbm.py [was: apt-listchanges]

2004-04-22 Par sujet Frédéric Bothamy
* 'Jean-Michel OLTRA' [EMAIL PROTECTED] [2004-04-21 13:46] :
 
   bonjour,
 
 La probabilité qu'il existe un debianiste utilisant MaxDB et
 apt-listchanges est faible, mais, voilà pour les archives, une réponse
 d'un dev de MaxDB, concernant le module dbm en question, réponse qui
 permet de faire du boulot propre et de ne pas toucher à anydbm.py.

Pour ceux qui veulent suivre ce problème (dont moi), le rapport de bogue
qu'a créé Jean-Michel sur python2.3 est le #244885. (Note : pour moi,
cela casse un logiciel non lié, donc ce devrait probablement être
critique)


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html



dbm.py [was: apt-listchanges]

2004-04-21 Par sujet 'Jean-Michel OLTRA'

bonjour,

La probabilité qu'il existe un debianiste utilisant MaxDB et
apt-listchanges est faible, mais, voilà pour les archives, une réponse
d'un dev de MaxDB, concernant le module dbm en question, réponse qui
permet de faire du boulot propre et de ne pas toucher à anydbm.py.

-- 
jm

---BeginMessage---
 So it leads me to ask a question: «Is dbm a really good 
 choice for this MaxDB module name ?»

No, it isn't. That's why a new package sapdb has been created in 7.4. 

The existing modules at the top level are only for compatibility with older 
versions of the Python interface. They can be removed if you write your scripts 
always with
import sapdb.sql
import sapdb.dbm
import sapdb.loader

These compatibility scripts will be removed in 7.6.

Daniel Dittmar

-- 
Daniel Dittmar
SAP Labs Berlin
[EMAIL PROTECTED]

---End Message---