Search Discussions

142 discussions - 1,377 posts

  • Hi all, As the subject of this e-mail says, the attached patch adds a "switch" statement to the Python language. However, I've been reading through PEP 275 and it seems that the PEP calls for a new ...
    Thomas LeeThomas Lee
    Jun 10, 2006 at 2:27 pm
    Jun 26, 2006 at 11:26 pm
  • I'm glad to see Anthony ratcheting down. At this point, we need to be fixing bugs and improving doc. Maybe Anthony and I should have a contest to see who can revert the most changes. :-) There are at ...
    Neal NorwitzNeal Norwitz
    Jun 30, 2006 at 7:05 am
    Jul 11, 2006 at 11:09 am
  • I have been working on a design doc for restricted execution of Python as part of my dissertation for getting Python into Firefox to replace JavaScript on the web. Since this is dealing with security ...
    Brett CannonBrett Cannon
    Jun 22, 2006 at 12:33 am
    Jul 9, 2006 at 9:56 am
  • I've written a new PEP, summarizing (my reaction to) the recent discussion on adding a switch statement. While I have my preferences, I'm trying to do various alternatives justice in the ...
    Guido van RossumGuido van Rossum
    Jun 26, 2006 at 7:23 pm
    Jun 30, 2006 at 8:19 am
  • As requested in PEP 360, please inform me of any issues you find so they can be corrected in the standalone package and merged back to the trunk. I just wasted time cutting an 0.1.1 release of the ...
    Phillip J. EbyPhillip J. Eby
    Jun 12, 2006 at 3:55 am
    Jun 19, 2006 at 9:52 pm
  • I am getting tons of "ImportWarning: Not importing directory". See below for examples. It is impractical for me to reorganize our directory structure. I'd be busy for a week or more and people would ...
    Ralf W. Grosse-KunstleveRalf W. Grosse-Kunstleve
    Jun 22, 2006 at 12:58 am
    Jul 1, 2006 at 6:10 pm
  • As I have posted to comp.lang.python, I am not happy with Python's numerical robustness - because it basically propagates the 'features' of IEEE 754 and (worse) C99. Yes, it's better, but I would ...
    Nick MaclarenNick Maclaren
    Jun 15, 2006 at 9:21 pm
    Jun 25, 2006 at 8:49 pm
  • Hello, Recently I discovered that a small change to the Python grammar that could help me a lot. It's simply this: Currently, the expression "x[]" is a syntax error. I suggest that it will be a valid ...
    Noam RaphaelNoam Raphael
    Jun 9, 2006 at 3:53 pm
    Jun 18, 2006 at 9:04 pm
  • It's June 9 in most parts of the world. The schedule calls for beta 1 on June 14. That means there's less than 4 days until the expected code freeze. Please don't rush to get everything in at the ...
    Neal NorwitzNeal Norwitz
    Jun 9, 2006 at 6:23 am
    Jun 20, 2006 at 3:49 am
  • xturtle.py, extended turtle graphics a new Tkinter based turtle graphics module for Python I just have released xturtle.py (v.0.91). It can be found at: ...
    Gregor LinglGregor Lingl
    Jun 28, 2006 at 10:57 am
    Jun 29, 2006 at 11:18 pm
  • ...claims: Note that for even rather small len(x), the total number of permutations of x is larger than the period of most random number generators; this implies that "most" permutations of a long ...
    Alex MartelliAlex Martelli
    Jun 10, 2006 at 7:04 pm
    Jun 14, 2006 at 1:22 am
  • Mitch Chapman [1] tripped over the fact that relative imports don't like main modules because __name__ doesn't contain any package hierarchy information. It occurred to me that a slight modification ...
    Nick CoghlanNick Coghlan
    Jun 27, 2006 at 12:03 pm
    Jul 1, 2006 at 9:59 am
  • Greetings! Although python has had full unicode support for filenames for a long time on selected platforms (e.g. Windows), there is one glaring deficiency: It cannot import from paths containing ...
    Kristján V. JónssonKristján V. Jónsson
    Jun 16, 2006 at 1:44 pm
    Jun 20, 2006 at 4:38 pm
  • The most important outstanding issue is the xmlplus/xmlcore issue. It's not going to get fixed unless someone works on it. There's only a few days left before beta 1. Can someone please address this? ...
    Neal NorwitzNeal Norwitz
    Jun 9, 2006 at 6:33 am
    Jun 12, 2006 at 11:05 pm
  • Python and Jython import semantics differ on how sub-packages should be accessed after importing some module: Jython 2.1 on java1.5.0 (JIT: null) Type "copyright", "credits" or "license" for more ...
    Fabio ZadroznyFabio Zadrozny
    Jun 11, 2006 at 10:31 pm
    Jul 6, 2006 at 7:24 am
  • Jackilyn is adding logging to several stdlib modules for the Google Summer of Code (PEP 337), and asked me to review her first few changes. There were a few comments that I felt I should double-check ...
    Jim JewettJim Jewett
    Jun 5, 2006 at 1:27 am
    Jun 7, 2006 at 12:32 am
  • This seems sub-optimal. I'm afraid I don't follow the Windows track closely; has this been fixed for 2.5, or should it be reported as a bug? Bill
    Bill JanssenBill Janssen
    Jun 16, 2006 at 5:06 pm
    Jun 20, 2006 at 9:43 pm
  • I just submitted http://python.org/sf/1501934 and assigned it to Neal so it doesn't get forgotten before 2.5 goes out ;) It seems Python 2.5 compiles the following code incorrectly: ... g += 1 ... 2 ...
    Thomas WoutersThomas Wouters
    Jun 7, 2006 at 12:07 am
    Jun 15, 2006 at 7:49 pm
  • http://docs.python.org/dev/whatsnew/ports.html says: The PyRange_New() function was removed. It was never documented, never used in the core code, and had dangerously lax error checking. I use this ...
    Ralf W. Grosse-KunstleveRalf W. Grosse-Kunstleve
    Jun 21, 2006 at 11:38 pm
    Jun 24, 2006 at 1:30 pm
  • In string_replace, there is if (PyString_Check(from)) { /* Can this be made a '!check' after the Unicode check? */ } #ifdef Py_USING_UNICODE if (PyUnicode_Check(from)) return ...
    Georg BrandlGeorg Brandl
    Jun 16, 2006 at 11:57 am
    Jul 1, 2006 at 9:41 am
  • Hello Python Dev, I am trying to understand the correct semantic of the isinstance built-in function and while doing so, I came across few cases which raise some questions. 1) First example - a class ...
    Martin MalyMartin Maly
    Jun 27, 2006 at 12:16 am
    Jun 28, 2006 at 12:41 am
  • Setobject code allocates several internal objects on the heap that are cleaned up by the PySet_Fini function. This is a fine design choice, but it often makes debugging applications with embedded ...
    Alexander BelopolskyAlexander Belopolsky
    Jun 27, 2006 at 6:09 pm
    Jul 3, 2006 at 3:10 pm
  • Planet is a feed aggregator written in Python. It depends heavily on SGMLLib. A recent bug report turned out to be a deficiency in sgmllib, and I've submitted a test case and a patch[1] (use or ...
    Sam RubySam Ruby
    Jun 11, 2006 at 8:26 pm
    Jun 12, 2006 at 3:29 pm
  • That hits the nail on the head. If something is added to the standard library, it becomes part of Python and must be controlled by whoever controls Python. Otherwise there will be chaos. If a ...
    Edward C. JonesEdward C. Jones
    Jun 12, 2006 at 7:42 pm
    Jun 13, 2006 at 12:22 am
  • Folks, I've just run a code coverage report for the python2.4 branch: http://vallista.idyll.org/~t/temp/python2.4-svn/ This report uses my figleaf code, ...
    Titus BrownTitus Brown
    Jun 15, 2006 at 5:19 pm
    Jun 21, 2006 at 10:56 pm
  • It would be an important move towards world peace, if it didn't inspire whole new SCM-holy-wars :-) I have a fair bit of experience with different SCM (VC, source control tool, however you want to ...
    Thomas WoutersThomas Wouters
    Jun 12, 2006 at 9:31 pm
    Jun 16, 2006 at 2:48 am
  • Now that ctypes is no longer an externally maintained module, imo the repository should be moved from SF cvs to python.org svn. The current layout is different than the main python trunk, and it ...
    Thomas HellerThomas Heller
    Jun 23, 2006 at 10:02 am
    Jul 3, 2006 at 4:20 pm
  • I have gotten some questions from people about why cripple 'file' (and probably 'socket' if they cared), asking whey I didn't just remove the 'file' built-in from built-ins. Problem is that I still ...
    Brett CannonBrett Cannon
    Jun 29, 2006 at 6:48 pm
    Jul 1, 2006 at 8:27 pm
  • In developing a cPickle module for IronPython that's as compatible as possible with CPython, these questions have come up: - Where are object.__reduce__ and object.__reduce_ex__ defined, and how does ...
    Bruce ChristensenBruce Christensen
    Jun 30, 2006 at 1:17 am
    Jun 30, 2006 at 8:24 pm
  • Until today, it hadn't really occurred to me that once could mean once per module load rather than once per defining scope. I suppose that is reasonable if the values really are constant, but most of ...
    Jim JewettJim Jewett
    Jun 28, 2006 at 4:12 pm
    Jun 29, 2006 at 5:22 pm
  • Python 2.5 ships with uuid.py and now I want to ask you about its backward compatibility. uuid.py says in its docstring: This module works with Python 2.3 or higher. And my question is: Do we plan to ...
    George YoshidaGeorge Yoshida
    Jun 18, 2006 at 3:16 am
    Jun 20, 2006 at 5:08 pm
  • Maybe this belongs in the dev faq. I didn't see anything there or in the Subversion book. I have three Python branches, trunk, release23-maint and release24-maint. In the (for example) ...
    Jun 8, 2006 at 6:52 pm
    Jun 9, 2006 at 2:28 pm
  • Thomas and others, Has anyone else seen failures in test_ctypes on older Mac OS X/PowerPC? Results are below. This is running a build of the trunk from last night: ./configure && make && ./python.exe ...
    Trent MickTrent Mick
    Jun 20, 2006 at 5:05 pm
    Jul 7, 2006 at 4:19 pm
  • FYI, here's the minimal set of failing tests: $ python_d ../Lib/test/regrtest.py test_file test_optparse test_file test_optparse test test_optparse failed -- Traceback (most recent call last): File ...
    Tim PetersTim Peters
    Jun 9, 2006 at 2:05 am
    Jun 9, 2006 at 4:21 am
  • When the result of an expression is None, the interactive interpreter correctly suppresses the display of the result. However, it also suppresses the underscore assignment. I'm not sure if that is ...
    Raymond HettingerRaymond Hettinger
    Jun 7, 2006 at 7:23 pm
    Jun 8, 2006 at 2:31 am
  • I Have been thinking about software floating point, and there are some aspects of Python and decimal that puzzle me. Basically, they are things that are wanted for this sort of thing and seem to be ...
    Nick MaclarenNick Maclaren
    Jun 30, 2006 at 6:44 pm
    Jun 30, 2006 at 8:30 pm
  • The implementations of PEP 328 (explicit relative imports) and PEP 338 (executing modules as scripts) currently have a fight over the __name__ attribute of a module. The -m switch sets __name__ to ...
    Nick CoghlanNick Coghlan
    Jun 18, 2006 at 2:42 pm
    Jun 19, 2006 at 4:05 am
  • I have a small patch http://bugs.python.org/1506645 that adds resizeterm() and resize_term() to the curses module. Can this still go in for beta1? I'm not sure, if it needs some additional configure ...
    Walter DörwaldWalter Dörwald
    Jun 15, 2006 at 1:08 pm
    Jun 17, 2006 at 11:40 am
  • I've finished my draft for the wsgiref documentation (including stuff I swiped from AMK's draft; thanks AMK!), and am looking for comments before I add it to the stdlib documentation. Source: ...
    Phillip J. EbyPhillip J. Eby
    Jun 6, 2006 at 10:49 pm
    Jun 9, 2006 at 4:40 pm
  • If you look at that crasher, you will notice that recursion depth is set to 1 << 30 before any code is run. If you remove that setting high setting and go with the default then the test doesn't crash ...
    Brett CannonBrett Cannon
    Jun 27, 2006 at 4:31 pm
    Jun 28, 2006 at 10:44 am
  • In abstract.c, there are many error messages like type_error("object does not support item assignment"); It helps debugging if the object's type was prepended. Should I go through the code and try to ...
    Georg BrandlGeorg Brandl
    Jun 14, 2006 at 6:51 am
    Jun 19, 2006 at 4:09 pm
  • As an exercise in using the new set C API, I've replaced the "interned" dictionary in stringobject.c with a set. Surprisingly, what I thought would be a simple exercise, took several hours to ...
    Alexander BelopolskyAlexander Belopolsky
    Jun 15, 2006 at 9:13 pm
    Jun 16, 2006 at 3:47 am
  • I notice that file() throws an IOError when it detects an invalid mode string. Wouldn't a ValueError be more appropriate? Kristj?n An HTML attachment was scrubbed... URL: ...
    Kristján V. JónssonKristján V. Jónsson
    Jun 12, 2006 at 1:49 pm
    Jun 12, 2006 at 7:37 pm
  • I'm working on simple module to write PNG image files in pure python. Adding it to the standard library would be useful for people who want to create images on web server installations without gd and ...
    Johann C. RochollJohann C. Rocholl
    Jun 10, 2006 at 10:28 pm
    Jun 11, 2006 at 9:11 am
  • [Not sure whether this kind of thing is best posted as tracker comments (but then the tracker gets terribly long and is mailed out every time a change happens) or posted here. Feel free to tell me ...
    John J LeeJohn J Lee
    Jun 2, 2006 at 11:19 pm
    Jun 9, 2006 at 2:56 pm
  • I recently submitted a patch that would optimise "in (5, 6, 7)" (ie, "in" ops on constant tuples) to "in frozenset([5, 6, 7])". Raymond Hettinger rejected (rightly) the patch since it's not ...
    Collin WinterCollin Winter
    Jun 3, 2006 at 10:25 pm
    Jun 4, 2006 at 9:05 pm
  • I've just closed a bug report wishing for long option support, pointing to a patch sitting in the patch tracker implementing this. Should we accept at least the very common options "--help" and ...
    Georg BrandlGeorg Brandl
    Jun 14, 2006 at 8:37 am
    Jul 12, 2006 at 3:25 pm
  • Has anyone else tried doing an admin install with "compile .py files" checked? It's causing my install to blow up, but I'd prefer to assume it's some weird Windows config/bug unless other people also ...
    Jun 26, 2006 at 12:47 am
    Jul 5, 2006 at 5:23 am
  • I've previously asked on python-list, but have recieved no responses or explanations. Maybe someone here with a better memory can help, and I apologize for asking a somewhat off-topic question about ...
    Josiah CarlsonJosiah Carlson
    Jun 30, 2006 at 4:46 pm
    Jul 2, 2006 at 3:56 am
  • Lib/test/crashers/xml_parsers.py is a crasher that involves expat (bug report at http://python.org/sf/1296433). What is at issue here is that there is a 'for' loop in expat where the status of the ...
    Brett CannonBrett Cannon
    Jun 30, 2006 at 6:19 pm
    Jul 2, 2006 at 2:04 am
Group Navigation
period‹ prev | Jun 2006 | next ›
Group Overview
grouppython-dev @

144 users for June 2006

Guido van Rossum: 132 posts Martin v. Löwis: 93 posts Fredrik Lundh: 78 posts Phillip J. Eby: 73 posts Brett Cannon: 61 posts Tim Peters: 47 posts Greg Ewing: 44 posts M.-A. Lemburg: 43 posts Nick Coghlan: 43 posts Ka-Ping Yee: 39 posts Georg Brandl: 34 posts Josiah Carlson: 32 posts Neal Norwitz: 31 posts Jim Jewett: 26 posts Thomas Heller: 25 posts Aahz: 21 posts Skip: 21 posts Nick Maclaren: 18 posts A.M. Kuchling: 17 posts Ralf W. Grosse-Kunstleve: 17 posts
show more