5d2b77c | Tim Peters | 03 September 2001, 05:47:38 UTC | Make dir() wordier (see the new docstring). The new behavior is a mixed bag. It's clearly wrong for classic classes, at heart because a classic class doesn't have a __class__ attribute, and I'm unclear on whether that's feature or bug. I'll repair this once I find out (in the meantime, dir() applied to classic classes won't find the base classes, while dir() applied to a classic-class instance *will* find the base classes but not *their* base classes). Please give the new dir() a try and see whether you love it or hate it. The new dir([]) behavior is something I could come to love. Here's something to hate: >>> class C: ... pass ... >>> c = C() >>> dir(c) ['__doc__', '__module__'] >>> The idea that an instance has a __doc__ attribute is jarring (of course it's really c.__class__.__doc__ == C.__doc__; likewise for __module__). OTOH, the code already has too many special cases, and dir(x) doesn't have a compelling or clear purpose when x isn't a module. | 03 September 2001, 05:47:38 UTC |
95c99e5 | Tim Peters | 03 September 2001, 01:24:30 UTC | Made a doctest out of the examples in Guido's type/class tutorial. | 03 September 2001, 01:24:30 UTC |
b7da090 | Tim Peters | 02 September 2001, 23:01:43 UTC | Clarify the Borland situation, based on email from Stephen. | 02 September 2001, 23:01:43 UTC |
b95ec09 | Tim Peters | 02 September 2001, 18:35:54 UTC | Repair typo in comment. | 02 September 2001, 18:35:54 UTC |
13b54a9 | Jack Jansen | 02 September 2001, 14:48:32 UTC | Added the last few missing files, and put everything in the right packages. Tested, too:-) | 02 September 2001, 14:48:32 UTC |
e7a9598 | Guido van Rossum | 02 September 2001, 14:11:30 UTC | Implement what the docstring said: multiple slashes per line are treated the same as single ones by default. Added -m option to issue a warning for this case instead. | 02 September 2001, 14:11:30 UTC |
aaf80c8 | Guido van Rossum | 02 September 2001, 13:44:35 UTC | Add news about dictionary() constructor. | 02 September 2001, 13:44:35 UTC |
25786c0 | Tim Peters | 02 September 2001, 08:22:48 UTC | Make dictionary() a real constructor. Accepts at most one argument, "a mapping object", in the same sense dict.update(x) requires of x (that x has a keys() method and a getitem). Questionable: The other type constructors accept a keyword argument, so I did that here too (e.g., dictionary(mapping={1:2}) works). But type_call doesn't pass the keyword args to the tp_new slot (it passes NULL), it only passes them to the tp_init slot, so getting at them required adding a tp_init slot to dicts. Looks like that makes the normal case (i.e., no args at all) a little slower (the time it takes to call dict.tp_init and have it figure out there's nothing to do). | 02 September 2001, 08:22:48 UTC |
1b8ca0d | Tim Peters | 02 September 2001, 06:42:25 UTC | Rewrite the tuple() docstring to parallel the list() docstring. | 02 September 2001, 06:42:25 UTC |
9577761 | Tim Peters | 02 September 2001, 06:29:48 UTC | Repair apparent cut'n'pasteo in tuple() docstring. | 02 September 2001, 06:29:48 UTC |
b866770 | Fred Drake | 02 September 2001, 06:07:36 UTC | Move the long minidom example to a separate file; \verbatiminput does the right thing with page breaks in long examples, while the verbatim environment does not. This causes the example to wrap to the next page instead of overwriting the page footer and bottom margin. | 02 September 2001, 06:07:36 UTC |
cb6d0da | Guido van Rossum | 02 September 2001, 05:07:17 UTC | An anonymous contributor reveals his name... | 02 September 2001, 05:07:17 UTC |
13c51ec | Guido van Rossum | 02 September 2001, 04:49:36 UTC | Added more text to the docstring, updated the way the exit status is percolated out, and some general cleanup. The output is still the same, except it now prints "Index: <file>" instead of "Processing: <file>", so that the output can be used as input for patch (but only the diff-style parts of it). | 02 September 2001, 04:49:36 UTC |
43db62e | Guido van Rossum | 02 September 2001, 04:43:30 UTC | A grep-like tool that looks for division operators. | 02 September 2001, 04:43:30 UTC |
aa78236 | Guido van Rossum | 02 September 2001, 03:58:41 UTC | Whitespace normalization (tabs -> 4 spaces) in the Mac expectations. | 02 September 2001, 03:58:41 UTC |
bdee63f | Tim Peters | 02 September 2001, 03:40:59 UTC | Start items w/ "-" instead of "+" (consistency w/ earlier versions). Stephen Hansen reported via email that he didn't finish the port to Borland C, so remove the old item saying it worked and add a new item saying what I know; I've asked Stephen for more details. | 02 September 2001, 03:40:59 UTC |
6114297 | Jack Jansen | 02 September 2001, 00:09:35 UTC | Silly typos. | 02 September 2001, 00:09:35 UTC |
569ba10 | Jack Jansen | 02 September 2001, 00:08:16 UTC | Don't call PyMac_HandleEvent in unix-Python | 02 September 2001, 00:08:16 UTC |
38c4dd4 | Jack Jansen | 01 September 2001, 23:42:11 UTC | Regenerated, mainly for new GC routines. | 01 September 2001, 23:42:11 UTC |
b18ced2 | Jack Jansen | 01 September 2001, 23:40:19 UTC | xx.prj has been replaced by xx.mcp. | 01 September 2001, 23:40:19 UTC |
fabd00f | Jack Jansen | 01 September 2001, 23:39:58 UTC | Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef. Moved the declarations to pymactoolbox.h. | 01 September 2001, 23:39:58 UTC |
62d24a0 | Jack Jansen | 01 September 2001, 23:38:50 UTC | Don't call PyMac_HandleEvent if we're in unix-Python. | 01 September 2001, 23:38:50 UTC |
e9fb3d6 | Jack Jansen | 01 September 2001, 23:38:13 UTC | Include Carbon/Carbon.h if we're on OSX. | 01 September 2001, 23:38:13 UTC |
0de279b | Jack Jansen | 01 September 2001, 23:37:28 UTC | Updated the Popt resources for the applets to the newest version. | 01 September 2001, 23:37:28 UTC |
ff5d8aa | Jack Jansen | 01 September 2001, 22:37:54 UTC | Added preferences/startup options for division warning and accepting unix-style newlines on input. Also (finally) added a startup option to get -vv behaviour. Moved __convert_to_newlines to main.c because that's easier with the newline option. | 01 September 2001, 22:37:54 UTC |
a5ffeb6 | Jack Jansen | 01 September 2001, 22:36:29 UTC | Added preferences/startup options for division warning and accepting unix-style newlines on input. | 01 September 2001, 22:36:29 UTC |
822218b | Guido van Rossum | 01 September 2001, 21:55:58 UTC | The beginnings of a script to help finding / operators that may need to be change to //. The code is pretty gross so far, and I promise I'll work on this more, but I have to go eat now! :-) | 01 September 2001, 21:55:58 UTC |
a0adb92 | Guido van Rossum | 01 September 2001, 18:29:55 UTC | Add Listbox.itemconfig[ure] call. (A "recent" addition to Tk -- 8.0 doesn't have it.) This is from SF bug #457487 by anonymous. | 01 September 2001, 18:29:55 UTC |
481cf2c | Fred Drake | 01 September 2001, 02:35:23 UTC | Added the "Host" header to the "GET" example. This closes SF bug #457100. | 01 September 2001, 02:35:23 UTC |
ae45714 | Guido van Rossum | 31 August 2001, 18:31:35 UTC | Add various and sundry news items -- most mine, one Barry's, one Michael Hudson's. | 31 August 2001, 18:31:35 UTC |
97741a3 | Guido van Rossum | 31 August 2001, 18:17:13 UTC | Oops. The -W option takes args, not -X. | 31 August 2001, 18:17:13 UTC |
8031bbe | Guido van Rossum | 31 August 2001, 17:46:35 UTC | Allow for the possibility that globals['__name__'] does not exist; substitute "<string>" for the module name in that case. This actually occurred when running test_descr.py with -Dwarn. | 31 August 2001, 17:46:35 UTC |
393661d | Guido van Rossum | 31 August 2001, 17:40:15 UTC | Add warning mode for classic division, almost exactly as specified in PEP 238. Changes: - add a new flag variable Py_DivisionWarningFlag, declared in pydebug.h, defined in object.c, set in main.c, and used in {int,long,float,complex}object.c. When this flag is set, the classic division operator issues a DeprecationWarning message. - add a new API PyRun_SimpleStringFlags() to match PyRun_SimpleString(). The main() function calls this so that commands run with -c can also benefit from -Dnew. - While I was at it, I changed the usage message in main() somewhat: alphabetized the options, split it in *four* parts to fit in under 512 bytes (not that I still believe this is necessary -- doc strings elsewhere are much longer), and perhaps most visibly, don't display the full list of options on each command line error. Instead, the full list is only displayed when -h is used, and otherwise a brief reminder of -h is displayed. When -h is used, write to stdout so that you can do `python -h | more'. Notes: - I don't want to use the -W option to control whether the classic division warning is issued or not, because the machinery to decide whether to display the warning or not is very expensive (it involves calling into the warnings.py module). You can use -Werror to turn the warnings into exceptions though. - The -Dnew option doesn't select future division for all of the program -- only for the __main__ module. I don't know if I'll ever change this -- it would require changes to the .pyc file magic number to do it right, and a more global notion of compiler flags. - You can usefully combine -Dwarn and -Dnew: this gives the __main__ module new division, and warns about classic division everywhere else. | 31 August 2001, 17:40:15 UTC |
29d55a3 | Guido van Rossum | 31 August 2001, 16:11:15 UTC | Fix a memory leak in str_subtype_new(). (All the other xxx_subtype_new() functions are OK, but I goofed up in this one. :-( ) | 31 August 2001, 16:11:15 UTC |
bfa47b0 | Guido van Rossum | 31 August 2001, 04:35:14 UTC | Correct name mangling algorithm, and add a comment. | 31 August 2001, 04:35:14 UTC |
41eb14d | Guido van Rossum | 30 August 2001, 23:13:11 UTC | Give 'super' a decent repr(), and readonly attributes to access the type and obj properties. The "bogus super object" message is gone -- this will now just raise an AttributeError. | 30 August 2001, 23:13:11 UTC |
7561d9e | Jack Jansen | 30 August 2001, 22:10:10 UTC | Added all the new files in the right packages and file groups (I think, untested). | 30 August 2001, 22:10:10 UTC |
54a14a3 | Tim Peters | 30 August 2001, 22:05:26 UTC | SF bug #456621: normpath on Win32 not collapsing c:\\.. I actually rewrote normpath quite a bit: it had no test cases, and as soon as I starting writing some I found several cases that didn't make sense. | 30 August 2001, 22:05:26 UTC |
0e03f58 | Andrew M. Kuchling | 30 August 2001, 21:30:16 UTC | Add Jack Jansen's explanation of the MacOS X changes | 30 August 2001, 21:30:16 UTC |
1da6eb0 | Jack Jansen | 30 August 2001, 21:29:57 UTC | Superseded by the (generated) xx.mcp. | 30 August 2001, 21:29:57 UTC |
ba0ba41 | Jack Jansen | 30 August 2001, 21:22:10 UTC | Case mismatch in "import Types". Apparently nobody has looked at this for a looooong time. Reported by Chris Smith. | 30 August 2001, 21:22:10 UTC |
b214c36 | Jack Jansen | 30 August 2001, 21:19:42 UTC | We should look in the directory containing the module, not in the module itself, when we're looking for the resource file. | 30 August 2001, 21:19:42 UTC |
eb9f384 | Guido van Rossum | 30 August 2001, 21:18:04 UTC | Group some projects into "Done" and "To do". Get rid of Tim's merge scratchpad -- the merge is long behind us. | 30 August 2001, 21:18:04 UTC |
91ee798 | Guido van Rossum | 30 August 2001, 20:52:40 UTC | metaclass(): add some more examples of metaclasses, including one using cooperative multiple inheritance. inherits(): add a test for subclassing the unicode type. | 30 August 2001, 20:52:40 UTC |
d507dab | Tim Peters | 30 August 2001, 20:51:59 UTC | SF patch #455966: Allow leading 0 in float/imag literals. Consequences for Jython still unknown (but raised on Jython-Dev). | 30 August 2001, 20:51:59 UTC |
21922aa | Guido van Rossum | 30 August 2001, 20:26:05 UTC | PyObject_Repr(): add missing ">" back at end of format string: "<%s object at %p>". | 30 August 2001, 20:26:05 UTC |
71ebc33 | Jeremy Hylton | 30 August 2001, 20:25:55 UTC | Fix _convert_NAME() so that it doesn't store locals for class bodies. Fix list comp code generation -- emit GET_ITER instead of Const(0) after the list. Add CO_GENERATOR flag to generators. Get CO_xxx flags from the new module | 30 August 2001, 20:25:55 UTC |
017cb2c | Tim Peters | 30 August 2001, 20:07:55 UTC | Squash new compiler wng. | 30 August 2001, 20:07:55 UTC |
caa9f43 | Guido van Rossum | 30 August 2001, 20:06:08 UTC | Add testcases for inheritance from tricky builtins (numbers, strings, tuples). | 30 August 2001, 20:06:08 UTC |
6fb3fde | Guido van Rossum | 30 August 2001, 20:00:07 UTC | Pytype_GenericAlloc(): round up size so we zap all four bytes of the __dict__ slot for string subtypes. subtype_dealloc(): properly use _PyObject_GetDictPtr() to get the (potentially negative) dict offset. Don't copy things into local variables that are used only once. type_new(): properly calculate a negative dict offset when tp_itemsize is nonzero. The __dict__ attribute, if present, is now a calculated attribute rather than a structure member. | 30 August 2001, 20:00:07 UTC |
702ca4f | Fred Drake | 30 August 2001, 19:15:20 UTC | Revert the previous patch to test_pow.py and move the test to test_unary.py based on a suggestion from Tim Peters; also make sure that we're really doing exponentiation and not multiplication. | 30 August 2001, 19:15:20 UTC |
d256271 | Fred Drake | 30 August 2001, 18:56:30 UTC | Added a regression test for the negation-of-exponentiation optimization bug from compile.c. (SF bug #456756.) | 30 August 2001, 18:56:30 UTC |
14ef244 | Fred Drake | 30 August 2001, 18:53:25 UTC | When re-writing a factor containing a unary negation of a literal, only affect nodes without another operator. This was causing negated exponentiations to drop the exponentiation. This closes SF bug #456756. | 30 August 2001, 18:53:25 UTC |
4b8c0f6 | Guido van Rossum | 30 August 2001, 18:31:30 UTC | More stuff discovered while writing the simplest of testcases: tupledealloc(): only feed the free list when the type is really a tuple, not a subtype. Otherwise, use PyObject_GC_Del(). _PyTuple_Resize(): disallow using this for tuple subtypes. | 30 August 2001, 18:31:30 UTC |
46add98 | Guido van Rossum | 30 August 2001, 16:06:23 UTC | Do the int inlining only if the type is really an int, not whenever PyInt_Check() succeeds. That returns true for subtypes of int, which may override __add__ or __sub__. | 30 August 2001, 16:06:23 UTC |
13228a6 | Guido van Rossum | 30 August 2001, 15:54:44 UTC | Ah, the joy of writing test cases... long_subtype_new(): fix a typo (type->ob_size instead of tmp->ob_size). | 30 August 2001, 15:54:44 UTC |
f71b5fe | Jeremy Hylton | 30 August 2001, 15:50:34 UTC | spurious pop | 30 August 2001, 15:50:34 UTC |
4042c69 | Neil Schemenauer | 30 August 2001, 15:38:01 UTC | Add news about GC API change. Explain how to upgrade extension modules. | 30 August 2001, 15:38:01 UTC |
55cdc88 | Neil Schemenauer | 30 August 2001, 15:24:17 UTC | Update documentation for GC API. Closes SF patch #421893. | 30 August 2001, 15:24:17 UTC |
60250e2 | Guido van Rossum | 30 August 2001, 15:07:44 UTC | win_getpass(): if sys.stdin is not sys.__stdin__, use default_getpass(). This should prevent hanging when it is called in IDLE. Fixes SF bug #455648. | 30 August 2001, 15:07:44 UTC |
8019913 | Michael W. Hudson | 30 August 2001, 14:50:20 UTC | fix for part of bug #453523: disable unmarshalling of code objects in restricted execution mode. | 30 August 2001, 14:50:20 UTC |
3c0fc84 | Fred Drake | 30 August 2001, 14:42:40 UTC | Update the links to the FIPS document that defines the Secure Hash Algorithm. This closes SF bug #454917. | 30 August 2001, 14:42:40 UTC |
89dfe9e | Sjoerd Mullender | 30 August 2001, 14:37:07 UTC | Removed unreachable return to silence SGI compiler. | 30 August 2001, 14:37:07 UTC |
6f848c1 | Sjoerd Mullender | 30 August 2001, 14:15:38 UTC | Removed an unreachable break statement to silence SGI compiler. | 30 August 2001, 14:15:38 UTC |
a2c2ae6 | Sjoerd Mullender | 30 August 2001, 14:06:45 UTC | Removed unreachable goto statement to silence SGI compiler. | 30 August 2001, 14:06:45 UTC |
2f38f81 | Sjoerd Mullender | 30 August 2001, 14:05:20 UTC | Removed some unreachable break statements to silence SGI compiler. | 30 August 2001, 14:05:20 UTC |
38b88c2 | Sjoerd Mullender | 30 August 2001, 13:58:58 UTC | Removed some unreachable break statements to silence SGI compiler. | 30 August 2001, 13:58:58 UTC |
34eaf86 | Jack Jansen | 30 August 2001, 13:26:53 UTC | Started on the 2.2a2 installer | 30 August 2001, 13:26:53 UTC |
52e0717 | Tim Peters | 30 August 2001, 06:15:32 UTC | Give the internal immutable list type .extend and .pop methods (they "should have" been added here when they were added to lists). | 30 August 2001, 06:15:32 UTC |
6923234 | Tim Peters | 30 August 2001, 05:16:13 UTC | Add a new function imp.lock_held(), and use it to skip test_threaded_import when that test is doomed to deadlock. | 30 August 2001, 05:16:13 UTC |
c414187 | Guido van Rossum | 30 August 2001, 04:43:35 UTC | Safety measures now that str and tuple are subclassable: If tp_itemsize of the basetype is nonzero, only allow empty __slots__ (declaring that no __dict__ should be added), and don't add a weakref offset. | 30 August 2001, 04:43:35 UTC |
31bcff8 | Guido van Rossum | 30 August 2001, 04:37:15 UTC | Make 'super' subclassable. (Not sure how useful this is yet. :-) | 30 August 2001, 04:37:15 UTC |
e023fe0 | Guido van Rossum | 30 August 2001, 03:12:59 UTC | Make unicode subclassable. | 30 August 2001, 03:12:59 UTC |
ae960af | Guido van Rossum | 30 August 2001, 03:11:59 UTC | Make str and tuple types subclassable. | 30 August 2001, 03:11:59 UTC |
147b13c | Guido van Rossum | 30 August 2001, 03:10:36 UTC | Make getset subclassable. | 30 August 2001, 03:10:36 UTC |
d93dce1 | Guido van Rossum | 30 August 2001, 03:09:31 UTC | Fix typo: double semicolons. | 30 August 2001, 03:09:31 UTC |
5eef77a | Guido van Rossum | 30 August 2001, 03:08:07 UTC | Make the Py<type>_Check() macro use PyObject_TypeCheck(). | 30 August 2001, 03:08:07 UTC |
deb77e8 | Tim Peters | 30 August 2001, 00:32:51 UTC | Squash new compiler wng in debug build. | 30 August 2001, 00:32:51 UTC |
45c9ae5 | Neil Schemenauer | 30 August 2001, 00:13:38 UTC | gcmodule is now always compiled | 30 August 2001, 00:13:38 UTC |
7d0e19e | Neil Schemenauer | 30 August 2001, 00:12:32 UTC | gcmodule is now enabled here | 30 August 2001, 00:12:32 UTC |
43411b5 | Neil Schemenauer | 30 August 2001, 00:05:51 UTC | Make more things internal to this file. Remove visit_finalizer_reachable since it's the same as visit_reachable. Rename visit_reachable to visit_move. Objects can now have the GC type flag set, reachable by tp_traverse and not be in a GC linked list. This should make the collector more robust and easier to use by extension module writers. Add memory management functions for container objects (new, del, resize). | 30 August 2001, 00:05:51 UTC |
cf22946 | Neil Schemenauer | 29 August 2001, 23:58:47 UTC | Always build gcmodule. | 29 August 2001, 23:58:47 UTC |
69374e4 | Neil Schemenauer | 29 August 2001, 23:57:22 UTC | Flush output more aggressively. This makes things look better if the setup script is running from inside Vim. | 29 August 2001, 23:57:22 UTC |
c806c88 | Neil Schemenauer | 29 August 2001, 23:54:54 UTC | Use new GC API. Remove usage of BASICSIZE macros. | 29 August 2001, 23:54:54 UTC |
e83c00e | Neil Schemenauer | 29 August 2001, 23:54:21 UTC | Use new GC API. | 29 August 2001, 23:54:21 UTC |
fd34369 | Neil Schemenauer | 29 August 2001, 23:54:03 UTC | Remove GC related code. It lives in gcmodule now. | 29 August 2001, 23:54:03 UTC |
4f4817f | Neil Schemenauer | 29 August 2001, 23:52:17 UTC | Make frames a PyVarObject. Use new GC API. | 29 August 2001, 23:52:17 UTC |
01b66a8 | Neil Schemenauer | 29 August 2001, 23:50:42 UTC | Remove bogus PyGC_HEAD_SIZE. | 29 August 2001, 23:50:42 UTC |
74b5ade | Neil Schemenauer | 29 August 2001, 23:49:28 UTC | Change the GC type flag since the API has changed. Allow types using the old flag to still compile. Remove the PyType_BASICSIZE and PyType_SET_BASICSIZE macros. Add PyObject_GC_New, PyObject_GC_NewVar, PyObject_GC_Resize, PyObject_GC_Del, PyObject_GC_Track, PyObject_GC_UnTrack. Part of SF patch #421893. | 29 August 2001, 23:49:28 UTC |
31ec142 | Neil Schemenauer | 29 August 2001, 23:46:35 UTC | Change the GC type flag since the API has changed. Allow types using the old flag to still compile. | 29 August 2001, 23:46:35 UTC |
251ead8 | Neil Schemenauer | 29 August 2001, 23:45:25 UTC | Make frames a PyVarObject instead of a PyObject. | 29 August 2001, 23:45:25 UTC |
9c63e6d | Neil Schemenauer | 29 August 2001, 23:44:38 UTC | Always compile gcmodule. | 29 August 2001, 23:44:38 UTC |
e4685ec | Jeremy Hylton | 29 August 2001, 22:30:09 UTC | Track the block stack more reasonably in order to handle continue in try/except or try/finally. Previous versions had only track SETUP_LOOP blocks and ignored the exception part. This meant that it allowed continue inside a try/except but generated buggy code. Now it does the right thing. | 29 August 2001, 22:30:09 UTC |
9263848 | Jeremy Hylton | 29 August 2001, 22:27:14 UTC | Improve stack depth computation for try/except and try/finally Add CONTINUE_LOOP to the list of unconditional transfers | 29 August 2001, 22:27:14 UTC |
4bd4ddd | Jeremy Hylton | 29 August 2001, 22:26:35 UTC | Add __getitem__() handler for use by visitContinue() | 29 August 2001, 22:26:35 UTC |
7c10008 | Jack Jansen | 29 August 2001, 22:08:06 UTC | Added xx and xxsubtype modules, for completeness and because xxsubtype is used by the test suite. | 29 August 2001, 22:08:06 UTC |
028f2d5 | Jack Jansen | 29 August 2001, 22:04:08 UTC | Started on release notes and readme for 2.2a2. | 29 August 2001, 22:04:08 UTC |
79248aa | Tim Peters | 29 August 2001, 21:37:10 UTC | SF bug [#456252] Python should never stomp on [u]intptr_t. pyport.h: typedef a new Py_intptr_t type. DELICATE ASSUMPTION: That HAVE_UINTPTR_T implies intptr_t is available as well as uintptr_t. If that turns out not to be true, things must get uglier (C99 wants both, so I think it's an assumption we're *likely* to get away with). thread_nt.h, PyThread_start_new_thread: MS _beginthread is documented as returning unsigned long; no idea why uintptr_t was being used. Others: Always use Py_[u]intptr_t, never [u]intptr_t directly. | 29 August 2001, 21:37:10 UTC |
1936745 | Jeremy Hylton | 29 August 2001, 20:57:43 UTC | Generate SET_LINENO for list and tuple literals when the open paren starts a new line. Also fix undetected typo in visitDict() -- uncovered by recent change to add lineno attrs to atoms. | 29 August 2001, 20:57:43 UTC |
7845cf8 | Jeremy Hylton | 29 August 2001, 20:56:30 UTC | Make sure that atoms (Tuple, List, etc.) have lineno attributes | 29 August 2001, 20:56:30 UTC |