[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-11-23 Thread Phil Connell

Changes by Phil Connell pconn...@gmail.com:


--
nosy: +pconnell

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18864
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19551] PEP 453: Mac OS X installer integration

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7c4d1daa0bc1 by Ned Deily in branch 'default':
Issue #19551: Update installer Welcome file.
http://hg.python.org/cpython/rev/7c4d1daa0bc1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-23 Thread Matthias Klose

New submission from Matthias Klose:

using the only mpdecimal release (2.3):

building '_decimal' extension
creating 
build/temp.linux-x86_64-3.3/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal
x86_64-linux-gnu-gcc -pthread -fPIC -D_FORTIFY_SOURCE=2 -Wno-unused-result 
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -fprofile-generate 
-g -flto -fuse-linker-plugin -DCONFIG_64=1 -DASM=1 -I../Include -I. -IInclude 
-I/usr/include/x86_64-linux-gnu 
-I/scratch/packages/python/3.3/python3.3-3.3.3/Include 
-I/scratch/packages/python/3.3/python3.3-3.3.3/build-static -c 
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c -o 
build/temp.linux-x86_64-3.3/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.o
 -Wextra -Wno-missing-field-initializers
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c: In 
function 'dectuple_as_str':
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:2522:47:
 error: expected ')' before 'PRI_mpd_ssize_t'
 n = snprintf(cp, MPD_EXPDIGITS+2, % PRI_mpd_ssize_t, exp);
   ^
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:2522:47:
 warning: spurious trailing '%' in format [-Wformat=]
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:2522:47:
 warning: spurious trailing '%' in format [-Wformat=]
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c: In 
function 'dec_str':
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:3075:5:
 warning: implicit declaration of function 'mpd_to_sci_size' 
[-Wimplicit-function-declaration]
 size = mpd_to_sci_size(cp, MPD(dec), CtxCaps(context));
 ^
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c: In 
function 'dec_format':
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:3243:9:
 warning: implicit declaration of function 'mpd_validate_lconv' 
[-Wimplicit-function-declaration]
 if (mpd_validate_lconv(spec)  0) {
 ^
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c: In 
function 'dec_as_long':
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:3340:5:
 warning: passing argument 1 of 'mpd_qexport_u32' from incompatible pointer 
type [enabled by default]
 n = mpd_qexport_u32(ob_digit, 0, PyLong_BASE, x, status);
 ^
In file included from 
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:34:0:
/usr/include/x86_64-linux-gnu/mpdecimal.h:474:8: note: expected 'uint32_t *' 
but argument is of type 'digit **'
 size_t mpd_qexport_u32(uint32_t *rdata, size_t rlen, uint32_t base,
^
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c: In 
function 'dec_mpd_to_eng':
/scratch/packages/python/3.3/python3.3-3.3.3/Modules/_decimal/_decimal.c:4136:5:
 warning: implicit declaration of function 'mpd_to_eng_size' 
[-Wimplicit-function-declaration]
 size = mpd_to_eng_size(s, MPD(self), CtxCaps(context));
 ^

--
components: Build
messages: 203978
nosy: doko
priority: normal
severity: normal
status: open
title: python fails to build when configured with --with-system-libmpdec
versions: Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19732
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-23 Thread Matthias Klose

Matthias Klose added the comment:

also, there is no VCS repository and no ML archive for mpdecimal publically 
available.

--
nosy: +skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19732
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

Tim,

 First, if *both* timestamps went through this code, it's monotonically 
 non-decreasing.   ts1  ts2 [...] but T(ts1)  T(ts2) can't happen

It's as Steve says (and I tried to say before): What *can* happen is that ts1  
T(ts2). ts1 is used by Windows itself as the file stamp when the file is 
created, as the first .touch() call doesn't set the timestamp (it doesn't call 
os.utime()). Only ts2 goes through the pygettimeofday.

For my original example, we have ts1 = ts2 = 1385154213.291315800, T(ts2) = 
1385154213.291315076. Converting this back to a FILETIME gives 
1385154213.291315000.

  Anyone know the precision of NTFS file creation time?

See for example 

http://doxygen.reactos.org/d8/d55/drivers_2filesystems_2ext2_2src_2write_8c_source.html#l00525

It's only ReactOS, and only the ext2 driver, but I believe the code should be 
similar for NTFS. The driver does KeQuerySystemTime, and then uses that to set 
the LastWriteTime. For ext2, there might be truncation, but for NTFS, the value 
is likely written as-is. So the question is really in which granularity the 
system time advances. I believe this is still a global variable, updated by the 
timer interrupt.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Tim Peters

Tim Peters added the comment:

Martin, I don't see how:

 What *can* happen is that ts1  T(ts2)

_in this test_.  As shown in many failure examples *both* nanosecond timestamps 
had non-zero nanoseconds.  Like:

AssertionError: 1385161652120374900 not greater than or equal to
1385161652120375500

Anything coming from T() would have 000 at the end, not 900 or 500.  T() 
only retains microseconds.  Or do you disagree with that?

In any case, we're comparing apples to oranges here somehow ;-) If I add:

p.touch()

right before:

st = p.stat()
old_mtime = st.st_mtime
old_mtime_ns = st.st_mtime_ns

then we're certainly comparing a modification (as opposed to creation) time to 
a modification time, and I get no more errors.  The nanosecond-difference 
distribution across 300 runs changed to the obviously bi-modal:

   0: 193
  975800:  12
  975900:   7
  976000:   5
  976100:  29
  976800:  10
  977000:  35
  977100:   9
  ---
  300

I suggest too that's a better way to fix the test than the current

delta = 1e-6 if os.name == 'nt' else 0

dance.  There's no justification for 1e-6 beyond well, it seemed to work, and 
I have shown failure cases with a delta as large as 0.6e-6.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19728] PEP 453: enable pip by default in the binary installers

