[issue23403] Use pickle protocol 4 by default?

2018-07-24 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-07-24 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Opened issue34204 for shelve.

--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-16 Thread Łukasz Langa

Change by Łukasz Langa :


--
pull_requests: +6189

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

> Shelve still uses protocol 3 by default. Should it be bumped too?

That sounds reasonable.  Perhaps open a separate issue for it?

--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-08 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Shelve still uses protocol 3 by default. Should it be bumped too?

--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-07 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Is there something left to be done here?

--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset c51d8c9ba6211d77db639487501f89aa9b4bcbb1 by Łukasz Langa in 
branch 'master':
bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 (#6355)
https://github.com/python/cpython/commit/c51d8c9ba6211d77db639487501f89aa9b4bcbb1


--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
dependencies: +Repeated Pickler.dump() doesn't reset the state in the C 
implementation of pickle
superseder: parameterize what serialization is used in multiprocessing -> 

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Should we bump the pickle protocol for shelve?

--

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Łukasz Langa

Change by Łukasz Langa :


--
keywords: +patch
pull_requests: +6064
stage:  -> patch review

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Łukasz Langa

Change by Łukasz Langa :


--
keywords: +patch, patch
pull_requests: +6064, 6065
stage:  -> patch review

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Łukasz Langa

Łukasz Langa  added the comment:

Now that Python 3.3 is dead and 3.4 is soon to follow, it's safe to bump 
DEFAULT_PROTOCOL to 4.

--
assignee:  -> lukasz.langa
resolution: duplicate -> 
status: closed -> open

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Łukasz Langa

Change by Łukasz Langa :


--
versions: +Python 3.8 -Python 3.5

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2018-04-02 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2016-09-09 Thread Davin Potts

Changes by Davin Potts :


--
superseder:  -> parameterize what serialization is used in multiprocessing

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2016-09-09 Thread Davin Potts

Davin Potts added the comment:

Closing in deference to the enhancement described in issue28053.

--
nosy: +davin
resolution:  -> duplicate
status: open -> closed

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2015-09-29 Thread STINNER Victor

STINNER Victor added the comment:

Can't we "negociate" the protocol automatically?

--
nosy: +haypo

___
Python tracker 

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 Multiprocessing uses default protocol

AFAIK, this is so you can interact with processes using another version of 
Python.

--
nosy: +sbt

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Josh Rosenberg

Josh Rosenberg added the comment:

multiprocessing spawns the other processes itself from the same executable used 
to launch the main process. It's not subprocess. How would a different version 
of Python get involved?

--
nosy: +josh.r

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Multiprocessing uses default protocol and there is no simple (without hacking 
the stdlib) way to pass the right protocol manually.

--

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Because pickles will not be compatible with Python  3.4 anymore. People who 
want maximum efficiency without compatibility can pass the right protocol 
manually.

--

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Why not use pickle protocol 4 by default? It allows to pickle some objects 
which are not pickleable with lower protocols and is more efficient.

--
components: Library (Lib)
messages: 235498
nosy: alexandre.vassalotti, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Use pickle protocol 4 by default?
type: enhancement
versions: Python 3.5

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

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



[issue23403] Use pickle protocol 4 by default?

2015-02-06 Thread Antoine Pitrou

Antoine Pitrou added the comment:

It is possible to have independent processes communicate together, although 
that's not the most widely-used feature. See:
https://docs.python.org/3/library/multiprocessing.html#multiprocessing-listeners-clients
Also:
https://docs.python.org/3/library/multiprocessing.html#managers

--

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