« first day (1561 days earlier)      last day (3387 days later) » 
00:00 - 19:0019:00 - 00:00

12:00 AM
stackoverflow.com/q/28075949/2359271 way too little to go on here, user's account is gone, who knows why
 
@iCodez Not sure... I'd be hypocritical since my first question was stackoverflow.com/questions/9588331/…
 
user2555451
Your question is not a resource request. Martelli actually said "Can anybody suggest good URLs to such code? (Essays would also be welcome..." and the title of his question says "Good open-source examples".
 
user2555451
That meets the definition of a resource request in my book.
 
heya @Joran - long time no see
 
cbg
 
user2555451
12:11 AM
cbg
 
stackoverflow.com/questions/28120576/… is someone asking the best way to run two str.replaces when one of the old strings is a subset of the other. Is there a better way to do this than regex?
 
hey guys
 
e.g.
In [1]: line = "testing foo foobar bar"

In [2]: repl = {'foo':'foo=spam', 'foobar':'foobar=spambar'}

In [3]: for key in repl:
   ...:     line.replace(key, repl[key])
 
user2555451
That would take the "foo" in "foobar" and replace it with "foo=spam"
 
yup
I know the problem, I'm looking for another solution :)
Looks easily solvable with regex, but alfasin warned against regex
I can't figure out a pretty way of solving it without regex, though
 
12:17 AM
hey @PeterVaro, you do a lot of artistic kind of stuff, yeah?
 
user2555451
Well, if you are working with words, you might be able to split the string on whitespace and then replace the list items.
 
@Joran to what do we honour your presence? :p
 
well about 35 years ago the pharmacy was closed ....
:P
 
ahh... that's fine - the room carries a large supply of anti-psychomatic drugs in the closet... I'll dig up the key for you :p
 
12:21 AM
hah
 
user2555451
They're all made from cabbage extract.
 
well... we have to appear normal don't we? :p
 
just roadblocked a little at work and trying to switch gears in the hope an epiphany strikes
 
@Joran oh - they normally happen at 3am when you actually would like to be sleeping instead from my experience
 
that and its friday afternoon ... im ready to call it a day about :P
lol yeah
 
12:38 AM
anyway, 00:38 here - time for me to try and get some sleep
 
user2555451
rhubarb @JonClements.
 
rbrb for now :)
 
Hi guys I am new here, what is the meaning of "rbrb", "rhubarb", etc. I mean if it is not a secret code...
 
My ride's here. Time to blow this dict.pop stand.
 
user2555451
@elyase - It means "bye" and "goodbye". See here: sopython.com/salad
 
user2555451
12:43 AM
Actually, "rbrb" means "brb", but lots of people use it for "bye".
 
@iCodez, oh thanks, that's exactly what I was looking for
 
user2555451
rhubarb to you too @AirThomas
 
@iCodez, Melon, :-)
 
user2555451
Watermelon!
 
Has any one calculated how many points/day are given in average for the Python (or any other) tag?
 
12:52 AM
no but the people in this chat room probably split 99% of the points :P
 
that's for sure!
 
user2555451
Well, we got Martijn and a few other super high-rep users. I'd imagine they'd pull in quite a bit.
 
user2555451
Although , , and are all twice as big as .
 
Yep, I have been thinking of going to C++ to mine points. Can any experienced user tell wether there were more available points/day lets say 5 years ago? I am under the impression that it is getting slower lately.
 
ok off to home ... maybe ill actually have time to play some video games this weekend
 
user2555451
1:00 AM
rhubarb @JoranBeasley
 
rhubarb
 
user2555451
@elyase Can't help you there. I've only been here a year and a half, so I'm still a SO child of sorts. :)
 
user2555451
Although I'd say that SO has become more strict lately about what is on-topic. You can't make a few hundred upvotes asking about what people's favorite coding joke is anymore.
 
user2555451
Which is excellent in my opinion, but it has the side effect of making it slightly harder to gain rep.
 