2013-11-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

This clean uninstall is a convention at least on Windows and Linux (except 
that on Linux, you have the option of leaving manually-edited configuration 
files behind if you wish).

An MSI can indeed invoke commands on uninstall (preferably of course before 
removing the actual Python interpreter, if the command needs Python). This is 
currently commented out in msi.py.

I agree that the current implementation correctly implements the PEP. The PEP 
says that it will leave files behind on uninstall, and it does. The PEP is 
silent on whether the option to install pip should be enabled by default, so it 
is off by default. If people really really want it, I could enable it by 
default, making it leave files behind. I would do so protestingly, and predict 
that users would complain.

The PEP also states that uninstallation is beyond its scope - so if 
uninstallation was added, no PEP change would be needed.

MSI also supports authored removal of files, i.e. I could explicitly 
hard-code a list of files to be removed on uninstall, see

http://msdn.microsoft.com/en-us/library/aa371201(v=vs.85).aspx

This supports wildcard file names, so I would only need to hardcode the list of 
directories to be removed.

Removal would only happen when the user originally selected to install pip. If 
it is done through a command, the command could opt to not remove pip if pip 
had been updated; the authored removal would remove the files regardless 
whether the had been updated (entirely new directories created in an update 
would be untouched).

One issue could be upgrades: currently, an upgrade (say to 3.4.1) is done by 
removing all files from the previous version, then installing all files of the 
new version. A command to remove should then not remove if the installed 
version is newer than the bundled one, or else the upgrade might downgrade pip.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8813] SSLContext doesn't support loading a CRL

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 40d4be2b7258 by Christian Heimes in branch 'default':
Issue #8813: X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
http://hg.python.org/cpython/rev/40d4be2b7258

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8813
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8813] SSLContext doesn't support loading a CRL

2013-11-23 Thread Christian Heimes

Christian Heimes added the comment:

The _ssl module compiles again with OpenSSL 0.9.7.

--
priority: release blocker - normal
resolution:  - fixed
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8813
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

On sam., 2013-11-23 at 09:53 +, Tim Peters wrote:
 I suggest too that's a better way to fix the test than the current
 
 delta = 1e-6 if os.name == 'nt' else 0
 
 dance.

Except that it would test something else (i.e. it wouldn't test the
st_mtime value when the file is created).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

This commit created a reference leak:

./python -m test -R 3:2 test_trace
[1/1] test_trace
beginning 5 repetitions
12345
.
test_trace leaked [128, 128] references, sum=256

--
nosy: +pitrou
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13907] test_pprint relies on set/dictionary repr() ordering

2013-11-23 Thread Phil Connell

Changes by Phil Connell pconn...@gmail.com:


--
nosy: +pconnell

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13907
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d666e8ee687d by Ned Deily in branch 'default':
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1.
http://hg.python.org/cpython/rev/d666e8ee687d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15663
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6e2089dbc5ad by Victor Stinner in branch 'default':
Issue #18874: Implement the PEP 454 (tracemalloc)
http://hg.python.org/cpython/rev/6e2089dbc5ad

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18874
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

 AssertionError: 1385161652120374900 not greater than or equal to
 1385161652120375500
 Anything coming from T() would have 000 at the end, not 900 or 500. 

But 900 *is* 000 :-) 

A. t1=t2=1385161652120375500
B. pygettimeofday truncates this to 1385161652.120375
C. time.time() converts this to float, yielding
   0x1.4a3f8ed07b439p+30 i.e.
   (0.6450161580556887, 31)
   1385161652.120375 (really .1203749566283776)
D. _PyTime_ObjectToDenominator converts this to 
   1385161652.120374917
