*** dobee has quit IRC | 00:03 | |
*** pcardune has quit IRC | 00:05 | |
*** meatballhat has left #zope3-dev | 00:08 | |
*** jbb666 has quit IRC | 00:15 | |
*** torkel__ has joined #zope3-dev | 00:15 | |
*** pcardune_mac has joined #zope3-dev | 00:16 | |
*** yota has quit IRC | 00:17 | |
*** pcardune_mac has quit IRC | 00:17 | |
*** pcardune_mac has joined #zope3-dev | 00:26 | |
*** pcardune has joined #zope3-dev | 00:29 | |
*** cbcunc is now known as __cbcunc__ | 00:30 | |
*** torkel_ has quit IRC | 00:30 | |
*** pcardune_mac_ has joined #zope3-dev | 00:34 | |
*** pcardune_mac has quit IRC | 00:34 | |
*** pcardune_mac_ has quit IRC | 00:35 | |
*** febb has quit IRC | 00:47 | |
*** J1m has quit IRC | 01:05 | |
*** J1m has joined #zope3-dev | 01:06 | |
*** bigkevmcd has quit IRC | 01:08 | |
*** regebro has left #zope3-dev | 01:11 | |
*** redir has quit IRC | 01:18 | |
*** timte has quit IRC | 01:18 | |
*** marcin_ant has joined #zope3-dev | 01:19 | |
*** srichter has quit IRC | 01:32 | |
*** jfroche has quit IRC | 01:42 | |
*** niemeyer has quit IRC | 01:54 | |
*** rmarianski has quit IRC | 02:05 | |
*** jkakar has quit IRC | 02:08 | |
*** alecm has quit IRC | 02:12 | |
*** alecm has joined #zope3-dev | 02:15 | |
*** zenwryly has joined #zope3-dev | 02:39 | |
*** pcardune has quit IRC | 02:41 | |
zenwryly | Say I have a persistent component registered as an adapter in a PersistentComponents site manager. Is it sufficient to just delete the component or do I need to unregister it as an adapter first | 02:42 |
---|---|---|
*** pcardune has joined #zope3-dev | 02:57 | |
*** alecm_ has joined #zope3-dev | 03:02 | |
*** alecm has quit IRC | 03:02 | |
*** redir has joined #zope3-dev | 03:03 | |
*** alecm_ has quit IRC | 03:19 | |
*** rlo has joined #zope3-dev | 03:20 | |
philiKON | zenwryly: you need to unregister it at the same time as well, but usually that's automatically done by an IObjectRemovedEvent subscriber | 03:25 |
zenwryly | philiKON: what are the conditions are on that "usually" | 03:25 |
zenwryly | philiKON: what if the object isn't in the OFS | 03:26 |
philiKON | in a regular zope 3 | 03:26 |
philiKON | well, it all depends on if you're sending an IOBjectRemovedEvent for it | 03:26 |
philiKON | if you do, you're all set | 03:26 |
zenwryly | ah, I see | 03:27 |
zenwryly | so all I have to do is notify | 03:27 |
zenwryly | cools | 03:27 |
zenwryly | thanks | 03:27 |
philiKON | (note that IObjectRemovedEvent implies that th object is stored in a container and containers typically send this event themselves in __delitem__) | 03:27 |
*** redir has quit IRC | 03:27 | |
zenwryly | philiKON: well the utility containing the just subclasses OOBTree | 03:28 |
philiKON | that's not really a containe | 03:28 |
zenwryly | I suppose I should make it a proper container | 03:28 |
philiKON | that would be a solution | 03:28 |
philiKON | use BTreeContainer | 03:29 |
zenwryly | philiKON: got an import path for that? | 03:29 |
philiKON | zope.app.container.btree | 03:30 |
*** wrobel has quit IRC | 03:31 | |
zenwryly | thanks! | 03:35 |
philiKON | np | 03:37 |
zenwryly | oh wait, if my utility subclasses BTreeContainer, will all the events work if the utility was instantiated by the GS persistent components handler? | 03:37 |
zenwryly | I know, not Z3 | 03:37 |
*** pcardune has quit IRC | 03:48 | |
*** pbugni has quit IRC | 03:51 | |
philiKON | zenwryly: yes | 04:00 |
philiKON | zenwryly: but note that in a standard zope 2 installation the events won't be subscribed to | 04:01 |
philiKON | you might have to register these yourself | 04:01 |
philiKON | what i said above is in that form only true for zope 3 | 04:01 |
zenwryly | ah, ok, thanks for the info | 04:01 |
*** srichter has joined #zope3-dev | 04:06 | |
*** faassen has joined #zope3-dev | 04:09 | |
*** srichter has quit IRC | 04:10 | |
*** srichter has joined #zope3-dev | 04:10 | |
*** ChanServ sets mode: +o srichter | 04:14 | |
*** pcardune has joined #zope3-dev | 04:33 | |
*** stub has joined #zope3-dev | 04:55 | |
*** stub has quit IRC | 05:00 | |
*** stu1 has joined #zope3-dev | 05:00 | |
*** whit has quit IRC | 05:13 | |
*** deo has quit IRC | 05:25 | |
*** baijum has joined #zope3-dev | 05:37 | |
*** torkel_ has joined #zope3-dev | 06:10 | |
*** torkel__ has quit IRC | 06:14 | |
*** redir has joined #zope3-dev | 06:17 | |
*** rlo has quit IRC | 06:23 | |
*** stu1 has quit IRC | 06:45 | |
*** febb has joined #zope3-dev | 07:35 | |
*** redir has quit IRC | 07:45 | |
baijum | Any one with administrive access to zope.org mailing list here ? I think spam filtering is not working .. | 07:57 |
*** afd_ has joined #zope3-dev | 08:08 | |
*** sorin has joined #zope3-dev | 08:23 | |
*** ghendi has joined #zope3-dev | 08:23 | |
*** sorin is now known as sorindregan | 08:24 | |
*** dobee has joined #zope3-dev | 08:42 | |
*** afd_ has quit IRC | 08:42 | |
*** zagy has joined #zope3-dev | 08:43 | |
*** afd_ has joined #zope3-dev | 08:45 | |
*** romanofski has quit IRC | 08:46 | |
*** d2m has joined #zope3-dev | 08:51 | |
*** BjornT has joined #zope3-dev | 08:52 | |
baijum | philiKON, ayt ? | 08:57 |
*** natea has joined #zope3-dev | 08:57 | |
*** natea is now known as natea|munich | 08:59 | |
*** jodok has quit IRC | 08:59 | |
*** pcardune has quit IRC | 09:00 | |
*** jukart has joined #zope3-dev | 09:00 | |
*** philiKON has quit IRC | 09:04 | |
*** timte has joined #zope3-dev | 09:10 | |
*** pghoratiu has joined #zope3-dev | 09:14 | |
baijum | dobee, I have found similar fixes for this issue recently commited : http://www.zope.org/Collectors/Zope3-dev/760 | 09:18 |
dobee | baijum: why do a cleanup if not testing? | 09:19 |
dobee | i thought it is just for testing | 09:19 |
dobee | ok, if the package only needs that function for testing | 09:20 |
baijum | yes, I think it's for testing, can you fix it ? | 09:20 |
dobee | i always make that cleanup in packages optional | 09:20 |
dobee | i just do a pass in the except | 09:20 |
*** jodok has joined #zope3-dev | 09:20 | |
baijum | I have given that solution in a comment there | 09:21 |
* baijum is bit busy today, will do some eggification in evening | 09:23 | |
dobee | ok | 09:24 |
*** wrobel has joined #zope3-dev | 09:38 | |
*** yota has joined #zope3-dev | 09:40 | |
*** natea|munich has quit IRC | 09:41 | |
*** romanofski has joined #zope3-dev | 09:43 | |
*** pelle_ has joined #zope3-dev | 09:50 | |
*** stub has joined #zope3-dev | 09:52 | |
*** ktwilight has joined #zope3-dev | 10:01 | |
*** RaFromBRC has joined #zope3-dev | 10:04 | |
*** febb has quit IRC | 10:06 | |
*** jfroche has joined #zope3-dev | 10:22 | |
*** baijum has quit IRC | 10:23 | |
*** BjornT has quit IRC | 10:24 | |
*** baijum has joined #zope3-dev | 10:24 | |
*** Aiste has joined #zope3-dev | 10:24 | |
*** baijum has quit IRC | 10:40 | |
*** ktwilight_ has joined #zope3-dev | 10:40 | |
*** naro has joined #zope3-dev | 10:49 | |
*** baijum has joined #zope3-dev | 10:53 | |
*** ktwilight has quit IRC | 10:54 | |
*** dokai has quit IRC | 10:59 | |
*** baijum has quit IRC | 11:00 | |
*** baijum has joined #zope3-dev | 11:00 | |
*** dokai has joined #zope3-dev | 11:01 | |
*** marcin_ant has quit IRC | 11:04 | |
*** alecm has joined #zope3-dev | 11:08 | |
*** natea|munich has joined #zope3-dev | 11:09 | |
*** torkel_ has quit IRC | 11:12 | |
*** jfroche has quit IRC | 11:15 | |
*** ktwilight_ has quit IRC | 11:15 | |
*** natea|munich has quit IRC | 11:21 | |
*** jfroche has joined #zope3-dev | 11:23 | |
*** BjornT has joined #zope3-dev | 11:24 | |
*** yvl has joined #zope3-dev | 11:26 | |
*** BjornT has quit IRC | 11:41 | |
*** BjornT has joined #zope3-dev | 11:44 | |
*** alecm has quit IRC | 12:06 | |
*** srichter has quit IRC | 12:13 | |
*** BjornT has quit IRC | 12:16 | |
*** BjornT has joined #zope3-dev | 12:17 | |
*** opetznick has joined #zope3-dev | 12:29 | |
*** alecm has joined #zope3-dev | 12:34 | |
*** RaFromBRC_ has joined #zope3-dev | 12:39 | |
*** lzdych has joined #zope3-dev | 12:44 | |
*** mkerrin has joined #zope3-dev | 12:46 | |
*** jfroche has quit IRC | 12:47 | |
*** jodok has quit IRC | 12:48 | |
*** jodok has joined #zope3-dev | 12:50 | |
*** RaFromBRC has quit IRC | 12:56 | |
*** dunny has quit IRC | 12:59 | |
*** RaFromBRC_ has quit IRC | 13:04 | |
*** alecm has quit IRC | 13:15 | |
*** RaFromBRC has joined #zope3-dev | 13:18 | |
*** srichter has joined #zope3-dev | 13:18 | |
*** ChanServ sets mode: +o srichter | 13:19 | |
*** alecm has joined #zope3-dev | 13:19 | |
*** alecm has quit IRC | 13:42 | |
*** alecm has joined #zope3-dev | 13:47 | |
*** alecm_ has joined #zope3-dev | 13:55 | |
*** jfroche has joined #zope3-dev | 13:55 | |
*** philiKON has joined #zope3-dev | 13:59 | |
*** xenru has joined #zope3-dev | 14:00 | |
*** RaFromBRC has quit IRC | 14:01 | |
*** alecm has quit IRC | 14:02 | |
*** alecm has joined #zope3-dev | 14:06 | |
*** ktwilight has joined #zope3-dev | 14:11 | |
*** ignas has joined #zope3-dev | 14:14 | |
*** RaFromBRC has joined #zope3-dev | 14:17 | |
*** alecm has quit IRC | 14:21 | |
*** redir has joined #zope3-dev | 14:22 | |
*** alecm_ has quit IRC | 14:24 | |
*** srichter has quit IRC | 14:25 | |
baijum | Hi dobee, how is going on eggification and buildoutification ? | 14:26 |
dobee | hi baijum currently i am stucked with an odd problemm ... | 14:27 |
dobee | if i buildout zope.formlib it does not try to fetch zope.app | 14:27 |
dobee | but if in a package that requires zope.formlib it does | 14:27 |
dobee | it seems that if i have this fixed zope.app.zcmlfiles should work | 14:28 |
dobee | that is the biggest part | 14:28 |
baijum | removed cached old zope.app from eggs dir ? | 14:28 |
dobee | yes | 14:29 |
dobee | btw my current working packages | 14:29 |
dobee | http://zope3.pastey.net/9393 | 14:29 |
baijum | In morning I asked about http://www.zope.org/Collectors/Zope3-dev/760 , I am going to commit it, is it ok? | 14:29 |
dobee | baijum: i only use pass in the except, | 14:30 |
dobee | i dunno why we should cleanup if it is no test | 14:31 |
baijum | same thing (use pass in except) I am going to do in zope.component.globalregistry | 14:31 |
* baijum going to blog about http://wiki.zope.org/zope3/ZopeComponentArchitecture later tonight | 14:32 | |
* baijum searching for other projects which uses zope.component | 14:33 | |
baijum | dobee, check whether there is any typo in setup.py of zope.formlib, I cann't think of any other reason for not fetching zope.app | 14:35 |
* dobee wonders why it is working in the buildout of zope.formlib | 14:36 | |
baijum | dobee, let's keep download.zope.org/distribution as find-links option ? | 14:41 |
baijum | or are you going to add zope.app packages to PyPI soon? | 14:42 |
*** RaFromBRC has quit IRC | 14:42 | |
dobee | i talked with fred abuout this, and we came to the point, that it is not so good, because it overrides your default.cfg | 14:42 |
dobee | baijum: i will upload source distributions to download.zope.org | 14:43 |
baijum | dobee, ah! ok, that's good. | 14:43 |
*** yvl has left #zope3-dev | 14:44 | |
*** alga has joined #zope3-dev | 14:44 | |
*** alecm has joined #zope3-dev | 14:46 | |
*** philiKON has quit IRC | 14:53 | |
* baijum is away | 14:58 | |
*** mgedmin has joined #zope3-dev | 14:58 | |
*** mkerrin has quit IRC | 14:58 | |
*** jodok has quit IRC | 15:01 | |
*** jodok has joined #zope3-dev | 15:01 | |
*** RaFromBRC has joined #zope3-dev | 15:08 | |
*** benji has joined #zope3-dev | 15:21 | |
*** srichter has joined #zope3-dev | 15:23 | |
*** ChanServ sets mode: +o srichter | 15:24 | |
*** srichter has quit IRC | 15:27 | |
*** srichter has joined #zope3-dev | 15:28 | |
* baijum is back | 15:28 | |
*** jfroche_ has joined #zope3-dev | 15:28 | |
*** ChanServ sets mode: +o srichter | 15:32 | |
*** whit has joined #zope3-dev | 15:32 | |
baijum | dobee, I am getting a test failure in trunk: http://zope3.pastey.net/9406 | 15:39 |
*** redir has quit IRC | 15:39 | |
dobee | is that file generated? | 15:41 |
dobee | /mbaiju/wa/Zope3trunk/zopeskel/etc/package-includes/exception-ftesting.zcml | 15:41 |
baijum | yes | 15:42 |
*** pjesi has joined #zope3-dev | 15:43 | |
baijum | there is a SETUP.cfg in src/zope/app/exception/browser/SETUP.cfg | 15:44 |
dobee | ups, i gonna fix this | 15:44 |
baijum | ok | 15:45 |
*** jfroche has quit IRC | 15:46 | |
dobee | baijum: should be fixed | 15:47 |
*** mkerrin has joined #zope3-dev | 15:49 | |
*** ktwilight has quit IRC | 15:58 | |
*** jodok has quit IRC | 16:05 | |
*** ktwilight has joined #zope3-dev | 16:07 | |
*** RaFromBRC has quit IRC | 16:08 | |
*** jfroche_ has quit IRC | 16:09 | |
*** avoine has joined #zope3-dev | 16:14 | |
*** meatballhat has joined #zope3-dev | 16:14 | |
baijum | dobee, your fix introduce another issue | 16:14 |
baijum | ZopeSAXParseException: File "/mbaiju/wa/Zope3trunk/zopeskel/etc/package-includes/exception-ftesting.zcml", line 4.4, unbound prefix | 16:15 |
dobee | grr | 16:15 |
dobee | baijum: sorry now it should be fixed for real | 16:16 |
dobee | we need to get away from that ftesting include stuff | 16:16 |
dobee | it makes no sense | 16:16 |
dobee | if we use layers | 16:16 |
*** strichter has joined #zope3-dev | 16:17 | |
baijum | dobee, I think ftesting slugs from SETUP.cfg can be removed (but other slugs are required until we stop using zpkg) | 16:18 |
dobee | +1 | 16:18 |
*** redir has joined #zope3-dev | 16:21 | |
*** ktwilight_ has joined #zope3-dev | 16:22 | |
*** ktwilight has quit IRC | 16:23 | |
*** srichter has quit IRC | 16:27 | |
*** pelle_ has quit IRC | 16:29 | |
*** alecm has quit IRC | 16:30 | |
*** jodok has joined #zope3-dev | 16:32 | |
*** jkakar has joined #zope3-dev | 16:33 | |
*** ktwilight has joined #zope3-dev | 16:36 | |
*** zagy has quit IRC | 16:37 | |
*** ktwilight_ has quit IRC | 16:42 | |
*** niemeyer has joined #zope3-dev | 16:51 | |
* baijum is motivated by dobee's commits | 16:53 | |
baijum | dobee, tell me two packages which I can buildoutify now ? | 16:54 |
dobee | baijum: zope.app.boston | 16:54 |
dobee | you will need viewlet stuff etc | 16:55 |
baijum | ok I will start with zope.app.boston now | 16:55 |
dobee | or any not in http://zope3.pastey.net/9413 baijum | 16:55 |
baijum | ok | 16:56 |
faassen | you guys are on a roll with this. :) | 16:56 |
*** lzdych has quit IRC | 16:58 | |
baijum | faassen, I had stopped eggification with zope.app egg, but now ... after dobee's works I thought just to help ... | 17:00 |
*** ghendi has quit IRC | 17:00 | |
*** tarek_ has joined #zope3-dev | 17:01 | |
baijum | faassen, have seen my comments on GSoC proposal for "Run Zope 3 using Pythion 2.5" ? | 17:01 |
* baijum think mentors required another mailing list for discussion | 17:02 | |
*** tarek has quit IRC | 17:02 | |
*** rmarianski has joined #zope3-dev | 17:07 | |
*** J1m has joined #zope3-dev | 17:08 | |
baijum | dobee, so we are removing find-links from buildout.cfg and tests_require from setup.py ? | 17:10 |
*** sorindregan has quit IRC | 17:10 | |
dobee | baijum: yes | 17:11 |
benji | tests_require doesn't really work | 17:11 |
*** ktwilight has quit IRC | 17:14 | |
*** pghoratiu has quit IRC | 17:14 | |
*** zagy has joined #zope3-dev | 17:16 | |
*** RaFromBRC has joined #zope3-dev | 17:21 | |
*** __cbcunc__ is now known as cbcunc | 17:25 | |
faassen | baijum: you placed your comments in the google app? | 17:27 |
baijum | faassen, yes | 17:28 |
*** alecm has joined #zope3-dev | 17:29 | |
*** d2m has quit IRC | 17:29 | |
baijum | faassen, it is about running Zope 2 using Python 2.5 | 17:31 |
baijum | should we extend the proposal for that ? | 17:31 |
faassen | baijum: looking it up. just read your comment on the ZPT doc project, good of you to dig that google quote up. | 17:31 |
faassen | baijum: that clarifies matters. | 17:31 |
baijum | faassen, ok | 17:32 |
*** alecm has quit IRC | 17:32 | |
*** alecm has joined #zope3-dev | 17:32 | |
faassen | baijum: looking at the python 2.5 project next. | 17:34 |
baijum | faassen, there is 6 negative grades for ZPT doc project, let's make it ineligible ? | 17:35 |
* baijum think may we require a private list for these kind of discussion... | 17:36 | |
baijum | may be | 17:36 |
faassen | baijum: I think it's fine to leave it as it is for now. | 17:37 |
faassen | baijum: it's not likely to get accepted as it's below the line anyway. | 17:37 |
faassen | baijum: we'll just leave this as a record of the learning process. | 17:37 |
baijum | faassen, ok | 17:37 |
*** meatballhat has quit IRC | 17:39 | |
*** naro has quit IRC | 17:41 | |
*** jfroche has joined #zope3-dev | 17:43 | |
*** jfroche has quit IRC | 17:43 | |
*** jfroche has joined #zope3-dev | 17:44 | |
*** harobed has joined #zope3-dev | 17:44 | |
*** stub has quit IRC | 17:46 | |
*** twcook has joined #zope3-dev | 17:53 | |
faassen | baijum: responded on the 2.5 porting issue. | 17:57 |
faassen | baijum: I agree that including Zope 2 would make the scope too wide. | 17:57 |
faassen | baijum: I just want us to take steps to minimize the risk that Zope 2 and Zope 3 are stuck with different Python versions. | 17:57 |
faassen | baijum: so ideally there's at least some exploration of zope 2 issues at well, resulting in a plan or a report, and maybe if we're lucky some changed code. :) | 17:58 |
baijum | faassen, ok, I will look into that, thanks ! | 18:05 |
twcook | I posted a question re: Zope3 interfaces in #zope earlier. No takers. Should I repost here? | 18:06 |
timte | sure | 18:07 |
twcook | (10:56:50 AM) twcook: When creating interfaces for Zope3 -- I create an interface for an abstract class -- Do I recreate the attributes/methods in subclasses or do I somehow indicate that the sub-interfaces implements the abstract (class) interface? | 18:07 |
twcook | (10:57:40 AM) twcook: Do I recreate the attributes/methods in subclasses -- should read: Do I recreate the attributes/methods in the subclass interfaces | 18:07 |
*** twcook has left #zope3-dev | 18:08 | |
*** twcook has joined #zope3-dev | 18:09 | |
faassen | twcook: so you have an interface for an abstract class.. | 18:10 |
twcook | yep | 18:10 |
faassen | twcook: and you use implements(ISomeInterface) in that class | 18:10 |
faassen | twcook: and then you have subclasses for that class, that inherit from it. | 18:10 |
faassen | twcook: correct so far? | 18:10 |
twcook | the code WILL, yes... however, my intent was to create all interfaces according to the UML before writing code | 18:11 |
faassen | twcook: so what is your question? | 18:11 |
twcook | correct so far | 18:11 |
faassen | twcook: anyway, presumably your abstract class indeed implements that interface, right? | 18:12 |
twcook | how in the "interfaces for the subclasses" do I (or do I even need to) indicate that that the subclasses will need to implement those attributes & methods from the superclass | 18:13 |
twcook | the abstract class is only abstrct ight? So is there a need to actually CODE the abstract class? | 18:13 |
twcook | Shouldn't those implementations only exist in the concrete classes? | 18:14 |
faassen | twcook: why do you have an abstract base class without any actual code? | 18:15 |
faassen | twcook: I mean, what's the point of that? | 18:15 |
faassen | twcook: I can think of a point of it in, say, C++, as you don't have interfaces. | 18:15 |
faassen | twcook: but normally an abstract base class has some code, and just leaves *some* methods not implemented and up to the subclass. | 18:15 |
twcook | In the UML you represent attributes and methods that are needed in several subclasses | 18:16 |
faassen | twcook: if you just have an interface and concrete classes with very different implementations that don't share a thing, you'd just say those two classes implement the interface, both. | 18:16 |
faassen | well, don't you have a way to create interfaces in UML? | 18:16 |
faassen | what you seem to be doing in UML is in effect coming up with an interface and putting it in the base class. | 18:17 |
twcook | Ok. My question is how to say so in the interface. Not in the classes themselves | 18:17 |
faassen | twcook: well, your interface specifies the API a class needs to implement. | 18:17 |
faassen | twcook: so your classes would both say, I implement that interface. | 18:17 |
*** alecm has quit IRC | 18:17 | |
faassen | twcook: if you need to share some implementation between the classes, then you might want to consider sharing a base class that's partially abstract. | 18:17 |
twcook | partially abstract -- <g> | 18:18 |
faassen | twcook: and in that case, if all subclasses are intended to implement that interface anyway, you can say implements(IMyInterface) on the base class and then the subclasses will inherit this. | 18:18 |
faassen | twcook: a partially abstract class is .. | 18:18 |
faassen | class Foo: | 18:18 |
faassen | def mymethod(self): | 18:18 |
faassen | return self.getNumber() * 10 | 18:18 |
faassen | def getNumber(self): | 18:18 |
faassen | raise NotImplementedError | 18:18 |
faassen | subclasses will need to implement getNumber. | 18:19 |
twcook | Ok.. I got it. Thanks | 18:19 |
faassen | that's the concept I know from C++ of abstract base class. | 18:19 |
faassen | a class that has one or more pure virtual member functions. :) | 18:19 |
faassen | i.e. a class that it doesn't make any sense to make instances of. | 18:19 |
faassen | you only make instances of its subclasses. | 18:19 |
faassen | I don't know what the terms means in UML so I'm at a loss there. | 18:20 |
faassen | I'm just trying to sketch out what happens with interfaces. | 18:20 |
timte | faassen: Foo is an abstract class | 18:20 |
faassen | okay. | 18:20 |
pjesi | faassen: is this how you write abstract classes in Python? | 18:20 |
faassen | timte: yeah, I'd call that an abstract base class. I used 'partially' as I got conufsed by twcook's confusion. :) | 18:21 |
faassen | pjesi: that's how I'd write one, yeah. | 18:21 |
faassen | pjesi: it doesn't stop you from instantiating anything, it's just if you instantiate it and try to use it, you'll get a lot of NotImplementedErrors. :) | 18:21 |
twcook | I appreciate it. My quandry i that want to translate the UML into interfaces. Publish them as an open source project and get help doing the coding... THerefore I wanted a way to insure that developers did not have to go back to the UML to know what inherited from what. | 18:21 |
faassen | it's basically just a tool for implementation inheritance. | 18:21 |
faassen | twcook: well, you can do interface inheritance. | 18:22 |
*** timte has quit IRC | 18:22 | |
faassen | twcook: you can inherit between interfaces, you can inherit between classes, and you can have classes say 'I implement this interface'. how one expresses this in UML that then can be translated to sensible python code I don't know. :) | 18:22 |
faassen | class inheritance implies interface inheritance. | 18:22 |
twcook | but I can't : IMyInterface2(Interface, MyInterface2) can I? | 18:23 |
faassen | if you have.. | 18:23 |
faassen | class IAnimal(Interface): | 18:23 |
faassen | def makeSound(): | 18:23 |
faassen | "Sound the animal makes" | 18:23 |
faassen | class IChimp(IAnimal): | 18:23 |
faassen | def doTheChimpThing(): | 18:23 |
faassen | "Something :)" | 18:23 |
*** alecm has joined #zope3-dev | 18:23 | |
*** ktwilight has joined #zope3-dev | 18:23 | |
faassen | then you're inheriting interfaces. | 18:23 |
faassen | if you say something needs to implement IChimp, it'll need to implement IAnimal as well. | 18:24 |
*** jodok has quit IRC | 18:24 | |
twcook | Ok, so then IChim(IAnimal) makes IChimp an interface as if I had directly inherited from Interface? | 18:24 |
baijum | twcook, yes | 18:26 |
*** ktwilight_ has joined #zope3-dev | 18:26 | |
twcook | Gee thanks. That solves my whole confusion! <vbg> | 18:26 |
*** twcook has left #zope3-dev | 18:26 | |
*** peterbe has joined #zope3-dev | 18:27 | |
*** twcook has joined #zope3-dev | 18:27 | |
*** baijum has quit IRC | 18:27 | |
*** ktwilight has quit IRC | 18:32 | |
*** RaFromBRC has quit IRC | 18:33 | |
*** RaFromBRC has joined #zope3-dev | 18:34 | |
*** Aiste has quit IRC | 18:44 | |
*** salfield has joined #zope3-dev | 18:47 | |
*** salfield has quit IRC | 18:47 | |
*** timte has joined #zope3-dev | 18:48 | |
*** jukart has quit IRC | 18:50 | |
*** opetznick has quit IRC | 19:00 | |
*** ktwilight has joined #zope3-dev | 19:01 | |
*** alecm has quit IRC | 19:02 | |
*** alecm has joined #zope3-dev | 19:02 | |
*** RaFromBRC has quit IRC | 19:03 | |
*** RaFromBRC has joined #zope3-dev | 19:04 | |
*** pbugni has joined #zope3-dev | 19:05 | |
*** natea|sorrento has joined #zope3-dev | 19:05 | |
*** harobed has quit IRC | 19:06 | |
*** ktwilight_ has quit IRC | 19:08 | |
*** norro has joined #zope3-dev | 19:09 | |
*** ktwilight has quit IRC | 19:11 | |
*** jfroche_ has joined #zope3-dev | 19:12 | |
*** jfroche has quit IRC | 19:13 | |
*** xenru has quit IRC | 19:21 | |
dobee | benji: shouldn i be able to scp to download.zope.org:/distribution/ ? | 19:28 |
*** lzdych has joined #zope3-dev | 19:28 | |
benji | dobee: hmm, don't know; you want to grab all the current eggs? | 19:29 |
*** lzdych has quit IRC | 19:29 | |
dobee | benji: i want to upload my dist files | 19:29 |
faassen | dobee: I recall the path on zope.org was different somehow, but what it was I cannot recall right now. :) | 19:29 |
faassen | dobee: maybe benji can log in and do a pwd. :) | 19:29 |
dobee | do i have to use sftp? i cant remember | 19:30 |
dobee | i think it was scp | 19:30 |
faassen | I think it was scp. | 19:30 |
faassen | I'd have remembered sftp. I did it once but it was quite a while back. | 19:30 |
benji | I think the buildout uses SFTP to retrieve them, but scp is used to upload them | 19:31 |
faassen | dobee: can't find the mailing message very quickly. | 19:31 |
dobee | me too | 19:31 |
faassen | benji: it used to have just an http way of downloading them but that changed, I guess. :) | 19:31 |
*** zagy_ has joined #zope3-dev | 19:32 | |
dobee | ok so this will happen tomorrow :-( there are 90 dists, and i have to leave now benji | 19:33 |
*** natea|sorrento has quit IRC | 19:34 | |
*** alecm has quit IRC | 19:34 | |
*** natea|sorrento has joined #zope3-dev | 19:34 | |
*** RaFromBRC has quit IRC | 19:35 | |
*** alecm has joined #zope3-dev | 19:35 | |
*** dobee has quit IRC | 19:35 | |
*** RaFromBRC has joined #zope3-dev | 19:35 | |
*** jfroche_ has quit IRC | 19:42 | |
*** jfroche_ has joined #zope3-dev | 19:42 | |
*** opetznick has joined #zope3-dev | 19:44 | |
*** RaFromBRC has quit IRC | 19:46 | |
*** natea|sorrento_ has joined #zope3-dev | 19:46 | |
*** alecm has quit IRC | 19:46 | |
*** RaFromBRC has joined #zope3-dev | 19:46 | |
*** opetznick has quit IRC | 19:47 | |
*** zagy has quit IRC | 19:47 | |
*** alecm has joined #zope3-dev | 19:47 | |
*** natea|sorrento has quit IRC | 19:53 | |
*** Undertec has joined #zope3-dev | 19:54 | |
Undertec | +r | 19:54 |
*** Undertec has quit IRC | 19:56 | |
*** mgedmin has quit IRC | 19:56 | |
*** norro has quit IRC | 19:59 | |
*** marcin_ant has joined #zope3-dev | 20:04 | |
*** marcin_ant has quit IRC | 20:06 | |
*** marcin_ant has joined #zope3-dev | 20:06 | |
*** jodok has joined #zope3-dev | 20:06 | |
*** mkerrin has quit IRC | 20:07 | |
*** alecm has quit IRC | 20:10 | |
*** alecm has joined #zope3-dev | 20:15 | |
*** Henri__ has joined #zope3-dev | 20:23 | |
*** jodok has quit IRC | 20:25 | |
*** tarek_ has quit IRC | 20:25 | |
*** meatballhat has joined #zope3-dev | 20:28 | |
*** jbb666 has joined #zope3-dev | 20:34 | |
*** tarek has joined #zope3-dev | 20:37 | |
*** jukart has joined #zope3-dev | 20:40 | |
*** natea|sorrento_ has quit IRC | 20:50 | |
*** tarek has joined #zope3-dev | 20:59 | |
*** wreutz has joined #zope3-dev | 21:02 | |
*** opetznick has joined #zope3-dev | 21:02 | |
*** RaFromBRC is now known as RaFromBRC|dinner | 21:05 | |
*** peterbe has left #zope3-dev | 21:05 | |
*** tarek has quit IRC | 21:06 | |
*** alecm has quit IRC | 21:06 | |
*** BjornT_ has joined #zope3-dev | 21:06 | |
*** opetznick has quit IRC | 21:08 | |
*** Henri__ has left #zope3-dev | 21:09 | |
*** meatballhat has left #zope3-dev | 21:20 | |
*** twcook has quit IRC | 21:23 | |
*** lzdych has joined #zope3-dev | 21:24 | |
*** harobed has joined #zope3-dev | 21:27 | |
*** RaFromBRC|dinner has quit IRC | 21:27 | |
*** jfroche_ has quit IRC | 21:27 | |
*** mgedmin has joined #zope3-dev | 21:28 | |
*** marcin_ant has quit IRC | 21:35 | |
*** afd_ has quit IRC | 21:48 | |
*** jfroche has joined #zope3-dev | 21:48 | |
*** afd_ has joined #zope3-dev | 21:51 | |
*** lzdych has joined #zope3-dev | 21:53 | |
*** lzdych has quit IRC | 21:53 | |
*** dunny has joined #zope3-dev | 21:54 | |
*** RaFromBRC|dinner has joined #zope3-dev | 21:57 | |
*** RaFromBRC|dinner has quit IRC | 21:58 | |
*** ignas has quit IRC | 22:04 | |
*** opetznick has joined #zope3-dev | 22:05 | |
*** afd_ has quit IRC | 22:06 | |
*** opetznick has quit IRC | 22:09 | |
*** ofer has joined #zope3-dev | 22:10 | |
*** ofer has quit IRC | 22:14 | |
*** jfroche has quit IRC | 22:16 | |
*** jbb666 has quit IRC | 22:16 | |
*** d2m has joined #zope3-dev | 22:24 | |
*** BjornT_ has quit IRC | 22:39 | |
*** dobee has joined #zope3-dev | 22:40 | |
*** RaFromBRC|dinner has joined #zope3-dev | 22:44 | |
*** jbb666 has joined #zope3-dev | 22:54 | |
*** RaFromBRC|dinner is now known as RaFromBRC | 22:55 | |
*** faassen has quit IRC | 22:58 | |
*** ktwilight has joined #zope3-dev | 22:58 | |
*** lucie has joined #zope3-dev | 23:02 | |
*** alecm has joined #zope3-dev | 23:02 | |
*** ktwilight has quit IRC | 23:06 | |
*** marcin_ant has joined #zope3-dev | 23:09 | |
*** stub has joined #zope3-dev | 23:10 | |
*** dobee has quit IRC | 23:12 | |
*** ktwilight has joined #zope3-dev | 23:15 | |
*** agroszer has joined #zope3-dev | 23:16 | |
*** bigkev has joined #zope3-dev | 23:17 | |
*** bigkev is now known as bigkevmcd | 23:18 | |
*** dunny has quit IRC | 23:25 | |
*** lucie_ has joined #zope3-dev | 23:25 | |
*** pelle_ has joined #zope3-dev | 23:25 | |
*** dobee has joined #zope3-dev | 23:28 | |
*** natea|sorrento has joined #zope3-dev | 23:30 | |
*** lucie has quit IRC | 23:31 | |
*** jfroche has joined #zope3-dev | 23:33 | |
*** jinty has quit IRC | 23:34 | |
*** rocky has joined #zope3-dev | 23:35 | |
*** mgedmin has quit IRC | 23:36 | |
*** rocky is now known as rocky|sorrento | 23:39 | |
*** alga has quit IRC | 23:41 | |
*** jfroche has quit IRC | 23:41 | |
*** jfroche has joined #zope3-dev | 23:41 | |
*** dobee has quit IRC | 23:42 | |
*** benji has quit IRC | 23:45 | |
*** jbb666 has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!