wow, almost 60k in a year is impressive.
 
user2555451
1:08 AM
thanks. I'm trying to get 100k in 2 years, but that seems a little far out. I should be able to get 80k though.
 
do you use some program to monitor your tags?
 
oo. I found a drink with a picture of a crow on the bottle, this is awesome
 
user2555451
Not really. I just keep the 'newest' page open in my browser.
 
May be I will try to do something like that, looks like one can make one request per minute.
 
1:26 AM
cbg
 
user2555451
cbg
 
cbg
 
I'm so confused by that question I posted earlier. The other answerer maintains that trying to code for "edge cases" (e.g. the search term appears somewhere other than the start of the line) will "clutter the code and be mostly unuseful"
while simultaneously suggesting if key==line[0:len(key)] instead of if key in line
and bashing my regex solution saying: "I wouldn't recommend using regex unless it makes the code much more readable or makes the task much simpler. This case is neither"
beats head on wall
cbg martijn
 
regex are a bit annoying but a viable solution
 
I agree with that old axiom "I had a problem, then I used regex, now I have two problems" but I can't find any other way to do this gracefully
other than tokenizing the input
and we haven't gotten sample input
 
user2555451
unclear or too broad, take your pick.
 
The OP has edited the question with a new problem. Should the edit be reverted?
-1
Q: Merging and concatenating rows in pandas data frame

AnastasiaI have a data frame that looks like this: DAY NAME COUNT 234 Name1 1 234 Name2 5 235 Name3 2 236 Name4 10 ... I would like to have the following result: DAY NAMES 234 Name1 1, Name2 5 235 Name3 2 236 Name4 10 I tried to use groupby('DAY'), but it didn't work. Edit: the solution provided fi...

 
user2555451
It sounds more like the OP accepted your solution without actually trying it. But this doesn't need to be in the question. He should have commented on your answer.
 
user2555451
I'll undo the edit and also vote to close since the OP didn't ask a question and also didn't provide any code.
 
I think she tried the version with StringIO and it worked but now there is something weird in her CSV file. In my opinion that's a new question. The original question had nothing to do with the CSV.
 
user2555451
1:59 AM
That, or she didn't state it clearly enough in her original post. Either way, her edit is invalid; you should not be complaining about an answer in the question.
 
3:03 AM
I just awoke from a horrifying dream where SO was awash with questions having titles like: "I tried to compile this code -- you won't believe what happened next!"
 
Buzzfeed presents : the top 10 stack overflow questions
Number 3 will make you cry!
 
 
2 hours later…
4:39 AM
Cabbage all
 
morning
 
 
3 hours later…
7:38 AM
cbg
@ZeroPiraeus saw that pic of yours yesterday but didn't open, I thought it was a sorting algorithm :D:D
 
Hey all......I am new to stackoverflow....I have learnt the basics of python....please suggest me some modules or projects to do in python
 
8:01 AM
hmm, depends on what you like to do :d
if you want to solve mathematical problems with python (good for learning), projecteuler.com can be fun, but remember that you cannot ask in stackoverflow questions on ~"how to make a program to answer this problem" ;) just that ~"my code has bug"
 
8:26 AM
@Shivakumar But your profile says you've been a member since May last year...
 
8:43 AM
:D:D
 
@cel why?
that is a rather common question :D
I guess
 
cel
Is there a better way to do this, like saving a binary to disk, or should I save the pipeline in separate peices, load those, then reconstruct the pipeline inside the program?
Do you have an answer for that?
imo that depends highly on what OP wants to do...
 
8:59 AM
I think what needs to be done is "unclear what youre asking" or "show us some code"...
hmm
too broad :d
@cel commented and vc too broad
 
cel
yea, probably better than opinion based :)
 
or also unclear what you're asking
 
I havent even used scikit learn really, but ...
 
cel
another candidate
 