E. time_t_to_FILE_TIME convert this to 
   1385161652.120374900

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 66db0c66a6ee by Victor Stinner in branch 'default':
Issue #18874: Remove tracemalloc.set_traceback_limit()
http://hg.python.org/cpython/rev/66db0c66a6ee

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18874
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-11-23 Thread Christian Heimes

Christian Heimes added the comment:

New patch with enum (for Antoine), tests and documentation.

--
assignee:  - pitrou
Added file: http://bugs.python.org/file32793/load_default_certs2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Phil Connell

Phil Connell added the comment:

It looks like call_exc_trace is leaking refs to Py_None.

I believe the attached patch fixes the issue (it certainly fixes Antoine's 
failing invokation :)

--
Added file: http://bugs.python.org/file32794/issue16596_leak.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13477] tarfile module should have a command line

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I think Berker has misunderstood me. Here is a patch based on 
issue13477_v5.diff with some cherry-picked changes from issue13477_v6.diff and 
several other changes:

* --create, --extract, --list, and --test options are now mutual exclusive.
* --test now test a tarfile for integrity (as in the zipfile module).
* File names in output are printed now with repr().
* Now tarfile CLI now is silent by default. Added option -v (--verbose) to 
print more verbose output as in issue13477_v5.diff.
* Added helps for arguments.
* Fixed and enhanced tests,

I'm going to commit this patch at short time.

Known bugs:

* Help for --extract shows --extract tarfile [output_dir ...] instead of 
--extract tarfile [output_dir]. --extract accepts only 1 to 2 arguments.
* --list fails with a tarfile containing unencodable file names. In particular 
it fails with test tarfiles in the test suite.
* Possible problems with unusual locales and file system encodings.
* Corrupted tarfiles produces tracebacks.
* Tests for --create should check that created tarfile contains correct files.
* Tests for --create should check that correct files are extracted.
* Needed tests for non-ASCII file names.

Besides all this I think the patch can be committed.

--
stage: patch review - commit review
Added file: http://bugs.python.org/file32795/tarfile_cli.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset dfd33140a2b5 by Christian Heimes in branch 'default':
Issue #19292: Add SSLContext.load_default_certs() to load default root CA
http://hg.python.org/cpython/rev/dfd33140a2b5

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Phil Connell

Phil Connell added the comment:

Full run of the test suite was clean, so the fix is ready to go.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Yes, actually, 4f730c045f5f is the culprit.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19291] Add docs for asyncio package (Tulip, PEP 3156)

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I've done a bit of it now, I'll let other people continue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19291
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-23 Thread Michael Foord

Michael Foord added the comment:

I'm going to commit this so we get it in before the feature freeze. It sounds 
like the remaining issue is minor and we can resolve it in the betas.

Note that if we attempt discovery from a namespace package and fail we should 
create a ModuleImportError test case to report the problem and *not* bomb out 
of test collection.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2013-11-23 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

From msg202006:

With Cocoa Tk 8.5.15 or Cocoa Tk 8.6.1 on OS X 10.8.5, test_widgets.ButtonTest 
crashes Tk:

