Search Discussions

107 discussions - 1,642 posts

  • Make them classmethods though, like dict.fromkeys. -- Thomas Wouters <thomas at xs4all.net Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
    Thomas WoutersThomas Wouters
    Feb 14, 2006 at 11:15 pm
    Mar 1, 2006 at 3:15 pm
  • The problem is that we are overloading data types. Strings (and bytes) can contain both encoded text as well as data, or even encoded data. Unless the plan is to make bytes _only_ contain encoded ...
    Josiah CarlsonJosiah Carlson
    Feb 18, 2006 at 7:05 am
    Mar 4, 2006 at 2:17 am
  • A bunch of Googlers were discussing the best way of doing the following (a common idiom when maintaining a dict of lists of values relating to a key, sometimes called a multimap): if key not in d: ...
    Guido van RossumGuido van Rossum
    Feb 16, 2006 at 9:11 pm
    Mar 1, 2006 at 1:32 pm
  • I am considering developing a PEP for enabling a mechanism to assign to free variables in a closure (nested function). My rationale is that with the advent of PEP 227 ...
    Almann T. GooAlmann T. Goo
    Feb 21, 2006 at 4:29 am
    Mar 3, 2006 at 9:49 am
  • I'm withdrawing the last proposal. I'm not convinced by the argument that __contains__ should always return True (perhaps it should also insert the value?), nor by the complaint that a holy invariant ...
    Guido van RossumGuido van Rossum
    Feb 20, 2006 at 1:41 pm
    Feb 23, 2006 at 9:59 am
  • After so many attempts to come up with an alternative for lambda, perhaps we should admit defeat. I've not had the time to follow the most recent rounds, but I propose that we keep lambda, so as to ...
    Guido van RossumGuido van Rossum
    Feb 5, 2006 at 5:43 pm
    Feb 11, 2006 at 1:51 pm
  • If you're willing to commit to running a buildbot, and the only thing preventing you is shelling out $$$ to Microsoft, send me e-mail. I'll compile a list to send to the PSF and we'll either poke ...
    Feb 21, 2006 at 1:11 am
    Feb 22, 2006 at 11:59 pm
  • I'm concerned that the on_missing() part of the proposal is gratuitous. The main use cases for defaultdict have a simple factory that supplies a zero, empty list, or empty set. The on_missing() hook ...
    Raymond HettingerRaymond Hettinger
    Feb 22, 2006 at 11:45 am
    Mar 7, 2006 at 7:06 am
  • I was recently reviewing a lot of the Python 2.4 code I have written, and I've noticed one thing: thanks to the attrgetter and itemgetter functions in module operator, I've been using (or been ...
    Alex MartelliAlex Martelli
    Feb 2, 2006 at 10:43 pm
    Feb 15, 2006 at 8:55 pm
  • I keep running into problems with the "const" modifications to PyArg_ParseTupleAndKeywords() (rev. 41638 by Jeremy). I have lots of code of the form char *kw[] = {"itself", 0}; if ...
    Jack JansenJack Jansen
    Feb 10, 2006 at 2:23 pm
    Feb 15, 2006 at 12:25 am
  • Guido seemed accepting to this idea about 9 months ago when I spoke to him. I finally got around to writing up the PEP. I'd really like to get this into Python 2.5 if possible. -Travis An embedded ...
    Travis OliphantTravis Oliphant
    Feb 9, 2006 at 8:00 am
    Feb 14, 2006 at 12:08 pm
  • I'm about to send 6 or 8 replies to various salient messages in the PEP 332 revival thread. That's probably a sign that there's still a lot to be sorted out. In the mean time, to save you reading ...
    Guido van RossumGuido van Rossum
    Feb 14, 2006 at 11:13 pm
    Feb 21, 2006 at 12:31 pm
  • Does anyone have any comments about applying the following patch to asynchat? It should not affect the behavior of the module in any way for those who do not want to use the feature provided by the ...
    Mark EdgingtonMark Edgington
    Feb 5, 2006 at 9:26 pm
    Feb 9, 2006 at 7:42 pm
  • In private email, Phillip Eby suggested to add these things to the 2.5. standard library: bdist_deb, bdist_msi, and friends He explained them as follows: """ bdist_deb makes .deb files (packages for ...
    Guido van RossumGuido van Rossum
    Feb 14, 2006 at 12:04 am
    Feb 20, 2006 at 10:49 pm
  • The above docs are from August 2005 while docs.python.org/dev is current. Shouldn't the old docs be removed? Georg
    Georg BrandlGeorg Brandl
    Feb 13, 2006 at 3:03 pm
    Feb 17, 2006 at 9:56 am
  • Your evidence points to some unoptimized code in the underlying C implementation of Python. As such, this should probably go to the python-dev list ...
    Ben CartwrightBen Cartwright
    Feb 27, 2006 at 11:50 pm
    Mar 12, 2006 at 3:26 pm
  • Hi, I have a student who may be interested in adding syntactic support for sets to Python, so that: x = {1, 2, 3, 4, 5} and: y = {z for z in x if (z % 2)} would be legal. There are of course issues ...
    Greg WilsonGreg Wilson
    Feb 1, 2006 at 6:55 pm
    Feb 6, 2006 at 6:39 pm
  • Noticed that various socket tests are failing today, WinXP, Python trunk: test_socket_ssl Exception in thread Thread-27: Traceback (most recent call last): File "C:\Code\python\lib\threading.py", ...
    Tim PetersTim Peters
    Feb 10, 2006 at 3:17 am
    Feb 13, 2006 at 4:39 am
  • Hi all, Last september, the __len__ method of iterators was removed -- see discussion at: http://mail.python.org/pipermail/python-dev/2005-September/056879.html It was replaced by an optional ...
    Armin RigoArmin Rigo
    Feb 8, 2006 at 2:20 pm
    Feb 10, 2006 at 7:52 pm
  • I just came up with an idea how to resolve the VC versioning problems for good: Python should link with mscvrt.dll (which is part of the operating system), not with the CRT that the compiler ...
    Martin v. LöwisMartin v. Löwis
    Feb 7, 2006 at 10:55 pm
    Feb 10, 2006 at 8:43 am
  • I have now produces a snapshot of a Win64 build for AMD64 processors (also known as EM64T or x64); this is different from IA-64 (which is also known as Itanium)... Anyway, the binaries are ...
    Martin v. LöwisMartin v. Löwis
    Feb 20, 2006 at 11:00 pm
    Apr 23, 2006 at 4:25 pm
  • Attached is the 2.5 release PEP 356. It's also available from: http://www.python.org/peps/pep-0356.html Does anyone have any comments? Is this good or bad? Feel free to send to me comments. We need ...
    Neal NorwitzNeal Norwitz
    Feb 15, 2006 at 5:58 am
    Feb 17, 2006 at 3:36 pm
  • As per Neal's prodding email, here is a thread to discuss where we want to go with the C AST to Python stuff and what I think are the core issues at the moment. First issue is the ast-objects branch. ...
    Brett CannonBrett Cannon
    Feb 15, 2006 at 8:34 am
    Feb 16, 2006 at 12:49 pm
  • Microsoft has recently released their express version of the Visual C++. Given that this version is free for everyone, wouldn't it make sense to ship Python 2.5 compiled with this version ?! ...
    M.-A. LemburgM.-A. Lemburg
    Feb 27, 2006 at 5:40 pm
    Mar 16, 2006 at 2:11 pm
  • Hi, it has been proposed before, but there was no conclusive answer last time: is there any chance for 2.5 to include commonly used decorators in a module? Of course not everything that jumps around ...
    Georg BrandlGeorg Brandl
    Feb 10, 2006 at 9:32 pm
    Feb 18, 2006 at 6:55 pm
  • This is something I've been working on for a bit, and I think it is more or less ready to bring up on this list. I'd like to add a module (though probably not for 2.5). Before you ask, this module is ...
    Crutcher DunnavantCrutcher Dunnavant
    Feb 19, 2006 at 9:52 pm
    Feb 20, 2006 at 2:22 am
  • This could be a replacement for PEP 332. At least I hope it can serve to summarize the previous discussion and help focus on the currently undecided issues. I'm too tired to dig up the rules for ...
    Neil SchemenauerNeil Schemenauer
    Feb 16, 2006 at 2:55 am
    Feb 28, 2006 at 6:03 am
  • First off, let me apologize for bringing up a topic that I am sure that everyone is sick of: Lambda. I broached this subject to a couple of members of this list privately, and I got wise feedback on ...
    Feb 16, 2006 at 7:05 am
    Feb 18, 2006 at 6:11 pm
  • Hello all, Feel free to shoot this down, but a suggestion. The operator module defines two functions : isMappingType isSquenceType These return a guesstimation as to whether an object passed in ...
    Feb 22, 2006 at 11:33 am
    Feb 23, 2006 at 4:27 am
  • [Moving to python-dev] I don't have a strong opinion. Any one else have an opinion about removing --with-wctype-functions from configure? n --
    Neal NorwitzNeal Norwitz
    Feb 16, 2006 at 6:33 pm
    Feb 21, 2006 at 4:17 pm
  • I just noticed that cProfile (like profile) prints to stdout. Yuck. I guess that's to be expected because the pstats module does the actual printing and it's used by both modules. I'm willing to give ...
    Feb 25, 2006 at 8:26 pm
    Feb 26, 2006 at 5:12 pm
  • Just in case you haven't noticed, I just merged the ssize_t branch (PEP 353). If you have any corrections to the code to make which you would consider bug fixes, just go ahead. If you are uncertain ...
    Martin v. LöwisMartin v. Löwis
    Feb 15, 2006 at 10:15 pm
    Feb 19, 2006 at 5:46 am
  • I'm in the process of summarizing the dicussion on the bytes object and an idea just occured to me. Imagine that I want to write code that deals with strings and I want to be maximally compatible ...
    Neil SchemenauerNeil Schemenauer
    Feb 16, 2006 at 12:36 am
    Feb 16, 2006 at 9:53 pm
  • I just realized that there's a bug in the with-statement as currently checked in. __exit__ is supposed to re-raise the exception if there was one; if it returns normally, the finally clause is NOT to ...
    Guido van RossumGuido van Rossum
    Feb 28, 2006 at 5:34 pm
    Feb 28, 2006 at 10:36 pm
  • Martin and I were talking about dropping support for older versions of Windows (of the non-NT flavor). We both thought that it was reasonable to stop supporting Win9x (including WinME) in Python 2.6. ...
    Neal NorwitzNeal Norwitz
    Feb 24, 2006 at 5:44 pm
    Feb 25, 2006 at 1:22 pm
  • I was hoping to get a lot more feedback about PEP 356 and the 2.5 release schedule. http://www.python.org/peps/pep-0356.html I updated the schedule it is now: alpha 1: May 6, 2006 [planned] alpha 2: ...
    Neal NorwitzNeal Norwitz
    Feb 15, 2006 at 5:24 am
    Feb 19, 2006 at 2:03 pm
  • After a small talk with Raymond, yesterday in the breakfast, I proposed in PyAr the idea of start to translate the Library Reference. You'll agree with me that this is a BIG effort. But not only big, ...
    Facundo BatistaFacundo Batista
    Feb 25, 2006 at 9:59 pm
    Feb 27, 2006 at 10:46 pm
  • Hello, my comments on the Path PEP: - Many methods contain the word 'path' in them. I suppose this is to help transition from the old library to the new library. But in the context of a new Python ...
    Giovanni BajoGiovanni Bajo
    Feb 4, 2006 at 7:35 pm
    Feb 8, 2006 at 4:10 pm
  • After some revisions, PEP 357 is ready for more comments. Please voice any concerns. -Travis An embedded and charset-unspecified text was scrubbed... Name: pep-0357.txt Url: ...
    Travis E. OliphantTravis E. Oliphant
    Feb 15, 2006 at 3:41 am
    Feb 17, 2006 at 11:38 pm
  • perhaps trim(), nearly(), about(), defer_the_pain_of() :-) I've waited to think of names until after writing this. The reason for the last name option may become apparent after reading the rest of ...
    Feb 13, 2006 at 5:10 pm
    Feb 16, 2006 at 10:36 am
  • I've been thinking about a function that was recently proposed at python-dev named 'areclose'. It is a function that is meant to tell whether two (or possible more) numbers are close to each other. ...
    Feb 12, 2006 at 6:44 pm
    Feb 14, 2006 at 9:41 pm
  • Hi, as Jim Jewett noted, multifile is supplanted by email as much as mimify etc. but it is not marked as deprecated. Should it be deprecated in 2.5? Georg
    Georg BrandlGeorg Brandl
    Feb 17, 2006 at 12:00 pm
    Feb 21, 2006 at 7:26 pm
  • I finally finished updating PEP 338 to comply with the flexible importing system in PEP 302. The result is a not-yet-thoroughly-tested module that should allow the -m switch to execute any module ...
    Nick CoghlanNick Coghlan
    Feb 11, 2006 at 11:04 am
    Feb 12, 2006 at 3:48 am
  • It isn't completely clear which branch or tag to get, and Google turned up no obvious documentation. Thanks, -- Dave Abrahams Boost Consulting www.boost-consulting.com
    David AbrahamsDavid Abrahams
    Feb 11, 2006 at 2:11 pm
    Feb 11, 2006 at 11:04 pm
  • I was tinkering with something today, and wondered whether it would cause fewer objections if the PEP used the floor division operator (//) to combine path fragments, instead of the true division ...
    Nick CoghlanNick Coghlan
    Feb 4, 2006 at 6:01 am
    Feb 5, 2006 at 10:10 am
  • Cut to the chase: how about being able to write baz(bar(foo(x, y)),z) serially as foo(x, y) - bar() - baz(z) via the above as sugar for baz.__get__(bar.__get__(foo(x, y))())(z) ? I.e., you'd have ...
    Bengt RichterBengt Richter
    Feb 17, 2006 at 9:59 pm
    Feb 18, 2006 at 11:25 am
  • While we're at it, any chance of renaming str/unicode to text in 3.0? It's a MUCH better name, as evidenced by the opentext/openbytes names. str is just some odd C-ism. Obviously it's a form of ...
    Adam OlsenAdam Olsen
    Feb 16, 2006 at 11:51 am
    Feb 17, 2006 at 1:15 pm
  • This is a design question which is why I'm posting here. Recently the NumPy developers have become more aware of the difference between UCS2 and UCS4 builds of Python. NumPy arrays can be of Unicode ...
    Travis E. OliphantTravis E. Oliphant
    Feb 7, 2006 at 7:52 pm
    Feb 9, 2006 at 7:18 am
  • gjc:/usr/lib/python2.4/lib-dynload$ ldd itertools.so libpthread.so.0 = /lib/libpthread.so.0 (0x00002aaaaabcc000) libc.so.6 = /lib/libc.so.6 (0x00002aaaaace2000) /lib/ld-linux-x86-64.so.2 ...
    Gustavo J. A. M. CarneiroGustavo J. A. M. Carneiro
    Feb 8, 2006 at 3:47 pm
    Feb 8, 2006 at 7:18 pm
  • On OSX (10.4.4) the readline module in the svn HEAD fails compilation as follows. This is particularly strange since the buildbot is green for OSX... What could be up with this? building 'readline' ...
    Guido van RossumGuido van Rossum
    Feb 21, 2006 at 2:48 am
    Feb 21, 2006 at 9:45 pm
Group Navigation
period‹ prev | Feb 2006 | next ›
Group Overview
grouppython-dev @

149 users for February 2006

Guido van Rossum: 148 posts Martin v. Löwis: 145 posts Greg Ewing: 101 posts Bengt Richter: 59 posts Nick Coghlan: 51 posts Thomas Wouters: 51 posts Fredrik Lundh: 44 posts Georg Brandl: 43 posts M.-A. Lemburg: 41 posts Josiah Carlson: 39 posts Barry Warsaw: 35 posts Alex Martelli: 34 posts Tim Peters: 34 posts Neal Norwitz: 29 posts Jeremy Hylton: 28 posts Brett Cannon: 27 posts Raymond Hettinger: 27 posts Adam Olsen: 25 posts Raymond Hettinger: 24 posts Stephen J. Turnbull: 24 posts
show more