9:04 AM
what I read on the net, joblib pickling should be most effective... thus if it is too slow then io is limiting there...
 
cel
the problem is that questions without code need a lot of context, to be answered properly
 
too broad
that is clearly too broad
"what features" damnit, use SGD with everything you've got
 
cel
Haha, that's not how ML works :D
 
works for me :D
 
cel
:)
 
cel
I am working mostly with bayesian ml techniques, so I am not too familar with most of the basic stuff :(
 
yeah, I am not a statistician :P but ...
been testing stuff on spam detection
and vowpal wabbit works pretty well there
and with it, you can literally throw everything you've got
teach it with 200 000 classified tweets and 5 iterations over it and throw every single feature you can calculate from it, making cross products of some features as synthetics and it trains it in seconds
 
cel
hmh, sounds cool :)
 
cel
These techniques are cool, but we not only interested in the predictions but also in the underlying mechanism/model. While those black box algorithms are cool for many problems where predictions are the main goal, they do no care about the underlying model.
the machine-learning tag is a magnet for bad questions :(
 
9:45 AM
Ye gads, I just answered a PHP question.
 
@corvid I do, yeah.. why? :)
 
10:04 AM
re-cbg
 
Cbg
 
10:21 AM
cbg
 
10:41 AM
cabbage, i just discovered this: sopython.com/salad, and its bananas.. :)
 
11:08 AM
-1
Q: Determining the range specified values

Paraler koderNeed help with my school exam :(input: an indeterminate number of numbers - the individual values; output: number - a range of values, the difference highest and lowest) Please send me most easy file

> Please send me most easy file
 
Avinash asked him to post an address, he actually posted one >_<
 
cel
I wonder why a 50k user needs to troll
 
Greetings and salad-tations.
 
@Ffisegydd :'(
 
@Ffisegydd He's just posted another one! I s'pose we shouldn't email-bomb him...
 
11:54 AM
@PM2Ring Funny how some users think it must've been a fluke when their post gets closed, downvoted and deleted within minutes.
Hrm, that was not nice, I'll just post that again.
Sometimes 'again' means 12 hours later to see if there is a more receptive audience then.
Reminds me of some distant relatives that always had such bad luck with the neighbours.
They always ended up in arguments with their neighbours, every time they moved.
At some point doesn't it occur to you that maybe it is not the neighbours?
 
@MartijnPieters i like the fact how you say distant relatives haha ^^
 
I'm trying to run this command "import posix" in python 3.4 in windows bu i get this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'posix'
can anyone help me?
 
There is no posix module on Windows, no.
 
is there anyway to import it?
 
that module would be primarily for linux and mac i think..
 
12:03 PM
@MartijnPieters IME, it does not occur to such people that they might be the ones in the wrong.
 
what functionality are you looking for?
 
@MartijnPieters Funny about that... :)
 
@Black-Hole seems you should be using the os module anyway docs.python.org/2/library/posix.html
 
just need to run this script:
i tried to replace posix with os but got another error,
sry i am noob in python
 
@Black-Hole, sorry bud couldn't tell you without looking into it more, why not just download virtual box and install ubuntu or something , shouldnt take you half an hour and you can run it as is. or it seems like you might be better off just download kali linux if you want to do secuirty type stuff
 
12:20 PM
This stackoverflow.com/questions/28122423/… is annoying me. The error in the question is un-reproducible, and the OP hasn't responded to requests for full traceback or clarification.
Oh, and there was originally an indentation error which someone "kindly" edited out, making several of the comments and remarks in answers irrelevant.
 
Hello: If I run this code: pastebin.com/1WuP3T7b in a terminal using python 3, and then hit ctrl+C to to a keyboard interrupt, the terminal session hangs. Is this because I have a while True loop in my run() function? How might I fix the issue?
 
12:39 PM
The one existing answer (that I wrote) has 5 quantifiable metrics and surveys 8 engines (using 1 of those metrics). I am seeking for others to contribute additional metrics [and engines]. — Samuel Marks 1 min ago
I am done with him.
 