test_image (tkinter.test.test_tkinter.test_widgets.ButtonTest) ... 2013-11-03 
01:52:53.498 pytest_10.8[82465:f07] *** Assertion failure in -[NSBitmapImageRep 
initWithCGImage:], 
/SourceCache/AppKit/AppKit-1187.40/AppKit.subproj/NSBitmapImageRep.m:1242
2013-11-03 01:52:53.499 pytest_10.8[82465:f07] An uncaught exception was raised
2013-11-03 01:52:53.499 pytest_10.8[82465:f07] Invalid parameter not 
satisfying: cgImage != NULL
2013-11-03 01:52:53.502 pytest_10.8[82465:f07] (
0   CoreFoundation  0x965eae8b __raiseError + 219
1   libobjc.A.dylib 0x956d152e objc_exception_throw 
+ 230
2   CoreFoundation  0x9654a698 +[NSException 
raise:format:arguments:] + 136
3   Foundation  0x966a5364 -[NSAssertionHandler 
handleFailureInMethod:object:file:lineNumber:description:] + 116
4   AppKit  0x98a34525 -[NSBitmapImageRep 
initWithCGImage:] + 145
5   Tk  0x00725a48 
CreateNSImageWithPixmap + 151
6   Tk  0x00725b1c 
TkMacOSXGetNSImageWithTkImage + 149
7   Tk  0x0071eb2f 
TkpComputeButtonGeometry + 2550
8   Tk  0x0069849d TkButtonWorldChanged 
+ 470
9   Tk  0x00698e99 ConfigureButton + 
1981
10  Tk  0x0069980f ButtonWidgetObjCmd + 
440
11  Tcl 0x00579c2f TclEvalObjvInternal 
+ 770
12  Tcl 0x0057ac1a Tcl_EvalObjv + 72
13  _tkinter.so 0x0055db81 Tkapp_Call + 673
[...]

--
assignee: ronaldoussoren
components: Macintosh, Tkinter
messages: 203999
nosy: ned.deily, ronaldoussoren, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Setting image parameter of a button crashes with Cocoa Tk
type: crash
versions: Python 2.7, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19733
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8f556ee0f6ba by Antoine Pitrou in branch 'default':
Fix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by 
95eea8624d05 (issue #16596).
http://hg.python.org/cpython/rev/8f556ee0f6ba

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16596] Skip stack unwinding when next, until and return pdb commands executed in generator context

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I committed a simpler fix.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16596
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18408] Fixes crashes found by pyfailmalloc

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8f556ee0f6ba by Antoine Pitrou in branch 'default':
Fix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by 
95eea8624d05 (issue #16596).
http://hg.python.org/cpython/rev/8f556ee0f6ba

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18408
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Note that issue #19727 would possibly allow for an easy fix.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19085] Add tkinter basic options tests

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 test_widgets.ButtonTest is still causing a Cocoa Tk 8.5/8.6 crash which also
 crashes Python while running the test suite.  The test should be fixed or
 disabled.

Opened issue19733 for this.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-23 Thread Michael Foord

Michael Foord added the comment:

Need doc updates

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d2e5b74e2d18 by Michael Foord in branch 'default':
Issue 17457: extend test discovery to support namespace packages
http://hg.python.org/cpython/rev/d2e5b74e2d18

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Here is a patch.

--
keywords: +patch
Added file: http://bugs.python.org/file32796/utime_win.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9d0a76349eda by Serhiy Storchaka in branch '3.3':
Issue #19733: Temporary disable test_image on MacOSX.
http://hg.python.org/cpython/rev/9d0a76349eda

New changeset 71e091ed2588 by Serhiy Storchaka in branch 'default':
Issue #19733: Temporary disable test_image on MacOSX.
http://hg.python.org/cpython/rev/71e091ed2588

New changeset 3912934e99ba by Serhiy Storchaka in branch '2.7':
Issue #19733: Temporary disable test_image on MacOSX.
http://hg.python.org/cpython/rev/3912934e99ba

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19733
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Redoing (indentation issue).

--
Added file: http://bugs.python.org/file32797/utime_win.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19668] Add support of the cp1125 encoding

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

So what is a decision?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19668
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


Removed file: http://bugs.python.org/file32796/utime_win.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19728] PEP 453: enable pip by default in the binary installers

2013-11-23 Thread Donald Stufft

Donald Stufft added the comment:

Well the PEP does state that the option will be checked by default, but I'm not 
arguing that we shouldn't implement uninstall if Windows users expect it, I was 
just trying to figure out if we needed to update the PEP.

So unilaterally removing on uninstall sounds easy enough since you said you can 
use wildcards and such. The other option is to implement the uninstallation 
inside of ensurepip and just execute ``python -m pip uninstall setuptools pip`` 
in that case we can check version numbers and only uninstall if the version 
number is equal to the bundled one.

Unfortunately I'm not sure I'm going to have time to get an uninstall command 
implemented before the 24th.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18036] How do I create a .pyc file? FAQ entry is out of date

2013-11-23 Thread Phil Connell

Phil Connell added the comment:

I've had a stab at creating a patch for this.

As well as mentioning __pycache__, I've tweaked some wording to reflect the 
fact that .pyc files are regenerated if the source file's length changes (as 
per issue13645).

--
Added file: http://bugs.python.org/file32798/issue18036.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18036
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19734] test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot

2013-11-23 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3178/steps/test/logs/stdio

Re-running failed tests in verbose mode
Re-running test 'test_venv' in verbose mode
test_defaults (test.test_venv.BasicTest) ... ok
test_executable (test.test_venv.BasicTest) ... ok
test_executable_symlinks (test.test_venv.BasicTest) ... ok
test_isolation (test.test_venv.BasicTest) ... ok
test_overwrite_existing (test.test_venv.BasicTest) ... ok
test_prefixes (test.test_venv.BasicTest) ... ok
test_symlinking (test.test_venv.BasicTest) ... ok
test_unoverwritable_fails (test.test_venv.BasicTest) ... ok
test_upgrade (test.test_venv.BasicTest) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest) ... ok
test_with_pip (test.test_venv.EnsurePipTest) ... test test_venv failed
ERROR

==
ERROR: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File /opt/python/3.x.langa-ubuntu/build/Lib/test/test_venv.py, line 288, in 
test_with_pip
self.run_with_capture(venv.create, self.env_dir, with_pip=True)
  File /opt/python/3.x.langa-ubuntu/build/Lib/test/test_venv.py, line 48, in 
run_with_capture
func(*args, **kwargs)
  File /opt/python/3.x.langa-ubuntu/build/Lib/venv/__init__.py, line 359, in 
create
builder.create(env_dir)
  File /opt/python/3.x.langa-ubuntu/build/Lib/venv/__init__.py, line 86, in 
