Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 2e6cc334aa9175b090ae97691e7d4f5d46a87a42 authored by Michael W. Hudson on 16 March 2002, 18:01:05 UTC, committed by Michael W. Hudson on 16 March 2002, 18:01:05 UTC
backport montanaro's checkin of revision 1.24 of calendar.py make _localized_name instances work more like the tuples they replaced. In particular, negative indexes work and they are limited by the actual length of the names they represent (weekday and month names). This closes bug #503202. [and then] Corrected _localized_name.__getitem__ based on code in patch 503202 (which I thought was just a bug report, so didn't notice - doh!). This handles slicing, which v 1.23 didn't.
1 parent 023db77
Tip revision: 2e6cc334aa9175b090ae97691e7d4f5d46a87a42 authored by Michael W. Hudson on 16 March 2002, 18:01:05 UTC
This checkin backport two checkins by Skip.
This checkin backport two checkins by Skip.
Tip revision: 2e6cc33
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 17 bytes |
atof.c | -rw-r--r-- | 815 bytes |
bltinmodule.c | -rw-r--r-- | 46.3 KB |
ceval.c | -rw-r--r-- | 82.9 KB |
codecs.c | -rw-r--r-- | 10.0 KB |
compile.c | -rw-r--r-- | 126.5 KB |
dup2.c | -rw-r--r-- | 685 bytes |
dynload_aix.c | -rw-r--r-- | 5.3 KB |
dynload_beos.c | -rw-r--r-- | 6.3 KB |
dynload_dl.c | -rw-r--r-- | 561 bytes |
dynload_hpux.c | -rw-r--r-- | 1.3 KB |
dynload_mac.c | -rw-r--r-- | 3.3 KB |
dynload_next.c | -rw-r--r-- | 4.5 KB |
dynload_os2.c | -rw-r--r-- | 1020 bytes |
dynload_shlib.c | -rw-r--r-- | 2.1 KB |
dynload_stub.c | -rw-r--r-- | 202 bytes |
dynload_win.c | -rw-r--r-- | 7.5 KB |
errors.c | -rw-r--r-- | 14.7 KB |
exceptions.c | -rw-r--r-- | 29.8 KB |
fmod.c | -rw-r--r-- | 435 bytes |
frozen.c | -rw-r--r-- | 1.2 KB |
frozenmain.c | -rw-r--r-- | 1.3 KB |
future.c | -rw-r--r-- | 6.0 KB |
getargs.c | -rw-r--r-- | 32.9 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 504 bytes |
getcwd.c | -rw-r--r-- | 1.3 KB |
getmtime.c | -rw-r--r-- | 318 bytes |
getopt.c | -rw-r--r-- | 2.3 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 290 bytes |
graminit.c | -rw-r--r-- | 29.5 KB |
hypot.c | -rw-r--r-- | 282 bytes |
import.c | -rw-r--r-- | 60.3 KB |
importdl.c | -rw-r--r-- | 2.0 KB |
importdl.h | -rw-r--r-- | 951 bytes |
mactoolboxglue.c | -rw-r--r-- | 13.9 KB |
marshal.c | -rw-r--r-- | 17.9 KB |
memmove.c | -rw-r--r-- | 439 bytes |
modsupport.c | -rw-r--r-- | 9.8 KB |
mysnprintf.c | -rw-r--r-- | 2.6 KB |
mystrtoul.c | -rw-r--r-- | 3.1 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pystate.c | -rw-r--r-- | 6.1 KB |
pythonrun.c | -rw-r--r-- | 33.8 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
strerror.c | -rw-r--r-- | 485 bytes |
strtod.c | -rw-r--r-- | 5.1 KB |
structmember.c | -rw-r--r-- | 5.5 KB |
symtable.c | -rw-r--r-- | 4.4 KB |
sysmodule.c | -rw-r--r-- | 28.0 KB |
thread.c | -rw-r--r-- | 2.3 KB |
thread_beos.h | -rw-r--r-- | 7.5 KB |
thread_cthread.h | -rw-r--r-- | 3.6 KB |
thread_foobar.h | -rw-r--r-- | 2.5 KB |
thread_lwp.h | -rw-r--r-- | 3.8 KB |
thread_nt.h | -rw-r--r-- | 9.6 KB |
thread_os2.h | -rw-r--r-- | 4.5 KB |
thread_pth.h | -rw-r--r-- | 7.1 KB |
thread_pthread.h | -rw-r--r-- | 12.2 KB |
thread_sgi.h | -rw-r--r-- | 11.8 KB |
thread_solaris.h | -rw-r--r-- | 4.3 KB |
thread_wince.h | -rw-r--r-- | 4.0 KB |
traceback.c | -rw-r--r-- | 6.5 KB |
Computing file changes ...