Downvoted and close voted
 
Melons :)
Hmmm, I often use Melons instead of Melon to mean Thanks. Should we add an entry in Salad?
 
cel
0
A: Square matrix length of path in Python

mooseWhat you are looking for is called "[Floyd-Warhall algorithm](Floyd–Warshall algorithm)".

hmh, now that's not an answer, but a comment, right?
 
1:11 PM
@cel Borderline, but he's edited it to include code, so it's an answer now.
If he'd said: "What you are looking for is this." then it'd be not an answer, since it would be useless if the link died. But he did actually name the algorithm, so it doesn't count as a link-only answer.
 
@Black-Hole That module imports posix then doesn't use it.
That script is rather.. badly written
It claims to use Python 3 but then all the code uses Python 2 modules.
Why use codecs.open() when plain open() would do, for example?
 
@MartijnPieters I didn't look at the code, but the bad English in the preamble set off my low-quality radar.
 
getopt is deprecated in favour of the far more flexible argparse.
Why use a signal handler for keyboard interrupts? Python handles that part for you.
Its written by someone used to writing C code, consulting a Python 2 book.
The sys.exit() at the end is redundant and useless too.
closing the socket for socket exceptions? The socket is no longer open, if it ever was, by that time.
etc. etc. etc.
 
@MartijnPieters I suppose I ought to get around to learning argparse one of these days...
 
Then they use codecs.open() to open a file in binary mode so they can count the number of lines fast (using stackoverflow.com/questions/845058/… by the looks of it), but then read the whole file again to get the passwords out, which are one to a line. Using readlines(). Sigh.
They also never heard of struct, opting to manually decode bytes instead.
If properly written, that script could be done in less than half the lines used now.
My, Padriac is taking the downvote rather personal.
@MartijnPieters, well if I did not have to waste time arguing with you I would have pointed out all the mistakes already. — Padraic Cunningham 32 secs ago
That made me laugh. Better not do that in the comments.
 
1:58 PM
@MartijnPieters Padriac: An early Irish computer, in the same class as Eniac and Maniac :)
 
@PM2Ring except the a and i are transposed :-P
 
@MartijnPieters Well, you transposed them in the comment I linked to, which is what prompted my pun. :)
rhubarb
 
@PM2Ring oops!
indeed I did.
and I get mildly annoyed when people do that to my name. Sorry Padraic, if you are reading this.
 
DSM
2:18 PM
Glad-that-week-is-over cabbage for all!
 
cbg DSM
 
cbg all
 
DSM
I kind of like the "Martjin" spelling, actually -- it's a cross between "Martin" and "jinn", which would explain a few things..
 
@DSM It is Martijn and not Martjin
 
@BhargavRao DSM is well aware of that, I think.
 
DSM
2:22 PM
@BhargavRao: I know, I was referring to the transposition Martijn and PM 2Ring were discussing about ten lines ago..
 
Oh... Punny guys
 
@DSM It'd be an improvement over the usual way Americans attempt to pronounce my name, at any rate.
 
@BhargavRao The OP edited the question to add the asterisk
 
DSM
@Martijn: to be honest, I wasn't 100% sure until I heard you say it.
 
@vaultah It is sad that unutbu had commented that earlier and someone else has answered it now
 
2:24 PM
They see the ij and go I know, that must be Spanish or somethin'.
 
DSM
My best friend is Frisian and I think I asked him about it once, but I don't think I remembered what he said at the time.:-)
 
So it becomes Marti-g-n.
All those confusing European languages..
 
How to pronounce erykson
 
@Martijn yup - don't worry - soon Salad will be the lingua franca of the world - muhahahha muhahahhah
 
Guido van Rossum has long ago given up trying to explain his first name is not necessarily Italian.
 
@BhargavRao Context? Much like Erikson, I'd imagine.
 