create
self._setup_pip(context)
  File /opt/python/3.x.langa-ubuntu/build/Lib/venv/__init__.py, line 242, in 
_setup_pip
subprocess.check_output(cmd)
  File /opt/python/3.x.langa-ubuntu/build/Lib/subprocess.py, line 618, in 
check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['/tmp/tmp4_ukigy9/bin/python', '-Im', 
'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 3

--
components: Tests
keywords: buildbot
messages: 204013
nosy: haypo, loewis, nick
priority: normal
severity: normal
status: open
title: test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19734
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19716] test that touch doesn't change file contents

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 11a200202d7a by Antoine Pitrou in branch 'default':
Issue #19716: add a test that Path.touch() doesn't change a file's contents.
http://hg.python.org/cpython/rev/11a200202d7a

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19716
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19716] test that touch doesn't change file contents

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Thank you! I've committed after a tiny simplification.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19716
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13344] closed sockets don't raise EBADF anymore

2013-11-23 Thread Phil Connell

Changes by Phil Connell pconn...@gmail.com:


--
nosy: +pconnell

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13344
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19734] test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot

2013-11-23 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19734
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17201] Use allowZip64=True by default

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 271cc3660445 by Serhiy Storchaka in branch 'default':
Issue #17201: ZIP64 extensions now are enabled by default.
http://hg.python.org/cpython/rev/271cc3660445

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17201
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19730] Clinic fixes: add converters with length, version directive

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Argument Clinic is an internal tool, so I don't think it's bound by the feature 
freeze.
(and, besides, you are the RM :-))

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19730
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19734] test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

A different error on Solaris:

http://buildbot.python.org/all/builders/AMD64%20Solaris%2011%20%5BSB%5D%203.x/builds/2202/steps/test/logs/stdio

Re-running test 'test_venv' in verbose mode
test_defaults (test.test_venv.BasicTest) ... ok
test_executable (test.test_venv.BasicTest) ... ok
test_executable_symlinks (test.test_venv.BasicTest) ... ok
test_isolation (test.test_venv.BasicTest) ... ok
test_overwrite_existing (test.test_venv.BasicTest) ... ok
test_prefixes (test.test_venv.BasicTest) ... ok
test_symlinking (test.test_venv.BasicTest) ... ok
test_unoverwritable_fails (test.test_venv.BasicTest) ... ok
test_upgrade (test.test_venv.BasicTest) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest) ... ok
test_with_pip (test.test_venv.EnsurePipTest) ... 
/home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/ctypes/util.py:179:
 ResourceWarning: unclosed file _io.TextIOWrapper name=5 encoding='646'
  for line in os.popen(cmd).readlines():
test test_venv failed
FAIL

==
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File 
/home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_venv.py,
 line 294, in test_with_pip
self.assertEqual(err, b)
AssertionError: b/home/cpython/buildslave/cc-32/3.x.snake[163 chars]):\n != 
b''

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19734
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17201] Use allowZip64=True by default

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you William for your contribution.

--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17201
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

Oh, the test is failing with the same error on Solaris:

==
FAIL: test_y_before_1900 (test.test_strftime.Y1900Tests)
--
Traceback (most recent call last):
  File 
/home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_strftime.py,
 line 191, in test_y_before_1900
self.assertEqual(time.strftime(%y, t), 99)
AssertionError: '0/' != '99'
- 0/
+ 99

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b7fd5d8e9968 by Victor Stinner in branch 'default':
Issue #19634: time.strftime(%y) now raises a ValueError on Solaris when given
http://hg.python.org/cpython/rev/b7fd5d8e9968

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-23 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
resolution: fixed - 
status: closed - open
title: test_strftime.test_y_before_1900_nonwin() fails on AIX - 
test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

I leave the issue open until I see the test passing on Solaris.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

utime_win.patch looks good to me.

--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19734] test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

Error similar to Solaris on OpenIndiana:

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6946/steps/test/logs/stdio

==
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_venv.py,
 line 294, in test_with_pip
self.assertEqual(err, b)
AssertionError: b'/tmp/tmpnv3o61s9/bin/python: No module named pip\n' != b''

--

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19734
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19291] Add docs for asyncio package (Tulip, PEP 3156)

2013-11-23 Thread Phil Connell

Changes by Phil Connell pconn...@gmail.com:


--
nosy: +pconnell

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19291
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19723] Argument Clinic should add markers for humans

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

On 23 Nov 2013 08:05, Larry Hastings rep...@bugs.python.org wrote:


 Larry Hastings added the comment:

  However, to bikeshed a little, I would prefer
  preprocessor instead of clinic, since jokes
  tend to wear off if one sees then too often.

 Argument Clinic is the name of the tool.  The marker /*[clinic]*/
 was chosen deliberately:

 * If someone says what the hell is this a quick online search
   should turn up the answer quickly.

 * It differentiates it from /*[python]*/, which allows one to embed
   raw Python code inside files.  (print is redirected to the output
   section.)

