Team Chat Logs

2006 6
Mo Tu We Th Fr Sa Su
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

July 19, 2006

[00:04:20] * galis has quit IRC
[00:23:52] * cmlenz has joined #trac
[00:24:49] * cmlenz has joined #trac
[00:25:14] * kfir has joined #trac
[00:27:22] * raidman|Work is now known as raidman|Away
[01:02:30] * cmlenz has quit IRC
[01:03:24] * cmlenz has joined #trac
[01:10:26] <cmlenz> alect: ping
[01:18:54] * franck34 has joined #trac
[01:18:57] <franck34> hi
[01:19:55] <franck34> how can i remove a text in a ticket post by a spam robot ?
[01:20:03] <franck34> http://eaccelerator.net/ticket/16
[01:20:09] <franck34> (at the end)
[01:20:31] <franck34> directly in the database ?
[01:24:37] <misc> there is a plugin
[01:27:22] <franck34> yes ? which one ?
[01:29:04] <misc> TicketDelete, i think , i do not remember the name :/
[01:29:30] <franck34> ok thanks
[01:29:35] <franck34> i'll try directly with sqlite
[01:31:25] <misc> it works too, i used to do that
[01:51:15] * simmerz has joined #trac
[01:51:33] * otaku42_away is now known as otaku42
[01:51:56] <simmerz> if I want to make a group have particular privileges using trac-admin, can i just use the groups already in my AUTHZ access file?
[01:51:57] <otaku42> moin
[01:54:28] <simmerz> or do i have to replicate the groups in trac-admin?
[02:11:39] <simmerz> and also, where is the default permission store kept?
[02:12:31] * maxb has joined #trac
[02:13:11] * tuxipuxi has joined #trac
[02:25:44] * franck34 trying to install the plugin
[02:27:46] <simmerz> how can i modify the default permissions given when initenv is set up?
[02:54:25] <simmerz> I've set up default notification settings in /usr/share/trac/conf/trac.ini but I don't think it is being read
[02:55:44] <otaku42> franck34: the plugin misc referred to above can be found at http://trac-hacks.org/wiki/TicketDeletePlugin
[02:56:38] <otaku42> franck34: and if you want to prevent/filter spam (even with a non-0.10 installation) http://madwifi.org/wiki/FightingTracSpam might be worth a look
[03:01:41] * Blackhex has joined #trac
[03:03:20] <simmerz> why is the notification part not being read, where the environment trac.ini doesn't have a notification section in it
[04:00:10] * Sonderblade has joined #trac
[04:00:26] * ryepup__ has joined #trac
[04:00:31] * ryepup__ is now known as ryepup
[04:17:45] * ryepup_ has quit IRC
[04:24:46] <Blackhex> hello, how can i get uploaded file from req object?
[04:38:19] * raidman|Away is now known as raidman|Work
[04:42:33] * _dmax has joined #trac
[04:42:42] * s0undt3c1 has joined #trac
[04:54:45] * dmax has quit IRC
[04:54:52] * _dmax is now known as dmax
[04:56:47] * s0undt3ch has quit IRC
[04:56:48] * s0undt3c1 is now known as s0undt3ch
[05:00:15] * Sonderblade has left #trac
[05:01:35] <franck34> otaku42: thanks a lot i'll take a look
[05:02:48] <franck34> for moment i'm trying to repair eaccelerator website, i installed tracSpamFilter plugin but i RTFM AFTER install, got trac 0.9.3 and tracSpamFilter is not yet compatible
[05:03:01] <franck34> so i'm trying to remove the plugin
[05:03:10] <franck34> but i don't know how ..... :((((
[05:04:07] <otaku42> franck34: how did you install the plugin?
[05:05:24] <franck34> ./setup.py install
[05:05:36] <franck34> after checkout the plugin with svn
[05:06:35] <otaku42> franck34: tip for the future: use "python setup.py bdist_egg" instead, this will generate a .egg file that you then can copy to the environment of the trac installation you want to use the plugin in
[05:07:17] <otaku42> franck34: however, when you use "setup.py install", the plugin afaik gets installed in the site-packages directory of your local python install.
[05:07:20] <otaku42> franck34:
[05:07:21] <otaku42> oops
[05:08:34] <otaku42> franck34: that should be something like /usr/lib/python2.3/site-packages (location might differ on your box, as well as the python version you use)
[05:11:00] <franck34> yes
[05:11:07] <franck34> i removed the egg
[05:11:19] <otaku42> franck34: not sure if it is enough to simply delete the files that have been installed there, or if there are some files that need to be modified in addition.
[05:11:33] <franck34> but now got IOError cause trac is looking for
[05:11:58] <franck34> i'm afraid there is something in trac db about the plugin
[05:12:04] <otaku42> franck34: are you using tracd or apache+mod_python, or?
[05:12:13] <franck34> apache+mod_python
[05:12:46] <otaku42> franck34: restarted apache after you removed the plugin?
[05:13:38] <franck34> yes
[05:14:10] <franck34> wait
[05:14:12] <franck34> it's working in fact
[05:14:16] <franck34> plugin is removed
[05:14:22] <otaku42> franck34: ok
[05:14:29] <franck34> i didn't restart the good apache
[05:14:34] <franck34> it's ok thanks a lot otaku42
[05:14:56] <otaku42> franck34: you're welcome
[05:16:04] <otaku42> franck34: regarding the FightingTracSpam howto: it will be updated a bit today, I'll add some new rules as well as some other stuff to it. be sure to keep an eye on the version of the rules that are given there, it's a fast-moving target :)
[05:19:27] * milk-it has joined #trac
[05:25:37] * skyblue has joined #trac
[05:26:40] <skyblue> hi
[05:27:09] <otaku42> hi skyblue
[05:27:14] <skyblue> Syntax highlighting doesn't work for me, I have both Enscript and Silvercity installed.
[05:27:20] <skyblue> I'm on Debian/sid.
[05:27:31] <skyblue> can someone help me diagnose it?
[05:27:41] * raidman|Work is now known as raidman|Away
[05:29:53] <skyblue> how do I know whether if trac is able to use Silvercity and/or Enscript?
[05:31:35] <skyblue> trac is running on Apache using FastCGI interface and other than syntax highlighting it works pretty well.
[05:37:04] <otaku42> skyblue: in that case i'd say that at least silvercity can be used by trac, otherwise nothing would work
[05:39:14] <skyblue> otaku42: how do I test that I have it?
[05:40:37] <otaku42> skyblue: i'm quite sure you have it, since trac wouldn't work without it at all.
[05:40:47] <otaku42> afaik
[05:40:53] <skyblue> hmm
[05:56:34] * kfir has quit IRC
[06:20:33] * aWi has quit IRC
[06:21:41] * danbeck has joined #trac
[06:23:14] * agile has quit IRC
[06:28:28] <skyblue> otaku42: thanks, I think I've got it.
[06:41:00] * agile has joined #trac
[06:54:04] * MasterC has joined #trac
[06:56:09] * skyblue has quit IRC
[07:13:31] * minsu_ju has joined #trac
[07:23:59] <De_Mon> trac 0.9.6 Timeline says 'Ticket Changes' but it only lists ticket creates (and maybe closes)
[07:24:32] <pacopablo> @faq ini
[07:24:32] <evil_twin> pacopablo: "ini" is See http://projects.edgewall.com/trac/wiki/TracIni for details on the Trac configuration file.
[07:24:41] <pacopablo> there is a setting to show changes too
[07:25:13] <pacopablo> ticket_show_details
[07:29:44] * klasstek has joined #trac
[07:38:04] <Blackhex> hi guy, does anyone know how get uploaded file from args object?
[07:38:22] * emmanuel_gomez has quit IRC
[07:52:53] <De_Mon> cool, found a few more settings I had set incorrectly too.
[07:53:09] <De_Mon> whats the proper way to add comments to the ini, ;?
[07:56:21] * _idostyle has joined #trac
[08:01:19] * idostyle has quit IRC
[08:01:25] * _idostyle is now known as idostyle
[08:14:02] * Riccc has joined #trac
[08:16:34] <pacopablo> De_Mon: that will do it, however, if you edit the file via WebAdmin, your comments won't be kept
[08:16:43] <pacopablo> as COnfigParser doesn't keep comments
[08:19:28] * edahl has joined #trac
[08:20:23] <De_Mon> pacopablo okay, I was commenting out the sendas setting, forgot about being able to use webadmin :)
[08:21:22] * Champion_du_Mond has quit IRC
[08:24:08] * mjg2 has quit IRC
[08:26:30] * xjjk has joined #trac
[08:26:49] * mjg2 has joined #trac
[08:27:38] <edahl> I see in the faq a command to remove a ticket. I'm running 0.9.6 and don't see this command in trac-admin
[08:27:41] <edahl> should i?
[08:37:23] <pacopablo> no
[08:37:27] <pacopablo> it was added in trunk
[08:37:44] <pacopablo> though you can install the TicketDelete plugin from trac-hacks.org to do the same thing
[08:37:54] <pacopablo> though from WebAdmin
[08:39:06] <edahl> ok
[08:39:17] * chandlerc has quit IRC
[08:39:54] <edahl> is there a way to lock a single page (the main page) from anonymous edits?
[08:40:13] <edahl> I'm having spammer issues
[08:40:37] <edahl> wiki page that is
[08:40:51] <pacopablo> mark it as read only
[08:41:40] <Blackhex> pacopablo: please do you know how to upload file?
[08:42:43] <edahl> got it
[08:47:57] * wycats has joined #trac
[08:48:09] <wycats> I'm trying to get trac set up on lighty
[08:48:54] <wycats> Where should I be pointing the server.document-root
[09:01:43] * chandlerc has joined #trac
[09:04:08] <wycats> Where should I be pointing the server.document-root on lighty?
[09:06:48] * Guardian has quit IRC
[09:07:09] * Guardian has joined #trac
[09:13:55] <pacopablo> Blackhex: no, actually :(
[09:14:11] <pacopablo> though all the post variables are available via req.
[09:14:26] <pacopablo> take a look at the attachment code, that should probalby show you.
[09:14:37] * MasterC has quit IRC
[09:14:43] <Blackhex> i know but I don't know how to get it from req object
[09:14:49] <pacopablo> wycats: take a look at the sample lighttpd configs
[09:14:55] <pacopablo> I think it's on the fastcgi page
[09:15:03] <pacopablo> @faq fastcgi
[09:15:03] <evil_twin> pacopablo: Error: No factoid matches that key.
[09:15:41] <Blackhex> pacopablo: I already looked but the code is not clear to me completely and that part what i read from it does't work :-(
[09:16:00] <pacopablo> @learn fastcgi as http://trac.edgewall.org/wiki/TracFastCgi
[09:16:00] <evil_twin> pacopablo: The operation succeeded.
[09:28:19] <pacopablo> looks like: http://trac.edgewall.org/browser/trunk/trac/attachment.py#L425 that is the relevant code
[09:29:53] <pacopablo> with: http://trac.edgewall.org/browser/trunk/templates/attachment.cs#L11
[09:30:03] <pacopablo> being the relevant template
[09:30:21] * stevegt has quit IRC
[09:31:51] <Blackhex> I tried that already, but returned object is FieldStorage with file path but file attribute is empty
[09:36:01] <pacopablo> hmm, not sure I'll be of much help then
[09:37:08] * chjunior has joined #trac
[09:37:45] <Blackhex> pacopablo: never mind, thanks for trying anyway
[09:39:44] <wycats> I'm going to give Apache a go
[09:44:03] <Blackhex> Weird thing is that there is no confirmation message box when I am submiting form.
[09:53:00] * simmerz has quit IRC
[10:19:28] * stevegt has joined #trac
[10:22:15] <alect> morning
[10:22:49] <pacopablo> morning alect
[10:23:49] <cmlenz> hey alect
[10:26:00] <alect> hey guys
[10:33:53] <cmlenz> alect: I got most of the SF data imported here
[10:34:05] <cmlenz> still a number of quirks in the change history stuff
[10:34:17] <cmlenz> but relatively minor
[10:34:28] <cmlenz> tickets, attachments and change history are pretty much completely imported
[10:35:10] <cmlenz> (talking about python.org CallForTrackers in case that wasn't obvious)
[10:35:26] * imajes has quit IRC
[10:36:42] * imajes has joined #trac
[10:47:32] <bnovc> is there a way to easily bind the execution of scripts when a ticket is created?
[10:47:39] <bnovc> (and preferably on close too)
[10:48:35] * coderanger_ has joined #trac
[10:49:02] <pacopablo> bnovc: you'd have to write a custom plugin
[10:49:29] <coderanger_> morning y'all
[10:49:36] <pacopablo> morning coderanger_
[10:50:06] <pacopablo> http://trac.edgewall.org/browser/trunk/trac/ticket/api.py#L28
[10:50:53] * milk-it has quit IRC
[10:53:26] * milk-it has joined #trac
[10:57:28] <alect> cmlenz: that is excellent news. flick me the scripts + instructions when you're happy with it
[10:57:38] <cmlenz> sure
[10:57:49] <bnovc> pacopablo: ok, thanks for the information
[10:58:26] <alect> are you quoting the comments inside {{{ }}} ?
[10:58:51] <alect> i think cboos is slightly optimisitic with his comments about using wiki formatting
[11:12:16] * jborg has joined #trac
[11:22:20] <cmlenz> yeah, I'm putting everything in {{{ }}}
[11:23:27] <cmlenz> I'll probably switch to using something like {{{#!html <pre>}}} {{{#!html </pre>}}} though
[11:23:39] <cmlenz> all the gray and left margins is rather irritating :-P
[11:31:57] * cmlenz has quit IRC
[11:55:42] * stevegt has quit IRC
[11:56:51] * cmlenz has joined #trac
[11:57:45] <coderanger_> +1 on ditching underlines btw
[11:58:35] <coderanger_> And for tracebacks, wouldn't it be possible to make a SyntaxProvider that handles them?
[11:58:46] <coderanger_> I know trac-hacks would be a better place for it :)
[11:59:24] * chjunior has quit IRC
[12:04:35] <cmlenz> it's not only tracebacks, it's lot of code/shell snippets that can't really be differentiated from the normal text
[12:04:57] <cmlenz> we fix all that manually
[12:05:18] <coderanger_> Yeah, I just mean specifically for Python tracebacks
[12:05:19] <cmlenz> I'm not so sure whether the python devs would be so happy about that approach
[12:05:56] * jauricchio has joined #trac
[12:06:00] <coderanger_> Its very common on trac-hacks, and it would be one less thing to have to worry about
[12:07:03] <pacopablo> if ticket comments could be edited, then it wouldn't be too bad :)
[12:07:47] <coderanger_> its usually in the description
[12:08:07] <pacopablo> true, which can be edited
[12:08:17] <pacopablo> and hence fixed manually
[12:08:18] <coderanger_> Yes, but not by users ;-)
[12:08:45] <coderanger_> So I end up checking most tickets filed to see if they need fixing
[12:08:57] <pacopablo> well, we can't protect ourselves completely from less-than-stellar users
[12:11:31] * peppelorum has joined #trac
[12:11:47] * jauricchio has left #trac
[12:18:25] <jborg> The datetime sandbox branch (Trac with time zone support) is now ready for testing if anyone would like to try it out.
[12:18:42] * lowkey has quit IRC
[12:18:53] * lowkey has joined #trac
[12:19:02] <coderanger_> That was fast
[12:19:15] * lowkey has quit IRC
[12:19:26] * lowkey has joined #trac
[12:19:27] <pacopablo> wow, that was fast
[12:19:44] * lowkey has quit IRC
[12:19:45] <jborg> Yeah, but I had actually started working on it before I sent my first mail to the list :)
[12:19:52] <coderanger_> hah
[12:19:55] * l0wkey has joined #trac
[12:20:00] <jborg> and it was easier than expected
[12:20:25] <pacopablo> that's good to hear
[12:22:31] <coderanger_> now how about 0.10 ;-)
[12:23:03] <jborg> What about it? ;-)
[12:23:20] <Blackhex> hi
[12:26:31] <coderanger_> 0.9 is moving in on its first birthday
[12:26:37] * MasterC has joined #trac
[12:26:47] <Blackhex> I have problem with file uploading: if I have "<input name="file" type="file">" field "file = req.args['file']" returns MiniFieldStorage with empty file and filename attribute
[12:26:59] <Blackhex> do anyone know where could be problem?
[12:28:51] <wycats> Thanks to everyone for helping me out earlier... I have a working trac installation that correctly links to my svn
[12:32:14] * fizzgig has quit IRC
[12:34:51] <Blackhex> coderanger_: you don't know?
[12:37:08] <wycats> anyone around?
[12:37:20] <Blackhex> me :-)
[12:37:36] <wycats> I'm trying to set up my trac, specifically setting up permissions
[12:37:42] <wycats> is it really as tedious as it seems?
[12:38:03] <Blackhex> yes :-)
[12:38:15] <Blackhex> but you can make a groups
[12:38:20] <wycats> how?
[12:38:55] <wycats> you should be able to do permission add admin *_ADMIN
[12:39:26] <Blackhex> you can add TRAC_ADMIN permission to superuser
[12:39:41] <Blackhex> and you can assign some permission to some "user"
[12:39:50] <Blackhex> and use this user as combo permission
[12:40:09] <wycats> ?
[12:40:10] <Blackhex> i mean assing to some user permission with name of another user
[12:40:13] <wycats> is this documenting?
[12:40:31] <Blackhex> i hope so, i'll try find it
[12:40:34] <wycats> so you do permission add dummy_user A BUNCH OF PERMISSIONS
[12:40:44] <wycats> and then permission add real_user dummy_user?
[12:40:48] <Blackhex> yes
[12:41:08] <wycats> seems like an ugly hack
[12:41:20] <Blackhex> maybe
[12:41:44] <wycats> is that how the _ADMIN permissions are implemented?
[12:42:14] <Blackhex> no _ADMIN premission doesnt differ from others
[12:42:35] <wycats> cool
[12:42:39] <Blackhex> it only depends on how is permission checking implemented on each module
[12:43:00] <wycats> it's weird that you would be able to assign users as permissions
[12:43:05] <Blackhex> http://trac.edgewall.org/wiki/TracPermissions
[12:43:14] <wycats> I've been there
[12:43:21] <wycats> ahhh I see groups on the bottom
[12:43:28] <Blackhex> ok
[12:43:44] <wycats> one thing I couldn't find was documentation of wiki pages...
[12:44:30] * minsu_ju has quit IRC
[12:44:36] <Blackhex> I have to go, so I you need anything else...
[12:44:37] <wycats> read-only that is
[12:44:49] <wycats> a pointer to read-only wiki page doc ;)
[12:45:16] <wycats> also... does authenticated inherit from anonymous?
[12:45:42] <Blackhex> I'm not sure but I don't think so
[12:45:43] <wycats> or do I need to do permission add authenticated anonymous?
[12:46:13] <Blackhex> never test it
[12:47:02] <wycats> mmkay
[12:47:09] <wycats> so what about readonly wiki pages
[12:47:12] <wycats> how do I create them?
[12:47:38] <cmlenz> authenticated *does* inherit from anonymous
[12:47:44] <wycats> great!
[12:47:46] <cmlenz> anonymous is basically "anyone"
[12:48:03] <wycats> it has a different connotation than that, but that's great
[12:48:11] <wycats> now... how do I set a wiki-page as read-only?
[12:48:57] <Blackhex> when you are creating new page and you have apropriate permission, there is read-only checkbox
[12:49:16] <Blackhex> so, good bye for now
[12:49:41] <wycats> I want to make the front-page read-only
[12:50:32] <wycats> got it
[12:50:33] <wycats> done
[12:50:47] <wycats> how does one become a registered user... is that something I have to do with the admin console?
[12:52:05] * coderanger_ has quit IRC
[12:55:12] <wycats> ?
[12:59:40] <cmlenz> http://trac.edgewall.org/wiki/TracInstall#ConfiguringAuthentication
[13:00:10] <cmlenz> if you want registration, there's a plugin on trac-hacks for that
[13:00:25] * jborg has quit IRC
[13:00:26] <cmlenz> http://trac-hacks.org/wiki/AccountManagerPlugin
[13:00:28] * whitelynx has quit IRC
[13:12:06] <asmodai> cmlenz: so, how warm's .de?
[13:12:23] <cmlenz> very :-P
[13:12:35] <cmlenz> soaked in sweat here
[13:12:50] <asmodai> you're not alone
[13:12:56] <asmodai> around 29 degrees still here
[13:12:58] <cmlenz> it's after 10pm and 33°C
[13:13:17] <asmodai> with 40-45 % humidity, tomorrow gonna rain but not cool off.
[13:13:22] <asmodai> ugghn
[13:13:54] <asmodai> this is no north-west european weather
[13:14:40] <pacopablo> global warming! we're all going to die! :)
[13:14:53] <asmodai> You first, we still have scandinavia nearby
[13:14:54] <cmlenz> we are
[13:14:58] <cmlenz> but let's get 0.10 out first ;-)
[13:15:06] <pacopablo> amen brother!
[13:15:09] <asmodai> cmlenz: cute, roadmap to global warming
[13:15:16] <asmodai> got a timeline?
[13:15:29] <cmlenz> for what, apocalypse?
[13:15:33] <pacopablo> well, if we're basing it off of 0.10, then we've got a while :)
[13:15:39] <cmlenz> heh
[13:15:54] <cmlenz> someone's gotta fix that in-flux content-conversion stuff :-P
[13:15:56] <pacopablo> see, it's been jusr aroiund the corner for quite some time :)
[13:16:11] <pacopablo> damn, I really can't type :(
[13:16:19] * asmodai works for the flux capacitor for his DeLorean
[13:18:51] * thansen has joined #trac
[13:22:55] * peppelorum has quit IRC
[13:35:13] * whitelynx has joined #trac
[13:36:10] * agile has quit IRC
[13:47:43] * jborg has joined #trac
[13:56:19] * MasterC has quit IRC
[14:00:06] * milk-it has quit IRC
[14:00:56] * Champion_du_Mond has joined #trac
[14:07:20] <wycats> cmlenz... I was gone... thx for the plugin
[14:07:33] <wycats> how is it going to interface with my .htpasswd?
[14:08:02] <wycats> or do I turn off the .htpasswd auth?
[14:08:14] <pacopablo> you can do either
[14:08:37] <pacopablo> it has form based authentication, or, it can use the plain apache auth
[14:09:16] <wycats> how does it add user to the apache auth?
[14:09:24] <pacopablo> writes to the htpasswd file
[14:09:38] <wycats> interesting...
[14:09:45] <wycats> that's pretty cool
[14:09:56] <wycats> is there any drawback to form-based login?
[14:10:59] <wycats> BTW: I wrote a macro that aggregates parent, children, and related links in one nav-bar
[14:11:03] <wycats> you can look at it at http://proj.jquery.com/docs/Overview/
[14:11:40] * coderanger_ has joined #trac
[14:12:05] * hpnadig has quit IRC
[14:12:11] <wycats> for related links, it combines the links on the page you're viewing with pages that link to it (deduping of course) and takes out children and the parent
[14:13:23] <pacopablo> oooh, I like that plugin
[14:13:34] <pacopablo> you should put a link to it on trac-hacks.org
[14:13:48] <pacopablo> or host it there, which ever
[14:14:04] <pacopablo> as far as form based vs apache auth, it depends what you want.
[14:14:14] <pacopablo> with form based login, you actually get real logout
[14:14:31] <pacopablo> however, you are a bit more limited as to the authentication methods
[14:14:44] <pacopablo> currently htpasswd and htdigest, I believe
[14:14:59] <wycats> I don't really care what auth method I use
[14:15:08] <wycats> I just want to be able to secure my site
[14:15:18] <wycats> and limit stuff to registered users without having to manually add them
[14:15:22] <pacopablo> the only other real difference is one uses the browser's username/password box, and the other uses a web form.
[14:15:44] <wycats> cool
[14:15:49] <pacopablo> then either one is fine for you. 6 one way, 1/2 dozen the other
[14:16:07] <wycats> I was pretty disappointed with the gui tools when I first installed trac today, but trac-hacks seems very cool
[14:16:33] * Riccc has quit IRC
[14:16:35] <pacopablo> trac-hacks is the defacto repository for trac addons
[14:16:42] <wycats> yup
[14:16:46] <wycats> I'm gonna post my macro :)
[14:16:52] <pacopablo> great :)
[14:17:00] <wycats> did you take a look at how it looks on jquery?
[14:17:22] <pacopablo> yeah
[14:17:49] <wycats> and...?
[14:17:55] <pacopablo> and I like it
[14:18:02] <wycats> goodgood
[14:18:07] <wycats> I gotta go... I'll be back soon
[14:18:12] <pacopablo> later
[14:18:20] * wycats has left #trac
[14:24:04] <coderanger_> hmm, can __new__ return something that isn't an instance of the class?
[14:31:19] <pacopablo> no clue. Wouldn't think so, but I've never tried, nor has the thought entered my head :)
[14:31:53] <coderanger_> It can
[14:32:03] <coderanger_> But it needs to be a new object so it doesn't help me
[14:32:59] <coderanger_> The fact that 'Foo().__class__ == Bar' is possible is somewhat scary
[14:34:37] <mitsuhiko> coderanger_: that's fun :)
[14:35:02] <mitsuhiko> that's scary:
[14:35:02] <mitsuhiko> >>> isinstance(type, object) and isinstance(object, type)
[14:35:02] <mitsuhiko> True
[14:35:49] <coderanger_> Heh, having worked with smalltalk for a while that no longer bothers me
[14:37:01] <mitsuhiko> coderanger: ok. than this:
[14:37:01] <mitsuhiko> >>> from pocoo.pkg.core.models import User
[14:37:02] <mitsuhiko> >>> User
[14:37:02] <mitsuhiko> <class 'pocoo.pkg___35129.core.models.User'>
[14:37:06] <mitsuhiko> that's scary ;)
[14:39:15] <mitsuhiko> python is really cool. it even allows you context sensitive imports ;)
[14:39:15] * mjg2 has quit IRC
[14:39:23</