I had posted a partial correct answer and a guy called erykson helped me to make it fully correct. Why do they keep such confusing spellings?
 
DSM
When I first heard GvR's name all those years ago I thought it was just one of those neat obviously mixed-heritage names, like, I don't know, Rhiannon Nagasawa, or Amélie Balasubramanian.
 
The dutch Guido has the same roots as the latin Guido.
But it was originally germanic.
Guido is a given name Latinised from the Old High German name Wido. The given name Guy is the Norman-French version of this name. In the United States and Canada, guido is sometimes used as a pejorative for certain Italian-Americans deemed to fit a particular ethnic stereotype. == People named Guido == === Given name === Guido of Acqui (c. 1004–1070), bishop of Acqui Guido of Cortona (c. 1190–1250), saint and founder of a convent in Cortona (Tuscany) who joined Franciscan friars in 1211 Guido of Arezzo (991/992–after 1033), (also Guido Aretinus, Guido da Arezzo, Guido Monaco, or Guido D'Arezzo),...
The dutch version of that page is a lot more detailed about the origins.
 
DSM
2:39 PM
Wow-I-just-mentioned-the-name-Rhiannon-and-now-Fizzy-is-here cabbage for @Ffisegydd!
 
:D
A passing visit, going to be heading out soon for beer and Nepalese food.
 
Anyone from Canada present here?
 
DSM
Yours truly and inspectorG4dget are the poutine-eating regulars, although I don't see him about at the moment.
 
Wanted to ask about Dalhousie Univ in Halifax
 
Me and GF were discussing moving to America. Then we decided Canada is a better choice because nice people and healthcare.
 
2:46 PM
9gag approves your choice
 
@Ffisegydd whatever you do, don't pick Ontario. Ontario is a dull place.
Flat, and gridded with roads all alike.
 
DSM
@BhargavRao: Dalhousie's a fine school. It's not one of Canada's top tier repwise (U of T/McGill/UBC, U of A/C/Queen's) but is solidly in the second group. Seldom a destination school, but there's no reason it shouldn't be if someone's interested in something they're offering.
 
@DSM Thanks, I've got a internship offer there and made it to the second round. Don't know whether to continue
 
DSM
FWIW Halifax is a great city, IMHO.
 
But will it be worthwhile to accept their invitation and take part in the second round. (There are 3 rounds to pass before I can get the conformation)
 
2:51 PM
I know the file is mostly UTF-8 because I am looking at the content and I can see it is a none-English language. — TJ1 1 min ago
facepalm
 
Wow.
 
DSM
@BhargavRao: that's entirely dependent on things only you can possibly know. :-)
 
That is my new favourite comment ever.
 
I think I should learn more about Unicode because this comment doesn't look very terrible to me :D
 
Thanks, But I'm still confused ...
 
DSM
2:56 PM
"I know the file is UTF-8 as I recognize the language as well and I know that is UTF-8." I suspect the comment section isn't going to be enough to fix this..
 
It will get interesting (grabs popcorn)
 
The one time I've been there gives me great authority on the Canadian province, of course.
 
Which part are you based @DSM?
 
@MartijnPieters you mean the roads?
 
DSM
Ontario itself is four times larger than Britain by surface area, so it's hard to make generalizations..
 
3:04 PM
@DSM I'm channeling my inner Englishman, and declare in a loud voice that my opinion of a place I visited once should be taken as gospel.
 
DSM
@Ffisegydd: currently live to the north of the largest city, which is where I did my undergrad many years ago. Hope to get back out home to Alberta within the next few years.
 
@vaultah yeah, them's the roads.
 
Hah, okay. I see such (or worse) roads every time I leave the home :D
 
@DSM In any case, we enjoyed visiting Niagra; my sister-in-law cached in a favour to get us a helicopter ride over the falls.
 
@MartijnPieters Need help from you
1
A: Whats wrong with this? (Python)