It also differentiates it clearly from the C preprocessor. If Guido can
name the language after a comedy troupe, Larry can certainly name the
custom code generator after one of their sketches :)

FWIW, I tend to start editing the generated code as well, so I agree this
is something for us to keep an eye on. If the habit doesn't go away, we may
want some more prominent markers.

Cheers,
Nick.


 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue19723
 ___

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19723
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19674] Add introspection information for builtins

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

+1 from me (I see this as the key benefit of argument clinic).

For 3.5, we can look at ducktyping on the attribute, but for now I think
it's worth keeping that text format internal to CPython.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19674
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6a9e262c5423 by Antoine Pitrou in branch 'default':
Issue #19727: os.utime(..., None) is now potentially more precise under Windows.
http://hg.python.org/cpython/rev/6a9e262c5423

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19727
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19722] Expose stack effect calculator to Python

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

Yeah, I argued myself into realising EXTENDED_ARG just needed to be
mentioned in the function docs, but didn't go back and fix my opening
paragraph.

The fact dis uses an arg of None (rather than zero) to indicate no
argument means I think the extra layer of wrapping in the pure Python
module is needed prior to 3.4 rc1, but we can live without it for beta 1.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19722
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b5e9d61f6987 by Antoine Pitrou in branch 'default':
Issue #19715: try the utime(..., None) approach again, now that it should be 
more precise under Windows
http://hg.python.org/cpython/rev/b5e9d61f6987

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19697] refactor pythonrun.c to make use of specs (__main__.__spec__)

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

Yes, PEP 451 addresses a few of the PEP 395 issues. Between this and PEP
420, I actually plan to withdraw that PEP as out of date.

All my pre-beta commits are done, so ask away :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19697
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19689] ssl.create_default_context()

2013-11-23 Thread Christian Heimes

Christian Heimes added the comment:

The patch implements HIGH:!aNULL:!RC4:!DSS

HIGH already covers !MD5:!EXPORT:!NULL:!SSLv2 and more

--
Added file: http://bugs.python.org/file32799/ssl_create_default_context3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19728] PEP 453: enable pip by default in the binary installers

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

This one isn't a feature freeze issue - what MvL has done already is fine
for now, and we can still add internal helper APIs during the beta.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-23 Thread Vajrasky Kok

Vajrasky Kok added the comment:

R. David Murray, your patch fails with this situation:

from email.mime.nonmultipart import *
from email.charset import *
from email.message import Message
from io import BytesIO
from email.generator import BytesGenerator
msg = Message()
cs = Charset('utf-8')
cs.body_encoding = None
msg.set_payload('АБВ', cs)
msg.as_string()
fp = BytesIO()
g = BytesGenerator(fp)
g.flatten(msg)
print(fp.getvalue())

=== b'MIME-Version: 1.0\nContent-Type: text/plain; 
charset=utf-8\nContent-Transfer-Encoding: base64\n\n0JDQkdCS\n'

Apparently, there is a funky bug. If you never call msg.as_string(), the 
fp.get_value() will output correctly:

b'MIME-Version: 1.0\nContent-Type: text/plain; 
charset=utf-8\nContent-Transfer-Encoding: 8bit\n\n\xd0\x90\xd0\x91\xd0\x92'

It turns out that msg.as_string() calls set_payload with different kind of 
charset!

Attached the patch to solve this problem. Not sure whether this is important or 
not to fix in 3.3. How many people call bytes generator after calling string 
generator?

--
Added file: http://bugs.python.org/file32800/support_8bit_charset_cte_v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19728] PEP 453: enable pip by default in the binary installers

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

As far as updating the PEP goes, it's a rare PEP indeed that is implemented
exactly according to spec - the integration process almost always uncovers
details that don't quite work out the way we thought they would.

For minor issues, we usually handle such changes without updating the PEP -
the issue tracker and the reference docs become the authoritative source.

Larger issues get discussed again on python-dev, and may lead to PEP
updates or even an additional PEP. That's pretty rare, though, as it
requires the original PEP discussion to miss something big.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18728] Increased test coverage for filecmp.py

2013-11-23 Thread Eduardo Seabra

Eduardo Seabra added the comment:

I've also increased the test coverage of filecmp.py. Don't know if I should 
merge my patch with Alex.Volkov's patch. I'm uploading it as a separate patch.

--
nosy: +Eduardo.Seabra
Added file: http://bugs.python.org/file32801/test_filecmp.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19730] Clinic fixes: add converters with length, version directive

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

+1 to what Antoine said - keeping the initial iteration internal only
actually buys us some time :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19730
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19676] Add the namereplace error handler

