Message167844
| Author | vstinner |
|---|---|
| Recipients | Arfrever, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner |
| Date | 2012-08-09.22:05:59 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1344549960.85.0.0142812304209.issue15573@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> What is the specific regression from 3.2 that this deals with?
I don't know if it must be called a regression, but at least the behaviour is different in Python 3.2 and 3.3. For example, an Unicode array is no more equal to its memoryview:
Python 3.3.0b1 (default:aaa68dce117e, Aug 9 2012, 22:45:00)
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import array
>>> a=array.array('u', 'abc')
>>> v=memoryview(a)
>>> a == v
False
ned$ python3
Python 3.2.3 (default, Jun 8 2012, 05:40:07)
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import array
>>> a=array.array('u', 'abc')
>>> v=memoryview(a)
>>> a == v
True |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-08-09 22:06:00 | vstinner | set | recipients: + vstinner, loewis, georg.brandl, mark.dickinson, ncoghlan, pitrou, christian.heimes, Arfrever, skrah, meador.inge, python-dev |
| 2012-08-09 22:06:00 | vstinner | set | messageid: <1344549960.85.0.0142812304209.issue15573@psf.upfronthosting.co.za> |
| 2012-08-09 22:06:00 | vstinner | link | issue15573 messages |
| 2012-08-09 22:05:59 | vstinner | create | |