Hackaholicyou dont need brackets in if block it should be like this: if command == "exit" or command == "Exit": # no brackets here break while loop1 == 'true': # no bracket here your password: password = input("Password Please : ") # it is password with 2 's' not 3 `s` you dont need brac...

Check his demo
 
3:08 PM
Yup, my help is not needed, everyone is handling it just fine.
 
Thanks
 
goes to have some lunch, rhubarb.
 
He has got 2 upvotes for that?
 
user2555451
I actually like how Python forbids inline assignment. People sneak those into the worst places in other languages.
 
@BhargavRao he's still 14 points up..
 
DSM
3:09 PM
On the whole I think it's good, but you still see people accidentally typing x == 2 when they mean x = 2, so sometimes it just moves where the bugs are..
 
@MartijnPieters Yeah ... He'll come down soon
 
user2555451
I'm ok if you do it in a prominent place, like an if-statement or while loop condition. But burying it in a line is just evil.
 
DSM
When you downvote and an answer is deleted, do you get the rep back?
 
Yeah, Have got back all of mine
 
Yes
Otherwise I'd lose 1466 of my precious rep points
 
user2555451
3:12 PM
The bad answer gets recorded though. If you do it enough, it could cause an answer ban.
 
When I open my profile in the morning I'll have got +1 magically ... Thanks to deleted posts
 
Arrgh
 
DSM
Too many simultaneous conversations? ;-)
 
No, it was intended for Google :P
 
user2555451
Oh no. Now he's using SO and family instead of Google too. When will the madness end?!
 
DSM
3:15 PM
Too crazy for me! Time to escape. Rhubarb for all (and cabbage-rhubarb for @davidism!)
 
cbg rbrb
 
user2555451
cbg rbrb
 
(is taking a long time to clear the Low Quality queue or people can't be bothered to read the context).
oh, and re-cbg
 
I have already up voted Martijn Pieters answer, the only answer other that my own. — Ben 27 mins ago
 
user2555451
"ugh. I can't robo-review this wall of text. I'll just skip instead."
 
Lots of math quiz questions recently :)
 
Sigh... People closed the same question as a dup of a canon question just because the title is the same... I reopened once with my Gold hammer, not sure what to do now
 
@thefourtheye I think you've done what you can
 
