Re: Is it possible to merge xrange and slice?
- From: Matimus <mccredie@xxxxxxxxx>
- Date: 30 Apr 2007 13:01:52 -0700
Which problems am I overlooking that prevent this?
1. Generators and slices serve two distinctly different tasks.
2. They may have the similar interfaces, but are implemented
differently. Each optimized for its specific task.
You are essentially asking "Why not do it?", to which I respond "Why
do it?". How does this consolidation of features improve Python?
.
- References:
- Prev by Date: Re: re-importing modules
- Next by Date: Re: Python-URL! - weekly Python news and links (Apr 30)
- Previous by thread: Is it possible to merge xrange and slice?
- Next by thread: Re: Is it possible to merge xrange and slice?
- Index(es):