2013-11-23 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +ethan.furman, lemburg, ncoghlan, stevenjd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19676
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-23 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Simpler patch.

--
Added file: http://bugs.python.org/file32802/support_8bit_charset_cte_v3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19734] test_venv.test_with_pip() fails on AMD64 Ubuntu LTS 3.x buildbot

2013-11-23 Thread Nick Coghlan

Nick Coghlan added the comment:

Interesting, looks like the warnings from issue 19694 *weren't* the cause
of the bad return code - something else is failing. I should have some time
to investigate tomorrow afternoon, but it will consist of trying to improve
the diagnostic output from the tests. If we can get the buildbot owners
involved, that could help a lot (1 am here, I'm about to go to sleep).
On 24 Nov 2013 00:06, STINNER Victor rep...@bugs.python.org wrote:


 STINNER Victor added the comment:

 Error similar to Solaris on OpenIndiana:


 http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6946/steps/test/logs/stdio

 ==
 FAIL: test_with_pip (test.test_venv.EnsurePipTest)
 --
 Traceback (most recent call last):
   File
 /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_venv.py,
 line 294, in test_with_pip
 self.assertEqual(err, b)
 AssertionError: b'/tmp/tmpnv3o61s9/bin/python: No module named pip\n' !=
 b''

 --

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue19734
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19734
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19689] ssl.create_default_context()

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 63df21e74c65 by Christian Heimes in branch 'default':
Issue #19689: Add ssl.create_default_context() factory function. It creates
http://hg.python.org/cpython/rev/63df21e74c65

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19728] PEP 453: enable pip by default in the binary installers

2013-11-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

I agree with Nick; this is really a minor issue and we can resolve it here in 
the tracker. I missed the place in the PEP where it said that the option should 
be checked, since it mentions changes to the installers twice, and in 
implementation strategy, it doesn't mention a default.

I'd prefer if uninstall was symmetric to install, i.e. if I need to run a 
command on install (rather than deploying files directly), then I also should 
run a reverse command on uninstall.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19728
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19689] ssl.create_default_context()

2013-11-23 Thread Christian Heimes

Changes by Christian Heimes li...@cheimes.de:


--
assignee:  - christian.heimes
resolution:  - fixed
stage: patch review - committed/rejected
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13633] Automatically convert character references in HTMLParser

2013-11-23 Thread Ezio Melotti

Ezio Melotti added the comment:

New patch attached.

--
stage: patch review - commit review
Added file: http://bugs.python.org/file32803/issue13633-2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13633
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19735] ssl._create_stdlib_context

2013-11-23 Thread Christian Heimes

New submission from Christian Heimes:

The second part of #19689. This patch implements _create_stdlib_context() that 
wrap lots of common code in one function that is private to Python's stdlib.

--
components: Library (Lib)
files: ssl_create_stdlib_context.patch
keywords: patch
messages: 204042
nosy: christian.heimes, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: ssl._create_stdlib_context
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32804/ssl_create_stdlib_context.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19735
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19736] posixmodule.c: Add flags for statvfs.f_flag to constant list

2013-11-23 Thread Matthias Klose

New submission from Matthias Klose:

the posix module has the statvfs call, but doesn't define any constants used as 
parameters. add them.

--
components: Extension Modules
files: statvfs-f_flag-constants.diff
keywords: patch
messages: 204043
nosy: doko
priority: normal
severity: normal
status: open
title: posixmodule.c: Add flags for statvfs.f_flag to constant list
versions: Python 3.4
Added file: http://bugs.python.org/file32805/statvfs-f_flag-constants.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19736
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19736] posixmodule.c: Add flags for statvfs.f_flag to constant list

2013-11-23 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
stage:  - patch review
type:  - enhancement

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19736
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19713] Deprecate various things in importlib thanks to PEP 451

2013-11-23 Thread Brett Cannon

Brett Cannon added the comment:

I do not think we should keep the old APIs around forever, so either we don't 
care about the obscure use cases or figure out a way to support them.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19713
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-23 Thread R. David Murray

R. David Murray added the comment:

Yes, I discovered this in testing, but I forgot to file a bug report for it.  
It should be dealt with in a separate issue.  And yes, it should be fixed, 
since except for the documented on-demand filling out of missing pieces such as 
MIME borders, the model should not be changed by serializing it.

There are also some other issues that I discovered while running the more 
complete 3.4 tests, but I haven't had time to fix those yet.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

This broke OpenIndiana: 



==
ERROR: test_y_before_1900 (test.test_strftime.Y1900Tests)
--
Traceback (most recent call last):
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_strftime.py,
 line 191, in test_y_before_1900
self.assertEqual(time.strftime(%y, t), 99)
ValueError: format %y requires year = 1900 on AIX

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19668] Add support of the cp1125 encoding

2013-11-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

+1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19668
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19694] test_venv failing on one of the Ubuntu buildbots