The original question title is Difference between function f(){} and f = function(){}? and the canon question title is var functionName = function() {} vs function functionName() {}. But the var makes all the difference... :(
 
4:52 PM
gong at the last cv-pls
 
5:11 PM
I just realized name mangling rules are weirder than I thought
` class C:
def __init__(self):
self.__x = "hello"

class D:
def __init__(self):
self.obj = C()
self.obj.__x = 'HEY'
print(self.obj.__dict__)

D()`
 
class C:
def __init__(self):
self.__x = "hello"

class D:
def __init__(self):
self.obj = C()
self.obj.__x = 'HEY'
print(self.obj.__dict__)

D()
woops.
 
Amit posted a feature request. I downvoted the request but before I could get my comment as to why out, he already deleted it.
 
it's just whatever class you happen to be inside of.
 
Not exactly committed to his idea, is he.
@RyanHaining Yes, that's rather the point.
The stated goal is to avoid naming conflicts between classes and their subclasses.
 
5:15 PM
@MartijnPieters I had thought it was the name of the type of the object
 
You can use CTRL-K to indent code by 4 spaces in chat.
@RyanHaining Yes, where class == type
The mangling is done at compile time.
 
user2555451
Considering votes on Meta represent opinion, he deleted his post with only 1 person's opinion. Doesn't sound very sure of himself...
 
It has nothing to do with where you set the name on.
 
@MartijnPieters doesn't it? because that'll give an object of type C with _D__x
and its own _C__x of course.
 
@RyanHaining Python has no idea what kind of object C is bound to by the time __init__ runs.
What if I later did C = lambda: 'foo'?
 
5:18 PM
oh I see, the mangling is done wayy earlier then
 
The compiler takes any identifier starting with __ (and not ending with it) used in the class body or in methods, and replaces that name with one with _NameOfClass prefixed.
 
that makes sense
 
I see that the documented behaviour makes no mention of compile time though.
hrm, it does.
> Private names are transformed to a longer form before code is generated for them.
 
I should see how weird the behavior I can get of this is
 
For example:
It applies to all identifiers, not just attributes.
>>> class Foo(object):
...     def __init__(self):
...         try:
...             print __global
...         except NameError:
...             print 'Found no __global or _Foo__global global name'
...         __local = 'foo'
...         print locals()
...
>>> Foo()
Found no __global or _Foo__global global name
{'self': <__main__.Foo object at 0x102804b50>, '_Foo__local': 'foo'}
<__main__.Foo object at 0x102804b50>
>>> __global = 'not mangled'
>>> _Foo__global = 'mangled'
>>> Foo()
mangled
{'self': <__main__.Foo object at 0x1029496d0>, '_Foo__local': 'foo'}
 
5:24 PM
Was doing a project in Open Library ... when I discovered this
<http://*/lod/books/simple#OL591237A> <http://*/lod/books/simple#bio> "ertwertwret wetber twgt wrbf  veffgkscnbzx" .
<http://*/lod/books/simple#OL591237A> <http://*/lod/books/simple#name> "Thomas K. Landauer" .
<http://*/lod/books/simple#OL591237A> <http://*/lod/books/simple#personal_name> "Thomas K. Landawetwertwertwerw" .
<http://*/lod/books/simple#OL591237A> <http://*/lod/books/simple#alternate_names> "jdskfaagshdgkfashgdfkhagskdfa" .
<http://*/lod/books/simple#OL591237A> <http://*/lod/books/simple#entity_type> "sjkfgawhegkwgerhghdgfahgegqwgrq" .
Some Guy is pissed off I guess
 
all of the __func__ methods have to be special cased then somehow it seems
or, it doesn't mangle names with that form at all it seems
 
@BhargavRao that or the cat walked across the keyboard.
 
Yeah ...
 
"Any identifier of the form __spam (at least two leading underscores, at most one trailing underscore)"
 
user2555451
The name mangling only applies to attributes which start with __.
 
5:29 PM
@RyanHaining Yes, only names with leading double underscores are mangled. The rest is excluded explicitly.
> When an identifier that textually occurs in a class definition begins with two or more underscore characters and does not end in two or more underscores, it is considered a private name of that class.
as well as
> If the class name consists only of underscores, no transformation is done.
 
I guess the last part makes sense
since which are leading and which are trailing in ___
 
5:44 PM
Why would 193k user answer a question like this?
 
6:17 PM
cbg
:D
@vaultah should now delete that to make that 193k user lose that rep :D
 
6:45 PM
@AnttiHaapala [tag:delv-pls] is supported by the same extension that does [tag:cv-pls].
 
I voted to close for the usual 'debugging' off-topic reason.
There is no expected output. A why doesn't this work doesn't constitute a proper debugging question.
 
I am afraid Alex might be bored of answering questions like this and would stop answering again :(
 
There are 3 users with enough rep to know better.
@thefourtheye He's doing that a lot.
We both posted the same number of Python answers in the past 30 days. But I got more votes.
I wonder if that has to do with the questions we pick to answer.
 
LOL, All the answerers are above 35k rep (Except 1)
 
6:50 PM
Well, not wanting to sound evil or anything, but has done absolutely fine in Alex's absence ;)
 
not wanting to sound evil ..... EVIL twin
 
@MartijnPieters Hmmm, you are right. SO has changed a lot since he stopped answering.
 
@MartijnPieters Quality matters not quantity, Even I may answer 261 questions, but my rep will end up in the red
 
@BhargavRao Finally!!!
 
00:00 - 19:0019:00 - 00:00

« first day (1561 days earlier)      last day (3387 days later) »