2013-11-23 Thread Larry Hastings

Larry Hastings added the comment:

Are you sure the problem is fixed?  I still see the same error on the same 
buildbot.

http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3168/steps/test/logs/stdio

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13592] repr(regex) doesn't include actual regex

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is fixed and simplified patch.

--
Added file: 
http://bugs.python.org/file32806/issue13592_add_repr_to_regex_v3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13592
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9f2a0043396b by Antoine Pitrou in branch 'default':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/9f2a0043396b

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 752db82b7933 by Antoine Pitrou in branch '3.3':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/752db82b7933

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19737] Documentation of globals() and locals() should be improved

2013-11-23 Thread Zahari Dim

New submission from Zahari Dim:

The globals() notification states:

Return a dictionary representing the current global symbol table.[...]

This doc and the fact that globals() is called as a function made me think that 
globals() returns a copy of the global namespace dict, rather than an object 
that could be used to actually modify the namespace. I don't find obvious the 
meaning of representing in this context.

This of course led to a very nasty and sneaky bug in my code.

The docs of locals() don't seem clear to me either, thought at least it seems 
to imply that it is actually modifying the namespace.

--
assignee: docs@python
components: Documentation
messages: 204052
nosy: Zahari.Dim, docs@python
priority: normal
severity: normal
status: open
title: Documentation of globals() and locals() should be improved

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19737
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e73683514b4d by Victor Stinner in branch 'default':
Isue #19634: test_y_before_1900() is expected to fail on Solaris
http://hg.python.org/cpython/rev/e73683514b4d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19634
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19579] test_asyncio: test__run_once timings should be relaxed

2013-11-23 Thread STINNER Victor

STINNER Victor added the comment:

Oh, the problem is now in the opposite direction... Windows clocks don't look 
to be reliable or the buildbot is very busy :-/

http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7586/steps/test/logs/stdio

==
FAIL: test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests)
--
Traceback (most recent call last):
  File 
D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_asyncio\test_base_events.py,
 line 184, in test__run_once
self.assertTrue(9.9  t  10.1, t)
AssertionError: False is not true : 9.7190050664

--
resolution: fixed - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19579
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19737] Documentation of globals() and locals() should be improved

2013-11-23 Thread R. David Murray

R. David Murray added the comment:

We've tried improving the locals docs several times.  Modifying it is not 
safe, in the sense that what happens when you do is not defined by the 
language.  Which locals docs were you looking at?

I agree that 'representing' is not as clear as would be optimal in the globals 
description.  Again, which bit of the docs are you looking at?

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19737
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19668] Add support of the cp1125 encoding

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d0fd68ef1aa9 by Serhiy Storchaka in branch 'default':
Issue #19668: Added support for the cp1125 encoding.
http://hg.python.org/cpython/rev/d0fd68ef1aa9

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19668
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ef4636faf8bd by Antoine Pitrou in branch '2.7':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/ef4636faf8bd

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19579] test_asyncio: test__run_once timings should be relaxed

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 085091cb6e4c by Guido van Rossum in branch 'default':
Relax timing even more, hopefully again fixes issue 19579.
http://hg.python.org/cpython/rev/085091cb6e4c

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19579
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19668] Add support of the cp1125 encoding

2013-11-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks all.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19668
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Tim Peters

Tim Peters added the comment:

Antoine, FYI, with the current code test_pathlib passed 500 times in a row on 
my box.  Success :-)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 Antoine, FYI, with the current code test_pathlib passed 500 times in a 
 row on my box.  Success :-)

This has been a tedious one :-)
I'm gonna open a separate issue for the precision loss in pytime.c, then.

--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-11-23 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I've committed updated patches to all 3 branches (+ some later fixups). Gonna 
wait for the buildbots' outcome.

--
resolution:  - fixed
stage: patch review - committed/rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Antoine Pitrou

New submission from Antoine Pitrou:

Under Windows, GetSystemTimeAsFileTime has a 100 ns resolution, but 
pygettimeofday stores it in a timeval which only has microsecond resolution. As 
a consequence, some precision is lost under Windows (which shows e.g. in 
time.time() results).

--
components: Interpreter Core
messages: 204063
nosy: haypo, loewis, pitrou, tim.peters
priority: normal
severity: normal
status: open
title: pytime.c loses precision under Windows
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19738
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19668] Add support of the cp1125 encoding

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 355d8950f574 by Serhiy Storchaka in branch 'default':
Fixed incorrectly applying a patch for issue19668.
http://hg.python.org/cpython/rev/355d8950f574

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19668
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13633] Automatically convert character references in HTMLParser

2013-11-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1575f2dd08c4 by Ezio Melotti in branch 'default':
#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, 
automatically converts all character references.
http://hg.python.org/cpython/rev/1575f2dd08c4

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13633
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   >